ToolRouter

io.github.Humanleap由 GitHub 帳號 Humanleap 發布v0.3.2更新於 Oct 24, 2026

The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.

發布方自己的服務:370.ai — AI Gateway: 100+ Chat Models, Image & Speech Generation

已驗證Streamable HTTP可網頁執行效率與工作流知識與記憶AI 與機器學習

概覽

AI 產生的概覽

ToolRouter 是託管閘道,透過單一 MCP 連線讓 AI 助理使用 250 多個按次計費的專用工具,並提供帳戶、計費、金鑰與知識庫管理。

可以做什麼
以自然語言描述需求,探索並路由到託管專用工具,執行呼叫並輪詢或取消非同步工作。管理帳戶:計費情境、偏好設定、點數餘額與用量、訂閱、發票與儲值。建立、列出與撤銷 API 金鑰,儲存、列出、刪除自帶供應商憑證或設定預設值。連接或移除 OAuth 帳戶與 MCP 伺服器,並列出角色、場景、產品與服裝。儲存並檢索個人或團隊知識庫,提交評價、錯誤回報或新工具請求。
適用情境
當助理需要大量第三方能力(網頁搜尋、擷取、影像與影片生成、SEO、金融等)而不想為每項單獨安裝伺服器時適用,前提是能接受按次計費並使用共用帳戶。
執行需求
遠端 streamable HTTP 端點,或使用 npm 套件 toolrouter-mcp 作為本機 stdio 橋接,後者需要 Node.js 22+。開始時不需 API 金鑰:會自動開通免費帳戶並在本機快取金鑰,也可透過環境變數 TOOLROUTER_API_KEY 提供現有金鑰。需要能連線至託管閘道的網路。
安裝前請注意
付費工具會消耗點數;top_up_credits 回傳 Stripe 結帳連結,subscription_manage 回傳計費入口連結,涉及付款。key_create 只回傳一次金鑰,credential_save 儲存的供應商 API 金鑰會跨工作階段保留。file_delete 與 credential_delete 無法復原,且 credential_delete 未指定標籤時會刪除該名稱下的所有項目。連接器與帳戶變更會寫入託管帳戶,所有處理都在 ToolRouter 的伺服器上進行。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ToolRouter,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.Humanleap%2Ftoolrouter/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "toolrouter": {
      "type": "http",
      "url": "https://api.toolrouter.com/mcp"
    }
  }
}

README

ToolRouter — the OpenRouter for tools

The OpenRouter for tools. One MCP connection gives any AI agent 250+ hosted tools, pay per call.

ToolRouter is the OpenRouter for tools. Connect once over MCP and your agent can discover and call 250+ hosted specialist tools: web search, scraping, image and video generation, SEO, finance, property, compliance and more. Free tools work immediately; paid tools are pay per call. Everything runs on the hosted gateway; nothing executes locally.

