codex-skills-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@codex-skills-mcpfind a skill to translate video subtitles"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
codex-skills-mcp
🧠 Codex-Skills 技能库的 MCP (Model Context Protocol) Server — 让任意 AI 编程工具都能检索、阅读和使用 180+ 专业技能。
这是什么
一个独立的 MCP Server,为 codex-skills 技能库提供标准化的 AI 工具接入协议。
无需先下载全部技能文件:启动只拉取轻量清单(约 108KB),技能全文按需加载;
180+ 技能、14 个分类:技能库由专家在远端持续维护,用户端零操作;
内置国内网络加速:自动回退链,国内网络免翻墙可用。
特性 | 说明 |
6 个 MCP Tools | search_skills, read_skill, load_skill_file, list_skill_files, list_categories, plan_workflow |
三层渐进加载 | 检索(~500 tokens) → 阅读(~5K tokens) → 深入(按需) |
中文搜索优化 | CJK bigram 分词 + Leading Words 权重 |
零外部 AI 依赖 | 纯关键词搜索,不需要 embedding 模型 |
双传输模式 | stdio(本地)+ HTTP(远程) |
自动网络加速 | GitHub 直连 → jsDelivr → gh-proxy.com → ghfast.top 四级回退 |
增量缓存 | 技能文件按大小比对断点续传,重复使用不重复下载 |
Related MCP server: skilldb-mcp
快速开始
1. 远程模式(默认,零配置,推荐)
npx -y codex-skills-mcp@latest无需安装、无需指定任何路径。启动后自动完成:
从远端技能库拉取清单
skills_manifest.json(约 108KB,仅首次);建立本地搜索索引(毫秒级);
技能文件按需下载,缓存在当前目录
.codex-skills-cache/。
2. 本地模式(可选)
适用于离线开发或使用本地技能库副本:
cd codex-skills-mcp
npm install
npm run build
node dist/index.js --skills-dir /path/to/codex-skills3. HTTP 模式(远程客户端)
# 远程模式:无需 --skills-dir,自动拉取远端技能库
node dist/index.js --http --port 3456
# 本地模式:加 --skills-dir 指定本地技能库
node dist/index.js --skills-dir /path/to/codex-skills --http --port 3456启动后:
MCP 端点:
http://localhost:3456/mcp(POST / GET / DELETE,支持mcp-session-id会话管理)健康检查:
http://localhost:3456/health
curl http://localhost:3456/health
# 预期输出
{"status":"ok","name":"codex-skills-mcp","version":"1.0.6","skills":181}客户端配置
Codex 桌面端(stdio)
编辑 ~/.codex/config.toml:
[mcp_servers.codex-skills]
command = "npx"
args = ["-y", "codex-skills-mcp@latest"]若使用本地技能库副本,可改为:
[mcp_servers.codex-skills]
command = "node"
args = ["/path/to/codex-skills-mcp/dist/index.js", "--skills-dir", "/path/to/codex-skills"]Claude Desktop
编辑 ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"codex-skills": {
"command": "npx",
"args": ["-y", "codex-skills-mcp@latest"]
}
}
}Cursor
编辑项目根目录 .cursor/mcp.json:
{
"mcpServers": {
"codex-skills": {
"command": "npx",
"args": ["-y", "codex-skills-mcp@latest"]
}
}
}Windsurf / VS Code + Copilot
在 MCP 配置中添加同样的 command + args(stdio 模式)。
远程 HTTP 客户端
如果你的客户端需要以远程 HTTP 地址接入 MCP(例如 ChatGPT 桌面端集成场景):
node dist/index.js --http --port 3456
ngrok http 3456将 https://xxxx-xxxx.ngrok-free.app/mcp 填入客户端的 MCP Server URL。
💡 ngrok 免费版每次重启会更换地址;需要固定地址可使用付费版或其他隧道工具(如 Cloudflare Tunnel)。
工作原理
flowchart LR
A["启动 MCP"] --> B["拉取清单 manifest + 建本地索引"]
B --> C["search_skills 秒出结果"]
C --> D["read_skill 按需拉取技能全文"]
D --> E["load_skill_file 按需读脚本/配置"]
E --> F["Agent 在本机执行"]阶段 | 行为 | 耗时 |
启动 | 拉取/加载清单 + 建索引 | 秒级 |
搜索 | 本地索引关键词打分 | 毫秒级 |
取技能 | 2 次 GitHub API 列出文件 → 并发下载缺失文件 | 首次数秒,之后走缓存 |
网络加速回退链
所有远端文件请求按顺序自动回退,无需任何参数:
GitHub 官方直连(3 秒超时);
jsDelivr CDN(10 秒超时,国内有节点);
gh-proxy.com(10 秒超时);
ghfast.top(10 秒超时)。
前一个节点失败时自动降级到下一个;全部失败才会报错。
缓存与增量同步
清单与技能文件缓存在当前目录
.codex-skills-cache/,二次启动秒级完成;每个技能带
.codex-skills.tree.json标记(文件列表 + 完成状态);已完整下载的技能直接本地读取,不重复请求远端;
中断的下载支持断点续传:按文件大小比对,只补拉缺失/不完整的文件;
技能文件并发下载,默认 16(可用
--download-concurrency调整);需要强制同步远端最新内容时,删除
.codex-skills-cache/后重启即可。
MCP Tools
🔍 search_skills
搜索技能库,Agent 的主入口。
input: { query: "前端性能优化", category?: "01_代码工程与架构", limit?: 8 }
output: 按相关度排序的技能列表(名称、分类、分数、描述)📋 list_categories
列出所有技能分类和数量。
input: {}
output: 14 个分类 + 各自的技能数量📖 read_skill
读取技能的完整指令(SKILL.md)+ 文件结构 + 环境依赖 + 子技能。
input: { name: "MediaCrawler" }
output: { instructions, structure, dependencies, sub_skills }📂 load_skill_file
按需读取技能内的任意文件。
input: { skill_name: "KrillinAI", file_path: "README.md" }
output: { content, size_bytes }单文件上限 500KB;二进制文件返回占位说明而非内容;路径穿越会自动拦截。
🗂️ list_skill_files
浏览技能的文件树(不读内容)。
input: { skill_name: "remotion-skills", path?: "src", max_depth?: 2 }
output: 目录树🔗 plan_workflow
给定任务描述,推荐可组合使用的技能。
input: { task_description: "把技术博客做成小红书图文" }
output: 推荐技能列表 + 分类分组使用流程
用户: "帮我把这个视频翻译成中文字幕"
Agent → search_skills("视频字幕翻译")
→ 命中: KrillinAI, videocut-skills, VideoClaw
Agent → read_skill("KrillinAI")
→ 获取 SKILL.md 指令,了解怎么用
Agent → load_skill_file("KrillinAI", "README.md")
→ 获取详细配置参数
Agent → 按 SKILL.md 指令执行任务配置参考
参数 | 默认值 | 说明 |
| - | 本地技能库目录(指定后进入本地模式) |
| - | 强制本地模式(从 cwd 或 |
|
| 远端技能库仓库 |
|
| 远端分支 |
|
| 技能库在仓库内的目录 |
| 自动从 git 凭据 / | GitHub API 鉴权 |
| - | 启动 HTTP 模式 |
|
| HTTP 端口 |
|
| 技能文件并发下载数 |
| - | ⚠️ 已废弃(兼容保留):网络加速现为自动回退链,此参数不再生效 |
环境变量:CODEX_SKILLS_DIR(本地技能库路径)、GITHUB_TOKEN、CODEX_SKILLS_DOWNLOAD_CONCURRENCY。
技能库清单(skills_manifest.json)为 JSON 数组,每项包含 name / description / category / folder / relative_path 五个字段。
常见问题
问题 | 处理 |
npx 首次运行较慢 | 首次需下载 npm 包 + 拉取清单,属正常;之后走缓存 |
日志出现 | 当前加速节点失败,自动降级到下一个,可忽略 |
想强制更新技能内容 | 删除 |
| 单文件上限 500KB,属保护设计 |
GitHub API 限流 | 每个技能仅 2 次 API 调用,已缓存技能不再请求;未登录配额 60 次/小时 |
工具列表里看不到 MCP | 客户端未重启,重启会话即可 |
技术栈
TypeScript + ESM
@modelcontextprotocol/sdkv1.12+expressv5(仅 HTTP 模式)zodv3 运行时 schema 验证Node.js 18+
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA high-performance MCP server that provides BM25-ranked search and structured access to over 1,300 AI skills, enabling context-efficient discovery and usage of AI capabilities while minimizing token consumption.Last updated28ISC
- Alicense-qualityAmaintenanceMCP server for SkillDB that enables AI assistants to search, load, and manage AI agent skills directly.Last updated59MIT
- Flicense-qualityDmaintenanceMCP server that provides access to over 100 development skills for frontend, backend, integration, design, devops, and process categories via Claude Code and other MCP clients.Last updated
- Alicense-qualityAmaintenanceMCP server that unifies and synchronizes AI coding skills across multiple tools, exposing skill discovery and retrieval via list_skills and read_skill.Last updated22312MIT
Related MCP Connectors
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
MCP server for AI agent profiles and smart notes. 60+ coding prompt packs with expert personas.
A registry of 5,900+ peer-authored skills any MCP agent can search and load on demand.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zhan-ZhangZ/codex-skills-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server