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 集成