mcpfold logomcpfold
Open source · local-first

Connect every MCP server without paying the context-window tax.

Every server you connect dumps its full tool schema into context — used or not. Curating the toolset cuts tool-schema tokens by ~80% (7,4761,497).

InstallTry the cloud

npx mcpfold init

mcpfold in the terminal: init, import, sync, and diff show one config folding out to every client

Feel the tax — and the savings

Pick your servers and how many tools each agent actually needs. Example servers from the published benchmark — no endorsement implied.

Servers

Tools
459
Tool-schema tokens
7,4761,497
Context cut
80%

One source of truth

Write your servers once. Fold out to Claude, Cursor, VS Code, Windsurf, Zed — each in its own format.

Secrets as references

Configs carry ${env:…} / ${op:…} references, never values. Nothing sensitive is written to disk.

Drift-gated in CI

Commit the config to your repo and fail CI when a checkout drifts — standardize your team, no backend.