mcp-capability-development
Skill22 starsChanged 6 months agoMITView on GitHub
Designs and implements safe GPT-RAG MCP tools, resources, prompts, and registrations. Use whenever a runtime MCP capability or its orchestrator-facing contract changes.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- architecture-decisionSkill
- component-releaseSkill
- documentation-consistencySkill
- engineering-principlesSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Put focused logic in src/tools/, src/resources/, or src/prompts/ and keep registration in src/server.py thin.
- Distinctive: line 16
Treat all inputs and upstream content as untrusted.
- Distinctive: line 18
Add timeouts, output limits, least-privilege access, and actionable non-sensitive errors at external boundaries.
- Distinctive: line 22
Add focused behavior or contract tests when feasible.
- Distinctive: line 26
Update this repository's documentation and the GPT-RAG docs branch when users or operators observe the change.
- Very specific: line 29
Never place this runtime capability under .github/.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
MCP capability development
- Classify the capability as a tool, resource, prompt, or transport concern
and confirm
Azure/gpt-rag-mcpowns it. - Identify the orchestrator outcome, trust boundary, authorization model, external effects, limits, and compatibility constraints.
- Define a narrow typed contract: name, description, arguments, defaults, validation, result shape, error behavior, and bounds.
- Put focused logic in
src/tools/,src/resources/, orsrc/prompts/and keep registration insrc/server.pythin. - Treat all inputs and upstream content as untrusted. Validate schemes, hosts, identifiers, paths, sizes, and counts before effects.
- Add timeouts, output limits, least-privilege access, and actionable non-sensitive errors at external boundaries.
- Preserve compatibility or document and coordinate migration with the
orchestrator and
Azure/GPT-RAG. - Add focused behavior or contract tests when feasible.
- Restore with
uv sync, check import or startup behavior, exercise the capability with the MCP Inspector, and run orchestrator end to end when the integration contract changes. - Update this repository's documentation and the GPT-RAG docs branch when users or operators observe the change.
Never place this runtime capability under .github/; that directory contains
engineering-time Copilot assets only.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

