mcp-server-development
Skill1 starsChanged 34 days agoMITView on GitHub
Design and build a Model Context Protocol (MCP) server with well-scoped tools, input validation, authentication, safe defaults and tests. Use when exposing an internal API, database or service to AI agents through MCP, or when extending an existing MCP server.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- asmamest/Nexus-Skillstheir own version, first seen Nov 1, 2026
- Indium-AI-Labs/indium-agentkittheir own version, first seen Nov 1, 2026
- KMaruthi2002/universal-llm-skillstheir own version, first seen Oct 25, 2026
- Ionate-Technologies/indium-agentkittheir own version, first seen Oct 20, 2026
- Pantani/ableton-mindtheir own version, first seen Oct 17, 2026
Used with
Projects with it also use infrastructure-as-code.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
mmondoraSkillinfrastructure-as-code
Infrastructure as Code with Terraform and Pulumi. State management, modularity, drift detection, secrets handling. Use when provisioning cloud resources, writing Terraform/Pulumi modules, or managing infrastructure configuration.
Also in 3 projects that use this
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- Indium-AI-Labs/indium-agentkit★ 18same name
- Ionate-Technologies/indium-agentkit★ 17same name
- Pantani/ableton-mind★ 11same name
- asmamest/Nexus-Skills★ 1same name
- KMaruthi2002/universal-llm-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository105 other files it gives its agents.
- AGENTS.mdAGENTS.md
- instructions/AGENTS.mdAGENTS.md
- accessibility-reviewSkill
- agent-evaluationSkill
- agent-guardrailsSkill
- agenthub-routerSkill
- ai-red-teamingSkill
- ansible-reviewSkill
- api-designSkill
- api-integrationSkill
- architecture-decisionSkill
- backup-restoreSkill
- caching-strategySkill
- chaos-engineeringSkill
- ci-cd-pipeline-designSkill
- cloud-cost-optimizationSkill
- cloud-iam-least-privilegeSkill
- code-reviewSkill
- container-image-optimizationSkill
- cyber-resilience-actSkill
- database-migrationsSkill
- data-pipeline-reviewSkill
- data-privacySkill
- data-quality-checksSkill
- debugging-root-causeSkill
- dependency-auditSkill
- dependency-upgradeSkill
- disaster-recovery-drillSkill
- docker-hardeningSkill
- documentationSkill
- dora-readinessSkill
- dpiaSkill
- email-deliverabilitySkill
- embedding-model-selectionSkill
- error-handling-reviewSkill
- eu-ai-act-readinessSkill
- eu-data-sovereigntySkill
- european-accessibility-actSkill
- event-driven-architectureSkill
- feature-flagsSkill
- frontend-reviewSkill
- gdpr-dsar-handlingSkill
- github-actionsSkill
- gitlab-ciSkill
- git-workflowSkill
- go-developmentSkill
- graphql-api-reviewSkill
- helm-chart-reviewSkill
- i18n-localizationSkill
- incident-responseSkill
- java-spring-reviewSkill
- kubernetes-reviewSkill
- linux-server-hardeningSkill
- llm-cost-analysisSkill
- llm-gateway-routingSkill
- llm-observabilitySkill
- llm-output-evaluationSkill
- llm-structured-extractionSkill
- load-testingSkill
- local-llm-servingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use cases: which questions or actions agents need, and who the end users are.
- Distinctive: line 20
Read-only by default: Write or destructive tools are opt-in by configuration, mark side effects in the description and annotations, and …
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
MCP Server Development
Goal
An MCP server that gives agents exactly the capabilities they need, with clear tool contracts, enforced permissions and observable behaviour. For reviewing an existing server, use mcp-review.
Inputs
- Use cases: which questions or actions agents need, and who the end users are.
- The backing system's API, data sensitivity and existing authorization model.
- Target clients and transport: local stdio, or remote Streamable HTTP behind a gateway.
Procedure
- Design tools from tasks, not endpoints. Fewer, purposeful tools (
search_orders,get_order) beat a one-to-one API mirror. Separate read-only tools from tools with side effects. - Write tool contracts: a name in verb_noun form, a description that says when to use the tool and what it returns, a JSON Schema for inputs with types, enums, bounds and required fields; return concise, structured output with stable identifiers.
- Read-only by default. Write or destructive tools are opt-in by configuration, mark side effects in the description and annotations, and support confirmation or dry-run parameters.
- Authentication and authorization. Remote servers authenticate clients (OAuth 2.1 per the MCP authorization specification, or a gateway with API keys); every call is authorised as the end user or a scoped service identity — never a shared admin token behind the scenes. Tenant and object-level checks are in the server code.
- Validate and bound inputs: schema validation, maximum lengths, pagination with limits, timeouts on backend calls, rate limits per client.
- Treat outputs as untrusted for the agent: data returned may contain text that looks like instructions; do not include secrets or internal URLs; truncate large payloads with a continuation token.
- Errors return actionable messages ("order not found", "limit must be ≤ 100") without stack traces.
- Observability: log tool name, caller identity, duration and result status with a request ID; never log tokens or full sensitive payloads.
- Test: unit tests per tool including authorization-denied and invalid-input cases; protocol-level tests with the MCP Inspector or SDK client; a contract test listing tools and schemas so changes are visible in review.
- Package and document: pinned dependencies, container image or package, a configuration reference, and examples for the main clients.
Example fixture
{"name":"get_invoice","description":"Fetch one invoice the current user may access. Use after search_invoices; returns totals and status, not line items.",
"inputSchema":{"type":"object","properties":{"invoice_id":{"type":"string","pattern":"^INV-[0-9]{6}$"}},"required":["invoice_id"],"additionalProperties":false}}Negative tests: an invoice of another tenant → not found (no existence leak); a malformed ID → validation error; no token → 401.
Acceptance checks
- Each tool has a schema with
additionalProperties: falseand bounded inputs. - Authorization tests prove that a user cannot read or modify another tenant's or user's objects.
- Tools with side effects are disabled by default or need explicit confirmation.
- The tool list and schemas are covered by a snapshot or contract test.
Output
Server code, tool reference, configuration documentation, tests and a short threat model (see threat-modeling).
Safety
Do not expose shell execution, arbitrary SQL or file-system access as generic tools. Do not publish servers that embed credentials. Servers that expose personal data must apply GDPR data protection by design: minimal fields in tool results, access logging without payloads, retention limits and support for erasure.
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.

