kxiandaoyan/memoh-v2/mcp-builder

Claude Code and agent skill by kxiandaoyan/memoh-v2

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Build Model Context Protocol (MCP) servers that expose tools, resources, and prompts to AI agents. Use when asked to create an MCP server, add new tools to an existing MCP, or integrate external APIs as MCP tools.

Install

npx vskill@latest install kxiandaoyan/memoh-v2/mcp-builder

SKILL.md

The same SKILL.md was published earlier as kxiandaoyan/memoh-v2/mcp-builder.

MCP Builder

Create Model Context Protocol (MCP) servers to expose tools and resources to AI agents.

MCP Concepts

  • Tools: Functions the AI can call (e.g., search_database, send_email)
  • Resources: Data the AI can read (e.g., files, DB records)
  • Prompts: Reusable prompt templates

Quick Start (Python)

python
from mcp.server import Server
from mcp.server.stdio import stdio_server
from mcp import types
server = Server("my-server")
@server.list_tools()
async def list_tools() -> list[types.Tool]:
return [
types.Tool(
name="my_tool",
description="What this tool does and when to use it",
inputSchema={
"type": "object",
"properties": {
"param": {"type": "string", "description": "Parameter description"}
},
"required": ["param"]
}
)
]
@server.call_tool()
async def call_tool(name: str, arguments: dict) -> list[types.TextContent]:
if name == "my_tool":
result = do_something(arguments["param"])
return [types.TextContent(type="text", text=str(result))]
raise ValueError(f"Unknown tool: {name}")
async def main():
async with stdio_server() as streams:
await server.run(*streams, server.create_initialization_options())
if __name__ == "__main__":
import asyncio
asyncio.run(main())

Tool Design Guidelines

  • Name: lowercase_underscore, descriptive verb_noun
  • Description: Explain what it does AND when the AI should call it
  • Parameters: Use JSON Schema; mark required fields; add descriptions
  • Returns: Plain text or structured JSON as TextContent

Common Patterns

API wrapper

Wrap REST APIs as MCP tools. Handle auth, rate limits, and error responses gracefully.

File operations

Expose read/write/list operations scoped to a safe directory.

Database queries

Wrap SQL queries with parameterized inputs to prevent injection.

Testing

bash
# Run server directly
python server.py
# Test with MCP inspector
npx @modelcontextprotocol/inspector python server.py

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
334
Repository forks
33
7-day trend score
29

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kxiandaoyan/memoh-v2/mcp-builder/badge)](https://verified-skill.com/skills/kxiandaoyan/memoh-v2/mcp-builder)

Something wrong with this skill or its page? Tell us.