build-custom-mcp-server

Solid

Build a custom MCP (Model Context Protocol) server that exposes domain-specific tools to AI assistants. Covers server implementation in Node.js or R, tool definitions, transport configuration, and testing with Claude Code. Use when you need to expose custom functionality beyond what mcptools provides, when building specialized domain-specific AI integrations, or when wrapping existing APIs or services as MCP tools.

AI & Automation 26 stars 4 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

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

Skill Content

# Build Custom MCP Server Create a custom MCP server that exposes domain-specific tools to AI assistants. ## When to Use - Need to expose custom functionality to Claude Code or Claude Desktop - Building specialized tools beyond what mcptools provides - Creating a domain-specific AI assistant integration - Wrapping existing APIs or services as MCP tools ## Inputs - **Required**: List of tools to expose (name, description, parameters, behavior) - **Required**: Implementation language (Node.js or R) - **Required**: Transport type (stdio or HTTP) - **Optional**: Authentication requirements - **Optional**: Docker packaging needs ## Procedure ### Step 1: Define Tool Specifications Before writing code, define each tool: ```yaml tools: - name: query_database description: Execute a read-only SQL query against the analysis database parameters: query: type: string description: SQL SELECT query to execute required: true limit: type: integer description: Maximum rows to return default: 100 returns: JSON array of result rows - name: run_analysis description: Execute a predefined statistical analysis by name parameters: analysis_name: type: string description: Name of the analysis to run enum: [descriptive, regression, survival] dataset: type: string description: Dataset identifier required: true ``` **Got:** A YAML or markdown specificat...

Details

Author
pjt222
Repository
pjt222/agent-almanac
Created
1 years ago
Last Updated
today
Language
R
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category