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#"
}社区
证据