mcp-server-building

Solid

Design, implement, harden, and verify Model Context Protocol (MCP) servers with precise tool contracts, least-privilege authorization, safe transports, structured errors, and interoperability tests. Use when creating a new MCP server, exposing an API or data source through MCP, reviewing an MCP server design, adding or revising MCP tools, or preparing an MCP server for production.

AI & Automation 161 stars 32 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
74
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# MCP Server Building Build the smallest server that exposes the required capability safely. Treat protocol conformance, business authorization, and model behavior as separate concerns; all three need independent controls. ## Inputs Collect or infer, and label assumptions for, these inputs: - User jobs and the minimum capabilities needed - Backing APIs, data stores, file systems, or local processes - Intended MCP clients, exact protocol revision, and current SDK/runtime constraints - Local `stdio` or remote HTTP transport requirements - Tenant, identity, credential, and authorization model - Read, write, destructive, billable, or externally visible effects - Expected volume, latency, pagination, and deployment environment - Existing schemas, tests, observability, and incident procedures Ask only for missing facts that materially change the architecture. Consult the current MCP specification and SDK documentation before relying on version-sensitive behavior. ## Output contract Deliver: 1. A server design stating scope, trust boundaries, transport, identity flow, and explicit non-goals 2. A tool catalog with names, descriptions, structural input/output/error schemas, explicit effect and data-class arrays, authorization mode, idempotency, and error behavior 3. Implementation or a file-level implementation plan, according to the user's requested scope 4. Unit, integration, authorization, and protocol-interoperability tests 5. Verification evidence: commands run, relevant ...

Details

Author
seb1n
Repository
seb1n/awesome-ai-agent-skills
Created
6 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category