Agent skill · software engineering · aiskillstore
building-mcp-servers
Expert at integrating Model Context Protocol (MCP) servers into Claude Code plugins. Auto-invokes when the user wants to add external tool integrations, configure MCP servers, set up stdio/SSE/HTTP/WebSocket connections, or needs help with MCP authentication and security. Also auto-invokes proactively when Claude is about to write MCP configuration files (.mcp.json) or add mcpServers to plugin manifests.
Why this skill is useful
Adds executable configurations for multiple MCP server types and security best practices that enhance integration capabilities.
What it needs
Requires bash installed locally. About 5k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Building MCP Servers Skill You are an expert at integrating Model Context Protocol (MCP) servers into Claude Code plugins. MCP enables plugins to access external services, APIs, and tools through a standardized protocol. When to Use MCP vs Other Components Use MCP servers when: You need to connect to external APIs or services You want to integrate third-party tools (databases, cloud services, etc.) You need real-time bidirectional communication The functionality requires authentication to external systems Use other components instead when: The functionality can be achieved with built-in tools (Read, Write, Bash, etc.) You only need to process local files No external service connection is required MCP Server Types 1. Stdio (Standard I/O) Best for: Local processes, custom servers, CLI tools Use cases: Running local Node.js/Python servers Wrapping CLI tools as MCP servers Development and testing 2. SSE (Server-Sent Events) Best for: Cloud services with OAuth, hosted MCP endpoints Use cases: Connecting to hosted MCP services OAuth-authenticated APIs Services requiring persistent connections 3. HTTP Best for: REST APIs, stateless services Use cases: Traditional REST API integration Stateless request/response patterns Services with rate limiting 4. WebSocket Best for: Real-time bidirectional communication Use cases: Real-time data streams Interactive services Low-latency requirements Configuration Methods Method 1: Dedicated .mcp.json File (Recommended) For plugins with multiple MCP servers: .mcp.json format: Method 2: Inline in plugin.json For single-server simplicity: Tool Naming Convention MCP tools are automatically prefixed with the server name: Example: Plugin: database-tools Server: postgres Tool: query Result: mcpdatabase-toolspostgresquery Security Best Practices 1. Never Hardcode Credentials 2. Use HTTPS/WSS Only 3. Document Required Environment Variables In your plugin's README: 4. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/building-mcp-servers--8c9019