
OneTool MCP
io.github.beycom由 GitHub 账号 beycom 发布v2.2.2更新于 Oct 24, 2026
One MCP for devs incl Brave,Google,Tavily,Context7,AWS,Excalidraw,DB,GitHub,DevTools,Playwright
概览
一个本地 MCP 服务器,把 250 多个开发工具以 Python API 形式提供,并可代理其他 MCP 服务器。
- 可以做什么
- OneTool 将 28 个工具包整合在一起,助手以 Python 代码方式调用,而不是逐个读取工具定义,涵盖网页搜索、库文档、文件操作、SQL 数据库、文档转换、图表、图像识别、持久记忆和 RAG 知识库。它还能代理已有的 MCP 服务器,以命名空间方式调用,并可在运行中启用、禁用或重启这些服务器。过大的输出可存为句柄,密钥使用 age 加密,私钥保存在操作系统钥匙串中。
- 适用场景
- 当助手需要同时使用大量开发工具、而每个服务器重复发送工具定义造成 token 开销时值得考虑;也适合希望把搜索、文件、数据库、图表和记忆集中在一个 MCP 入口的场景。若已运行多个 MCP 服务器,想保留它们又不想承担每次请求的工具开销,也可使用。
- 运行要求
- 以 stdio 方式在用户机器上本地运行,仅支持桌面端,无网页版。可通过引导脚本安装,或用 uv 安装(uv tool install 'onetool-mcp[all]'),再执行 onetool init 初始化。清单中未声明认证、环境变量或请求头,但搜索类工具包和被代理的服务器需要各自在 onetool.yaml 中配置 API 密钥或令牌。
安装
在 SourceWeft 中
- 打开 控制台中的 OneTool MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
🧿 One MCP for developers - no tool tax, no context rot.
250+ tools your agent calls as Python code: search, docs, files, databases, diagrams, vision, memory - plus a proxy for every MCP server you already use.
[PyPI] [License] [Python] [GitHub stars]
Works with Claude Code, Cursor, Codex - any MCP client
The Problem
Every MCP server re-sends its tool definitions on every request: 3K-30K tokens each. Connect 5 servers and you've burned 55K tokens before the conversation starts. Connect 10+ and you're at 100K.
The math is brutal: Claude Opus 4.5 at $5/M input tokens, 20 days × 10 conversations × 10 messages × 3K tokens = $30/month per MCP server - even if you never use the tools.
And then there's context rot - your AI literally gets dumber as you add more tools (Chroma Research, 2025).
The Solution
OneTool is one MCP server that exposes tools as a Python API. Instead of reading tool definitions, your agent writes code:
Configure one MCP server. Use unlimited tools - ~2K tokens no matter how many you add.
"Agents scale better by writing code to call tools instead. This reduces the token usage from 150,000 tokens to 2,000 tokens...a cost saving of 98.7%"
97% fewer tokens. 30× lower cost. No context rot. (Measured - 47,660 → 1,131 input tokens against 18 MCP servers.)
Code Is the Interface
Because tools are Python functions, your agent does things tool-call JSON can't: batch, chain, loop, compose.
Three packs, one request. Intermediate results flow between tools as variables - the page body never touches your context window, and the summarising runs on a cheap model instead of your expensive coding agent.
Every call is explicit and reviewable - __onetool brave.search(query="...") shows you exactly what runs. No tool-selection guessing.
And the runtime is built for how agents actually type:
mem.search(q="auth")works - any unambiguous parameter prefix resolves (q=→query=)wb.draw(...)works - packs have short aliases (wb,ctx,img)github.listRepositories()works on proxied servers - snake/camel/Pascal all resolve- A typo'd tool gets a did-you-mean, a disconnected server names the command that fixes it
- Oversized results come back as a searchable handle instead of flooding the window
Install
Bootstrap (installs uv if missing, installs OneTool, initialises config, prints MCP config):
Or install manually with uv:
Then print ready-to-paste MCP client config with resolved absolute paths and add it
to your client (claude-code, claude-desktop, cursor, or vscode):
That's it. All 250+ tools work out of the box.
Verify: onetool init validate --config ~/.onetool/onetool.yaml
Install the ot-ref skill into your agent with vercel-labs/skills - it teaches the call conventions and ships a greppable index of every tool signature:
What's Inside
Tools
28 packs, 253 tools ready to use (console in beta):
📖 Complete tools reference — every signature, generated from source
MCP Server Proxy
Keep the MCP servers you already use. Wrap them in YAML and call them explicitly - as Python namespaces, without their tool tax:
Proxied servers can be enabled, disabled, and restarted mid-conversation with ot_servers - no client restart.
Secrets You Can Commit
onetool init walks you through encrypted secrets: values in secrets.yaml are age-encrypted, the private key lives in your OS keychain, and decryption happens transparently at load.
Use from the CLI
Works as an MCP server and as a direct CLI bridge into the same running process - loaded config, secrets, and proxy connections stay warm. Useful for agent harnesses, scripts, and automation:
Extending
Drop a Python file, get a pack. No registration, no config:
Documentation
- Quickstart - 30 seconds to first tool call
- Installation - All platforms
- Configuration - YAML schema
- Tools Reference - All 253 tools
- Security - The layered security model
- Extending - Build your own
- Dev Docs - Internal developer documentation
- Specifications - OpenSpec specifications index
References
- Code Execution with MCP - Anthropic Engineering
- Context Rot - Chroma Research
Telemetry
OneTool sends anonymous startup pings (event type, version, OS). No personal data. Opt out: export DO_NOT_TRACK=1 or set telemetry.enabled: false in onetool.yaml. Details
Issues
Check for existing issues first:
- Browse the tracker: github.com/beycom/onetool-mcp/issues
- Search with GitHub syntax:
is:issue repo:beycom/onetool-mcp <keyword>
Raise a new issue: github.com/beycom/onetool-mcp/issues/new
Support
If you find OneTool useful:
License
GPLv3
来源:README.md,提交 0445d6a
工具
0版本历史
1- v2.2.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分