The compact routing surface costs an agent about 9,000 tokens of context for the whole catalog, versus roughly 257,000 tokens if every skill were loaded as its own tool (measured 2026-09-03; method and raw data at https://toolrouter.com/blog/mcp-tool-schema-token-cost).

Connect in one line

Hosted endpoint: https://api.toolrouter.com/mcp (streamable HTTP). No API key needed — the server provisions a free account on first connect and returns a claim link.

Claude Code

bash
claude mcp add --transport http toolrouter https://api.toolrouter.com/mcp

Claude (chat, Desktop, mobile)

Customize → Connectors → Add custom connector, name it ToolRouter, URL https://api.toolrouter.com/mcp/anthropic.

Cursor

Add to .cursor/mcp.json:

json
{  "mcpServers": {    "toolrouter": {      "url": "https://api.toolrouter.com/mcp"    }  }}

VS Code

Add to .vscode/mcp.json:

json
{  "servers": {    "toolrouter": {      "type": "http",      "url": "https://api.toolrouter.com/mcp"    }  }}

Gemini CLI

Add to ~/.gemini/settings.json:

json
{  "mcpServers": {    "toolrouter": {      "httpUrl": "https://api.toolrouter.com/mcp"    }  }}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

json
{  "mcpServers": {    "toolrouter": {      "serverUrl": "https://api.toolrouter.com/mcp"    }  }}

Any other MCP client that speaks streamable HTTP can use the same URL.

Local bridge (npm)

toolrouter-mcp is a stdio bridge to the same hosted gateway, plus a CLI. Use it where a client cannot take a remote URL.

Three ways to use it

1. MCP Server (for AI agents)

Run with no arguments to start an MCP stdio server. No API key needed — auto-provisions on first use:

bash
npx -y toolrouter-mcp

2. CLI (for terminal workflows)

bash
npx -y toolrouter-mcp tools                    # list all toolsnpx -y toolrouter-mcp search "web scraping"    # search by keywordnpx -y toolrouter-mcp call seo analyze_page --url https://example.comnpx -y toolrouter-mcp help

3. REST API (direct HTTP)

bash
# Get an API key (or use one from ~/.toolrouter/key after MCP setup)curl -X POST https://api.toolrouter.com/v1/auth/provision
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \  -d '{"tool":"seo","skill":"analyze_page","input":{"url":"https://example.com"}}' \  https://api.toolrouter.com/v1/tools/call

Install the local bridge

Codex CLI

bash
codex mcp add toolrouter -- npx -y toolrouter-mcp

Cursor

Add to .cursor/mcp.json:

json
{  "mcpServers": {    "toolrouter": {      "command": "npx",      "args": ["-y", "toolrouter-mcp"]    }  }}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

json
{  "mcpServers": {    "toolrouter": {      "command": "npx",      "args": ["-y", "toolrouter-mcp"]    }  }}

OpenClaw

Add to openclaw.json:

json
{  "mcpServers": {    "toolrouter": {      "command": "npx",      "args": ["-y", "toolrouter-mcp"]    }  }}

Cline

Open MCP settings and add:

json
{  "mcpServers": {    "toolrouter": {      "command": "npx",      "args": ["-y", "toolrouter-mcp"]    }  }}

VS Code

Add to .vscode/mcp.json:

json
{  "servers": {    "toolrouter": {      "type": "stdio",      "command": "npx",      "args": ["-y", "toolrouter-mcp"]    }  }}

Gemini CLI

Add to your Gemini CLI settings:

json
{  "mcpServers": {    "toolrouter": {      "command": "npx",      "args": ["-y", "toolrouter-mcp"]    }  }}

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "toolrouter": {      "command": "npx",      "args": ["-y", "toolrouter-mcp"]    }  }}

API Key

No setup needed — toolrouter-mcp auto-provisions a free API key on first use and caches it to ~/.toolrouter/key. Free tools work immediately. For paid tools, visit the claim URL printed on first run to add credits.

To use an existing key instead: set TOOLROUTER_API_KEY=tr_live_xxx as an environment variable.

How It Works

This package serves two purposes from one binary:

  • MCP mode (no args): Starts an MCP stdio server that proxies tools/list and tools/call to the ToolRouter API via Streamable HTTP.
  • CLI mode (tools/search/call/help): Thin HTTP client that sends requests to the ToolRouter API and prints results. No local tool execution.

Both modes go through https://api.toolrouter.com — all processing happens on ToolRouter's infrastructure.

MCP Meta-Tools

When connected via MCP, your agent gets meta-tools for tool discovery, execution, async jobs, and full account management:

Discovery & execution:

ToolDescription
discoverFind tools by keyword, category, or * for all
use_toolExecute a tool skill
job_getPoll an async job's status and result
job_listList recent async jobs
job_cancelCancel a running async job

Credits & billing:

ToolDescription
credits_balanceGet available credit balance
credits_usageUsage breakdown and recent call history
top_up_creditsAdd credits
subscription_manageView or change your subscription
invoice_listList invoices

API keys:

ToolDescription
key_createCreate a new API key
key_listList API keys
key_deletePermanently disable an API key

Credentials (BYOK):

