Skip to main content
Glama
astrodevit-creator

mcp-server-skeleton

mcp-server-skeleton

최소한의 Model Context Protocol (MCP) 서버 스켈레톤 — 표준 라이브러리만 사용 (stdio를 통한 JSON-RPC 2.0). 핵심 핸드셰이크(initialize, tools/list, tools/call)를 구현하여 외부 의존성 없이 자체 도구를 등록할 수 있습니다. Shopify / Meta Ads / Supabase / n8n을 연결하고 Claude, Cursor, Codex, Gemini 또는 Hermes에 노출하세요.

"Agent Skills / MCP" 트렌드에 맞춘 오리지널 프로젝트. 또 다른 MCP 디렉토리가 아닌 — 확장 가능한 실행 가능한 서버입니다.

도구 등록

from mcp_server import MCPServer

server = MCPServer("my-tools", "0.1.0")
server.register_tool(
    "add", "Add two numbers",
    {"type": "object", "properties": {"a": {"type": "number"}, "b": {"type": "number"}}},
    lambda args: str(args["a"] + args["b"]),
)
server.serve_stdio()

Related MCP server: mini-mcp-demo

테스트

pip install -e ".[dev]"
pytest

라이선스

MIT — LICENSE 참조.


링크

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Exposes a verified tool registry (calculator, sandboxed file read, web fetch) over MCP stdio, enabling any MCP-capable client to reuse the same tools from the inspectable ReAct loop.
    3
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables local tool calling over Model Context Protocol via stdio, providing deterministic tools such as calc.add, text.word_count, and text.summarize_naive after JSON-RPC handshake and discovery.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI clients to call small utility tools like echo and Markdown-to-PDF conversion, running locally over stdio.
    2
    MIT