
Kitsune Mcp
io.github.kaiser-data由 GitHub 账号 kaiser-data 发布v0.23.0更新于 Nov 8, 2026
Hot-reload for MCP servers + mount any community server mid-session, Docker optional. No restarts.
概览
让助手在会话中启动、挂载、调用并热重载 MCP 服务器(含多个注册表中的社区服务器),无需重启客户端。
- 可以做什么
- 启动、重载和停止正在开发的本地 MCP 服务器,会话保持不变
- 挂载某个服务器的全部或部分工具,用完后再卸载
- 直接调用已挂载的工具,或一步完成搜索、挂载与调用
- 在七个注册表中搜索社区服务器,可选 Docker 隔离与版本锁定
- 在会话中设置环境凭据或执行 OAuth 浏览器授权流程
- 在扩展工具配置下检查 schema、评估质量、测试延迟并查看状态
- 适用场景
- 适合在开发或调试 MCP 服务器时建立“改代码—重载—再测试”的循环而不重启客户端,也适合临时借用配置中没有的服务器试用一次而非长期安装。若只使用少数可信服务器,或需要亚秒级首次调用,则不太必要。
- 运行要求
- 以 stdio 在本地运行。需要 Python 3.12+ 和 uv;npm 类服务器还需 node/npx。Docker 可选,仅用于隔离社区服务器。可选的 SMITHERY_API_KEY 用于在注册表搜索中启用 Smithery,其他注册表无需密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 Kitsune Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
🦊 Kitsune MCP
Let your agent test the MCP server it's building.
Edit a tool, reload("dev"), call it again. No client restart.
⭐ Saved you a restart? Star it on GitHub so others find it.
AI agents installing this server (Cline, Claude Code, Cursor, …): follow llms-install.md. No clone or build needed. Add the
uvx kitsune-mcpentry to your MCP settings.
[GitHub stars] [PyPI] [npm] [PyPI downloads] [PyPI monthly] [npm monthly] [MCP Registry] [Python] [CI] [Coverage] [OpenSSF Scorecard] [License: MIT] [Glama] [Listed in Awesome MCP Servers]
[Claude Code connects a weather MCP server through Kitsune, gets 59°C for Berlin, fixes the Fahrenheit conversion, calls reload("dev") and gets 15°C in the same session]
One prompt: Claude finds the bug, fixes it, reloads, checks again. Real recording, 31 s.
Why
Your agent edits an MCP tool, but the client still runs the old process. Someone has to restart it before the agent can test the fix.
With Kitsune, connect, call and reload are tools. The agent runs the whole loop itself:
No Docker needed: connect() runs your own server as a plain local process, so the loop stays fast.
It also mounts any of 130,000+ servers from 7 registries mid-session. If Docker is installed, community packages run caged.
Try it: hot-reload tutorial · examples/demo-hot-reload/
Install
Claude Code
Any other client (Claude Desktop, Cursor, Windsurf, Cline, Zed, …):
Also on PyPI (pip install kitsune-mcp, then "command": "kitsune-mcp") and npm (npx kitsune-mcp, delegates to uvx).
Requirements: Python 3.12+ · uv · node/npx for npm-based servers · Docker optional: not used for hot-reload, only to cage community servers when installed.
Three things it does
Borrow a server you never configured
Try a community package, caged
Add credentials mid-session
Full live walkthrough: docs/demo-realtime.md.
When to use it, when not to
How it works
shapeshift(server_id) picks a transport (stdio, HTTP+SSE, WebSocket, Docker), connects, reads tools/list, and registers each tool as a native tool with the server's real schema. The client receives notifications/tools/list_changed and sees first-class tools, with no wrapper in between. shapeshift() with no argument removes them and closes the connection.
search() covers the official servers repo, the MCP Registry, Glama, npm, PyPI, GitHub (github:owner/repo) and Smithery (hosted servers, free API key).
Tools
Default profile: 9 tools. Standing cost: ~1,774 tokens/turn on clients that load every tool schema up front (measured with python examples/benchmark.py); ~70 tokens/turn on Claude Code with Tool Search, where schemas load only on first use (measured on Claude Code 2.1.319, 2026-11-06).
KITSUNE_TOOLS=all (or the kitsune-forge command) adds developer tools: inspect (schemas, credential check, token cost), test (quality score 0–100), bench (p50/p95 latency), compare, prewarm, craft, setup, and more. See docs/tools.md. Companion skills for Claude Code: kitsune-dev, kitsune-improve.
Safety, in short
- Community sources need consent. npm, PyPI and GitHub servers require
confirm=True. The model can set that flag itself, so real approval belongs in your client's tool-approval UI. connect()runs the command it is given, as your user, with no consent gate and no cage. It is meant for your own code. Approveconnectcalls in your client before the agent runs them.- Community packages run in a Docker cage by default when Docker is installed: no host filesystem,
--cap-drop ALL, read-only root, memory and PID limits. Credentials are passed by name, never in argv. - Version pins (TOFU). A later malicious publish doesn't silently replace a version you already ran.
- Opt-in action guard. A
~/.kitsune/policy.jsonchecks every downstream call against allow/ask/deny rules, path roots and a host allowlist.askgoes to you through MCP elicitation. - Install commands are validated and launched without a shell.
fetch()blocks private hosts and re-checks every redirect.
Don't run it unattended with production admin, billing or security credentials. The full model, including what it does not protect against: docs/safety.md.
More
- Configuration: env and
.envlookup, tool profiles, sandbox and trust settings, Smithery, GATEWAY, mount patterns - Performance: cold/warm latency and token cost compared with always-on servers
- Transports · Compatibility · Agent patterns · Worked scenarios
Why "Kitsune"?
In Japanese folklore the kitsune (狐) is known for what it can become: it borrows a form, uses that power, casts it off and returns to itself. That is the product loop.
I am not Japanese, and I use this name with the highest respect for the mythology and culture it comes from. The parallel felt too precise to ignore.
Contributing
Issues and PRs welcome: github.com/kaiser-data/kitsune-mcp · CHANGELOG.md
MIT License · Python 3.12+ · Built on FastMCP
来源:README.md,提交 8d6d23e
工具
0版本历史
9- v0.22.8Nov 7, 2026
- v0.22.7Oct 31, 2026
- v0.22.6Oct 31, 2026
- v0.22.5Oct 30, 2026
- v0.22.4Oct 19, 2026
- v0.22.3Oct 18, 2026
- v0.22.2Oct 12, 2026
- v0.22.1Oct 1, 2026
- v0.21.1Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分