Skip to main content
Glama
astrodevit-creator

mcp-server-skeleton

mcp-server-skeleton

Ein minimales Model Context Protocol (MCP) Server-Skelett – nur Standardbibliothek (JSON-RPC 2.0 über stdio). Implementiert den Kern-Handshake (initialize, tools/list, tools/call), sodass Sie Ihre eigenen Tools ohne externe Abhängigkeiten registrieren können. Binden Sie Shopify / Meta Ads / Supabase / n8n ein und stellen Sie sie Claude, Cursor, Codex, Gemini oder Hermes zur Verfügung.

Originalprojekt, ausgerichtet am „Agent Skills / MCP“-Trend. Kein weiteres MCP-Verzeichnis – sondern ein lauffähiger Server, den Sie erweitern.

Ein Tool registrieren

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

Testen

pip install -e ".[dev]"
pytest

Lizenz

MIT – siehe LICENSE.


Maintenance

ActivitySlowing
ResponsivenessNo issues

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