ToolDescription
credential_saveSave your own provider API key
credential_listList saved credentials
credential_deleteRemove a saved credential
credential_defaultSet the default credential for a provider

Connectors & account:

ToolDescription
connector_addConnect a SaaS account via OAuth
connector_listList connected accounts
account_preferencesView and update account settings
feedback_reviewRate a tool

Environment Variables

VariableRequiredDefaultDescription
TOOLROUTER_API_KEYYes (for tool calls)—Your API key
TOOLROUTER_API_URLNohttps://api.toolrouter.comCustom API endpoint

CLI Reference

CommandAuth RequiredDescription
toolsNoList all available tools
search <query>NoSearch tools by keyword
call <tool> <skill> [opts]YesCall a tool skill
helpNoShow usage help

Input methods for call

bash
# Flag-based (most common)npx -y toolrouter-mcp call humanleap/seo analyze_page --url https://example.com
# JSON stringnpx -y toolrouter-mcp call humanleap/web-search search --input '{"query":"MCP tools"}'

Requirements

  • Node.js 22+

Links

Privacy Policy

https://toolrouter.com/privacy

Support

[email protected]

來源:README.md,提交 ebe4b96

工具

48

account_setup

Set Up Account

Initialize or re-check your account, provision it when needed, and return your user ID and plan. CALL THIS FIRST when the user asks to set up ToolRouter, connect their account, check their account status, or get started.

無需輸入參數。

account_list

List Accounts & Teams

List all billing contexts (personal + teams) or get detail on one. No slug → summary list. With slug → full detail including team members, role, subscription status, and pointers to the team's connectors, credentials, keys, and files.

輸入參數slug

account_switch

Switch Account

Set the active billing context. Accepts a slug (e.g. "personal", "team:nd7fx…") or team ID.

輸入參數context必填

account_preferences

Account Preferences

Read or write billing preferences (auto-reload, budget cap, default context). Pass action: "get" to read, action: "set" with fields to write.

輸入參數action必填budget_limitauto_reload_amountauto_reload_enabledauto_reload_thresholddefault_billing_context

credits_balance

Credits Balance

Current balance, plan tier, rate limits, and any negative-balance warnings for the active context.

無需輸入參數。

credits_usage

Credits Usage

Usage summary or history. Pass scope: "me" | "team" and detail: "tool" | "skill". Sorted by cost with _others rollup.

輸入參數limitscopedetailoffsetperiod

subscription_manage

Manage Subscription

Get a Stripe management URL (portal, upgrade, or cancel). Also covers billing portal — returns the URL for the user to open.

輸入參數tieraction必填

invoice_list

List Invoices

List invoices for the active billing context.

輸入參數limit

key_list

List API Keys

List API keys (summary) or get detail on one key. Pass key_id for detail view.

輸入參數key_id

key_create

Create API Key

Create a new API key. Returns the secret once — save it immediately.

輸入參數name必填

key_delete

Delete API Key

Revoke an API key. Refuses to revoke the currently-authenticating key.

輸入參數key_id必填

credential_list

List Credentials

List saved credentials (summary) or detail on one. Pass name for detail view. Pass show_available: true to include the full credential catalog.

輸入參數namecontextshow_available

credential_save

Save Credential

Save a credential (BYOK provider API key). Saved keys persist across sessions and are used automatically.

輸入參數name必填labelvalue必填contextis_default

credential_delete

Delete Credential

Remove a saved credential. If label is provided, removes only that specific entry. If no label, removes ALL entries for that credential name.

輸入參數name必填labelcontext

credential_default

Set Default Credential

Set the default value for a multi-value credential.

輸入參數name必填label必填context

credential_guide

Credential Setup Guide

Get setup instructions for a specific credential.

輸入參數name必填

file_list

List Files

List or search files. Optional query triggers semantic search. Supports section, tags, plan_status, limit, cursor filters.

輸入參數tagslimitquerycursorcontextsectionplan_statusprompt_type

file_read

Read File

Read a file's full content. Text files return content inline. Binary files (images, video) return a download URL.

輸入參數file_id必填

file_write

Write File

