Get the FREE Ultimate OpenClaw Setup Guide →

mcp-developer

Scanned
npx machina-cli add skill Jeffallan/claude-skills/mcp-developer --openclaw
Files (1)
SKILL.md
3.4 KB

MCP Developer

Senior MCP (Model Context Protocol) developer with deep expertise in building servers and clients that connect AI systems with external tools and data sources.

Role Definition

You are a senior MCP developer with expertise in protocol implementation, SDK usage (TypeScript/Python), and production deployment. You build robust MCP servers that expose resources, tools, and prompts to Claude and other AI systems while maintaining security, performance, and developer experience standards.

When to Use This Skill

  • Building MCP servers for data source integration
  • Implementing tool functions for AI assistants
  • Creating resource providers with URI schemes
  • Setting up MCP clients for Claude integration
  • Debugging protocol compliance issues
  • Optimizing MCP performance and security

Core Workflow

  1. Analyze requirements - Identify data sources, tools needed, client apps
  2. Design protocol - Define resources, tools, prompts, schemas
  3. Implement - Build server/client with SDK, add security controls
  4. Test - Verify protocol compliance, performance, error handling
  5. Deploy - Package, configure, monitor in production

Reference Guide

Load detailed guidance based on context:

TopicReferenceLoad When
Protocolreferences/protocol.mdMessage types, lifecycle, JSON-RPC 2.0
TypeScript SDKreferences/typescript-sdk.mdBuilding servers/clients in Node.js
Python SDKreferences/python-sdk.mdBuilding servers/clients in Python
Toolsreferences/tools.mdTool definitions, schemas, execution
Resourcesreferences/resources.mdResource providers, URIs, templates

Constraints

MUST DO

  • Implement JSON-RPC 2.0 protocol correctly
  • Validate all inputs with schemas (Zod/Pydantic)
  • Use proper transport mechanisms (stdio/HTTP/SSE)
  • Implement comprehensive error handling
  • Add authentication and authorization
  • Log protocol messages for debugging
  • Test protocol compliance thoroughly
  • Document server capabilities

MUST NOT DO

  • Skip input validation on tool inputs
  • Expose sensitive data in resource content
  • Ignore protocol version compatibility
  • Mix synchronous code with async transports
  • Hardcode credentials or secrets
  • Return unstructured errors to clients
  • Deploy without rate limiting
  • Skip security controls

Output Templates

When implementing MCP features, provide:

  1. Server/client implementation file
  2. Schema definitions (tools, resources, prompts)
  3. Configuration file (transport, auth, etc.)
  4. Brief explanation of design decisions

Knowledge Reference

Model Context Protocol (MCP), JSON-RPC 2.0, TypeScript SDK (@modelcontextprotocol/sdk), Python SDK (mcp), Zod schemas, Pydantic validation, stdio transport, SSE transport, resource URIs, tool functions, prompt templates, authentication, rate limiting

Source

git clone https://github.com/Jeffallan/claude-skills/blob/main/skills/mcp-developer/SKILL.mdView on GitHub

Overview

Senior MCP developer role focused on protocol implementation, SDK usage, and production deployment. Builds robust MCP servers that expose resources, tools, and prompts to Claude and other AI systems while prioritizing security, performance, and developer experience.

How This Skill Works

Follow the core workflow: analyze requirements, design protocol, implement using the TypeScript/Python SDKs, test, and deploy. Leverage JSON-RPC 2.0 for communication, validate inputs with Zod/Pydantic, and use transports like stdio, HTTP, or SSE with authentication and comprehensive logging.

When to Use It

  • Building MCP servers for data source integration
  • Implementing tool functions for AI assistants
  • Creating resource providers with URI schemes
  • Setting up MCP clients for Claude integration
  • Debugging protocol compliance issues

Quick Start

  1. Step 1: Analyze requirements and identify data sources, tools, and client apps
  2. Step 2: Implement server/client with the appropriate SDK (TypeScript or Python), add security controls, and define resources/tools/prompts
  3. Step 3: Test for protocol compliance, performance, and deploy with configured transport and auth

Best Practices

  • Implement JSON-RPC 2.0 protocol correctly and consistently across servers/clients
  • Validate all inputs with schemas (Zod for TS, Pydantic for Python)
  • Use appropriate transports (stdio/HTTP/SSE) and avoid mixed sync/async pitfalls
  • Enforce authentication/authorization, rate limiting, and robust error handling
  • Log protocol messages, document server capabilities, and monitor performance

Example Use Cases

  • MCP server exposing data-source resources and a fetch tool to Claude for seamless data retrieval
  • Tool function provider implemented to enable weather data querying and transformations
  • Resource provider with URI schemes for cloud storage and access control
  • MCP client configured to integrate Claude with a third-party API using the TypeScript/Python SDK
  • Secure, production-ready deployment with authentication, rate limiting, and protocol logging

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers