gateway
Find and call the right MCP server for any task - pay per use, no install.
我該用這個嗎
品質與安全性
發現項目(2)
- LOW在 find_mcp_server 中
- LOW在 find_mcp_server 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"gateway": {
"url": "https://mcp.toolhail.com/mcp"
}
}
}遠端端點
https://mcp.toolhail.com/mcpstreamable-http它能做什麼
工具清單
工具(2)
🟢find_mcp_server(query, maxResults, requireRemote)
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Plain-language description of the capability you need, e.g. 'query a Postgres database'."
},
"maxResults": {
"description": "How many ranked matches to return (default 5).",
"type": "integer",
"minimum": 1,
"maximum": 25
},
"requireRemote": {
"description": "Only return servers with a hosted remote endpoint (usable immediately).",
"type": "boolean"
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡call_tool(url, toolName, args, maxSpendUsd, allowWrite)
Proxy one tool call to a discovered remote MCP server (paid). Every call passes pre-execution guards before anything runs: tools on TOOLHAIL_BLOCKED_TOOLS are always refused; when TOOLHAIL_ALLOWED_TOOLS is set (non-empty, no "*") only listed tools may fire; write/mutating-looking tool names are refused unless allowWrite:true is passed or the tool is allowlisted; and TOOLHAIL_ARG_LIMITS can cap specific argument values per tool (e.g. daily_budget<=500) so an allowlisted broad tool still cannot push a value past its ceiling. Any refusal executes nothing and bills nothing, and every receipt records the gate decision.
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Remote MCP server URL (the \"remotes[].url\" from a find_mcp_server result)."
},
"toolName": {
"type": "string",
"description": "Name of the tool to call on that server."
},
"args": {
"description": "Arguments object to pass to the tool.",
"type": "object",
"properties": {},
"additionalProperties": {}
},
"maxSpendUsd": {
"description": "Spend cap. Refuse the call — nothing executed, nothing billed — if the gateway fee would exceed this many USD.",
"type": "number",
"minimum": 0
},
"allowWrite": {
"description": "Explicit acknowledgement that a write/mutating call is intended. Tool names that look like writes (create/update/delete/send/pay/deploy/...) are refused by default — nothing executed, nothing billed — unless this is true or the tool is on TOOLHAIL_ALLOWED_TOOLS. Set it only when the mutation is deliberate and vetted; never set it reflexively to get past a refusal.",
"type": "boolean"
}
},
"required": [
"url",
"toolName"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據