Create or update a file. Pass mode: "create" | "update". Binary uploads: call with binary: true to get an upload_url, then PUT bytes, then call with mode: "finalize".

輸入參數mode必填nametagscontentcontextfile_idsectionasset_idfilenamefile_dataimage_urlimage_data另有 4 個

file_delete

Delete File

Delete a file. Cannot be undone. For team files: requires owner/admin role.

輸入參數file_id必填

persona_list

List Personas

List your personas.

輸入參數context

scene_list

List Scenes

List your scenes.

輸入參數context

product_list

List Products

List your products.

輸入參數context

outfit_list

List Outfits

List your outfits.

輸入參數context

connector_list

List Connectors

List connected accounts and MCP servers (summary) or detail on one connector. Pass slug for detail including every tool the connector exposes. Optional type: "oauth" | "mcp" filter. Pass include_available: true to also see available catalog MCPs you can connect.

輸入參數slugtypecontextinclude_available

connector_add

Add Connector

Connect a new OAuth account or MCP server. For OAuth: pass type: "oauth", kind: "slack". For MCP catalog: pass catalog_slug. For custom MCP: pass url + auth_type.

輸入參數urlkindslugtypebillingauth_typeauth_tokenheader_namecatalog_slugdisplay_name

connector_remove

Remove Connector

Disconnect a connector. Pass slug.

輸入參數slug必填typebilling

brain_admin

Brain Admin

Brain admin operations. Pass action: "lint" | "link" | "promote" | "rebuild_index" | "team_sleep". team_sleep enables/disables/runs the nightly team consolidation cycle — pass sub_action "enable" (with optional timezone), "disable", "status", or "run_now". Team admin role required for team_sleep actions.

輸入參數labelaction必填page_idteam_idtimezonesub_actionto_page_idrelationship

job_list

List Jobs

List your active and recent jobs. Optional status filter.

輸入參數limitstatus

job_get

Get Job

Get job status and result. Returns status: running | completed | failed and result when terminal. Keep polling until you get a terminal status.

輸入參數job_id必填

job_cancel

Cancel Job

Cancel a running job.

輸入參數job_id必填

feedback_review

Submit Review

Submit a review or star rating.

輸入參數tool必填rating必填review

feedback_debug

Report a Bug

Report a ToolRouter platform bug that blocks you from completing the user's task. Use this when you suspect the issue is on our side — a tool crashed, returned malformed data, timed out unexpectedly, or behaved inconsistently. Include the relevant ToolRouter errors, call IDs, non-sensitive input shape, retries, and expected behavior. Do not include chat history, unrelated conversation text, uploaded file contents, personal data, API keys, or secrets. Reports are stored and reviewed within hours. Skip this for expected errors like invalid input, missing credentials, insufficient balance, rate limits, or genuine "not found" results — those aren't bugs. Limit: 5 reports per hour.

輸入參數toolskilljob_idcall_idsseverity必填agent_contextinput_summaryerror_messages必填interaction_logexpected_behavior

feedback_request_tool

Request a Tool

Ask ToolRouter to build a tool that does not exist yet. Use this when discover returned nothing useful for what the user needs. Describe the capability in plain terms — do not include personal data, API keys, or secrets. Requests go straight to the team. Limit: 5 per hour.

輸入參數whywhat必填searchedagent_context

top_up_credits

Top Up Credits

Add credits to your account. Returns a Stripe checkout URL — share it with the user to complete payment. Minimum $1.

輸入參數amount_usd必填

discover

Discover Tools

Find the right ToolRouter tool for your task. Describe what you need in plain language. Examples: "analyze a website", "research competitors", "find prospect companies", "check DNS records". Exact tool name (e.g. "seo") returns full schemas and examples. Flow: prefer route({ intent }) to pick and run a tool. Use discover when you need schemas or a listing, then call use_tool(tool, skill, input). Every discover response also includes a top-level `connectors` array listing SaaS accounts the user has already connected (LinkedIn, Google, Notion, etc.). Use that to pick the right tool and account without asking — e.g. if `connectors` shows LinkedIn, the linkedin-post tool is ready to use. Categories: data, media, search, marketing, development, communication, analytics, productivity, ai, finance, security, infrastructure

