一键导入
skill-with-mcp-json-conflict
A test skill with BOTH frontmatter mcp-servers AND a companion mcp.json (tests mcp.json precedence)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
A test skill with BOTH frontmatter mcp-servers AND a companion mcp.json (tests mcp.json precedence)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
A test skill that declares allowed-tools as a YAML list
A test skill that declares allowed-tools as a space-separated string
A test skill with MCP servers configured via companion mcp.json file
A test skill with both stdio and HTTP MCP server examples in frontmatter
A test skill with multiple Python tool examples in frontmatter
A simple example skill that demonstrates the basic structure and functionality. Use when you need to show how skills work or test skill loading.
| name | skill-with-mcp-json-conflict |
| description | A test skill with BOTH frontmatter mcp-servers AND a companion mcp.json (tests mcp.json precedence) |
| mcp-servers | {"frontmatter-server":{"command":"python","args":["-m","http.server","8080"]}} |
This skill has both mcp-servers in frontmatter and a companion mcp.json file.
The mcp.json companion takes precedence when keys collide.
| Source | Server Name | Command |
|---|---|---|
| Frontmatter | frontmatter-server | python ... |
| mcp.json | mcp-json-server | npx playwright |
| Result | Only mcp-json-server | (full override) |
skill = Skill.from_skill_dir(UPath("skill_with_mcp_json_conflict"))
# mcp_servers contains ONLY mcp.json servers (full override)
assert "mcp-json-server" in skill.mcp_servers
assert "frontmatter-server" not in skill.mcp_servers
Use this skill when testing mcp.json precedence over frontmatter mcp-servers.