
Mcp Skill Server
io.github.jcc-ne由 GitHub 账号 jcc-ne 发布v0.1.2更新于 Oct 24, 2026
An MCP server that mounts your skill directory and add deterministic entry for deployment
概览
挂载本地技能目录,让助手通过固定的入口命令列出、查看并运行你的 Python 技能。
- 可以做什么
- 列出与查看技能:枚举挂载目录中的技能,并显示每个技能的命令和参数,参数从 --help 输出中解析得到。
- 运行技能:按 SKILL.md 中声明的入口命令,带参数执行技能。
- 刷新技能:编辑或新增技能后重新加载列表,无需重启即可生效。
- 脚手架与校验:命令行工具可创建新技能目录,并检查 frontmatter、入口命令、脚本文件和帮助输出是否满足部署要求。
- 适用场景
- 适合在 Claude Code、Cursor 或 Claude Desktop 中本地开发智能体技能,边写边在真实工作中使用,随后以固定入口把同一技能部署到生产环境。也适合希望按需发现技能、而不是一次性加载全部技能的场景。
- 运行要求
- 作为本地进程运行,从 PyPI 安装并用 uvx 或 uv 启动,需传入技能目录路径。技能为使用 argparse 的 Python 脚本,并带有包含 name、description 和 entry 字段的 SKILL.md。仅限桌面编辑器;未声明账号或 API 密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 Mcp Skill Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Most coding assistants now support skills natively, so an MCP server just for skill discovery isn't necessary. Where this package adds value is making skills' execution deterministic and deployable — with a fixed entry point and controlled execution, skills developed in your editor can run in non-sandboxed production environments. It also supports incremental loading, so agents discover skills on demand instead of loading everything upfront.
MCP Skill Server
[CI] [PyPI] [Python] [License]
Build agent skills where you work. Write a Python script, add a SKILL.md, and your agent can use it immediately. Iterate in real-time as part of your daily workflow. When it's ready, deploy the same skill to production — no rewrite needed.
Why?
Most skill development looks like this: write code → deploy → test in a staging agent → realize it's wrong → redeploy → repeat. It's slow, and you never get to actually use the skill while building it.
MCP Skill Server flips this. It runs on your machine, inside your editor — Claude Code, Cursor, or Claude Desktop. You develop a skill and use it in your real work at the same time. That tight feedback loop (edit → save → use) means you discover what's missing naturally, not through artificial test scenarios. The premise is if the skill doesn't work well with Claude Code, it's unlikely to work with a less sophisticated agent.
How skills mature to survive in the outside world
Claude skills can already have companion scripts, but there's no formalized entry point — the agent decides how to invoke them. That works for local use, but it's not deployable: a production MCP server can't reliably call a skill if the execution path isn't fixed.
MCP Skill Server enforces a declared entry field in your SKILL.md frontmatter (e.g. entry: uv run python my_script.py). This gives you a single, fixed entry point that the server controls. Commands and parameters are discovered from the script's --help output — that's the source of truth, not the LLM's interpretation of your code.
Sharpen locally, then harden for production
Every agent that connects to the MCP server gets the same interface — list_skills, get_skill, run_skill — so the skill's description, parameter names, and help text are identical regardless of which agent calls them. That said, different agents have different strengths — a skill that works locally still needs testing with your production agent.
- Use it yourself — build the skill, use it daily via Claude Code or Cursor. Fix descriptions and param names when the agent misuses the skill.
- Test with a weaker model — try a smaller model to surface interface ambiguity.
- Add a deterministic entry point — declare
entryin SKILL.md for reliable, secure execution. Useskill initto scaffold it,skill validateto check readiness. - Test with your production agent — verify end-to-end in your target environment, then deploy.
Install
Claude Desktop (one-click)
After installing, edit the skills path in your Claude Desktop config to point to your skills directory.
Claude Code
Cursor
Add to .cursor/mcp.json in your project (or Settings → MCP → Add Server):
Manual install
Then add to your editor's MCP config:
Creating a Skill
Option A: Use skill init (recommended)
Option B: Manual setup
1. Create a folder with your script
2. Add SKILL.md with frontmatter
3. Write your script with argparse
That's it. The server auto-discovers commands and parameters from your --help output — no config needed.
Validating for Deployment
When a skill is ready to graduate to production:
Checks:
- Required frontmatter fields (name, description, entry)
- Entry command uses allowed runtime
- Script file exists
- Commands discoverable via
--help
How It Works
MCP Tools
The server exposes four tools to your agent:
Schema Discovery
The server automatically discovers your skill's interface by parsing --help output:
Output Files
Files saved to output/ are automatically detected. Alternatively, print OUTPUT_FILE:/path/to/file to stdout.
Plugins
Output Handlers
Process files generated by skills (upload, copy, transform, etc.):
Response Formatters
Customize how execution results are formatted in MCP tool responses:
Development
Further Reading
- Tool Design for LLMs — Why skills use a list/get/run pattern instead of exposing raw tools, and how it affects LLM accuracy
License
MIT
来源:README.md,提交 b9b34f8
工具
0版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分