輸入參數query必填category

route

Route Intent

Send a natural-language intent and optionally any dimensions you already know (tool, skill, model, input fields). Fills only the blanks via Jev, then either executes the call or returns a ready-to-run use_tool payload. Explicit values are never overridden. Returns candidates when confidence is low or no tool fits. Flow: route → if confident and complete, result is returned; otherwise use the pre-filled call with use_tool.

輸入參數toolinputmodelskillintent必填max_cost

use_tool

Use Tool

Call a ToolRouter catalogue tool. Prefer `route` with a natural-language intent when you do not already know the tool and skill — it picks them, fills arguments, and runs the call. Use discover when you need schemas or a catalogue listing, then pass the exact tool name and skill here. IMPORTANT: "discover", "route", "credits_balance", and other built-in tools are NOT catalogue tools — call them directly, never through use_tool. Long-running tools return a job_id — poll with job_get. If a skill needs an image_url or file URL and you have a local file or base64 image, use file_write first to get a hosted URL, then pass that URL to the skill. BRAIN: Some tools require you to consult brain_query first. If use_tool returns an error about brain_context, call brain_query with a relevant query, then pass the result text as brain_context in your use_tool input.

輸入參數tool必填input必填skill必填backendbillingbrain_contextresponse_format

brain_query

Search brain

Search your knowledge brain for relevant information. Returns pages ranked by relevance. Optional wing/hall narrow the search to a slice of the brain (e.g. wing="engineering", hall="preference").

輸入參數hallwingas_oflimitqueryscopeinclude_drawer_previews

brain_add

Add to brain

Create a new brain page. Knowledge you add here will be available to all future tool calls. Optional wing/room/hall organise the page in the MemPalace hierarchy for sharper retrieval.

輸入參數hallroomtagswingscopetitle必填content必填load_tier

brain_update

Update brain page

Edit an existing brain page's content or metadata. wing/room/hall can be patched to re-file a page. scope can be changed to move a page between your personal and team brain — useful when an auto-ingested page landed in the wrong place. Moving a page to team scope requires team admin role.

輸入參數hallroomtagswingscopetitlecontentpage_id必填load_tiermaterial_change

brain_delete

Delete brain page

Archive a brain page. It will no longer appear in searches or tool consultations.

輸入參數page_id必填

brain_status

Brain status

View brain page counts and recent pages for your personal and team brain.

無需輸入參數。

brain_lint

Brain lint

Run maintenance checks on your brain: find stale pages, orphaned knowledge, and other issues.

無需輸入參數。

brain_settings

Brain settings

View and toggle your brain settings. Currently supports: drawers_enabled (store raw tool output alongside summaries for richer recall).

輸入參數valueaction必填setting

brain_expand

Expand brain page (reveal raw source)

Retrieve the verbatim source text (a "drawer") linked from a brain page. Use this when a summary lacks specifics you need — drawers contain the original tool output, redacted for credentials. Returns 404 if the page has no linked drawer (not all pages do — drawers are a Step 4 feature for allowlisted tools only).

輸入參數page_id必填

brain_wings

List brain wings

List the wings of your brain — the top-level areas your knowledge is organised under (e.g. "engineering", "family"). For each wing returns the rooms and halls inside, page count, and last-updated time. Use this to discover the right wing/hall to pass to brain_query.

輸入參數include_team

connector_permissions

Connector Permissions

View or set permissions for tools on a connected MCP server — which tools are allowed, rate limits, budget caps, argument restrictions. Pass the connector slug (from connector_list) and action: "list" to see current rules, or action: "set" with tool_name + rules to update one. Team scope requires admin role.

輸入參數slug必填actionallowedbillingtool_namecost_per_callbudget_per_daynl_filter_modearg_schema_rulesrate_limit_per_dayrate_limit_per_hourteam_budget_per_day另有 3 個

版本歷史

1
  1. v0.3.2最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Router 整合