mcp-agent-kit
mcp-agent-kit
Ein reiner, auf der Standardbibliothek basierender Model Context Protocol (MCP)-Server & Tool-Harness für Claude Desktop, Cursor und autonome Agentenflotten.
Schnellstart • Architektur • Claude-Desktop-Einrichtung • Vergleich • Technische Sorgfalt
Architektur
Related MCP server: MCP-123
Warum mcp-agent-kit?
Die offiziellen MCP-SDKs bringen dutzende schwergewichtige Drittanbieter-Abhängigkeiten mit (pydantic, anyio, httpx, starlette), wodurch unnötige Supply-Chain-Angriffsflächen und Installationshürden in Unternehmensumgebungen entstehen.
mcp-agent-kit bietet eine vollständige, produktionsreife Implementierung des Model Context Protocol, die zu 100 % auf der Python-Standardbibliothek basiert:
🚀 Null Laufzeitabhängigkeiten: Reines Python (
json,sys,inspect,dataclasses).🔒 Enterprise-tauglich: Sofortige Auditierbarkeit ohne jegliche Gefährdung durch Paket-Schwachstellen.
⚡ Ultra-leichtgewichtig: Startzeit unter einer Millisekunde, ideal für CLI-Tools, serverlose Umgebungen und eingebettete Forward-Deployed-Agent-Integrationen.
🛠️ Automatische Schema-Generierung: Leitet JSON-Schema-Definitionen direkt aus nativen Python-Typannotationen und Docstrings ab.
mcp-agent-kit vs. offizielles MCP-SDK
Dimension |
| Offizielles Python-MCP-SDK |
Laufzeitabhängigkeiten | 0 (nur Python-Standardbibliothek) | 18+ Drittanbieter-Abhängigkeiten |
Installierte Paketgröße | ~15 KB | ~42 MB (mit transitiven Abhängigkeiten) |
Prozessstartzeit | < 1.2 ms | ~120 ms |
Prüfumfang | Einzelne Datei / Null CVEs | Mehrere Supply-Chain-Abhängigkeiten |
Transportunterstützung |
|
|
Schnellstart
1. Einen MCP-Server in 20 Zeilen erstellen
from mcp_agent_kit import MCPServer
app = MCPServer(name="my-agent-tools", version="1.0.0")
@app.tool(description="Calculate tax and total invoice amounts")
def calculate_invoice(subtotal: float, tax_rate: float = 0.07) -> dict:
tax = round(subtotal * tax_rate, 2)
return {"subtotal": subtotal, "tax": tax, "total": round(subtotal + tax, 2)}
if __name__ == "__main__":
app.run_stdio()Claude-Desktop-Integration
Fügen Sie Ihren Server direkt zur claude_desktop_config.json hinzu:
{
"mcpServers": {
"my-tools": {
"command": "python",
"args": ["-m", "examples.simple_server"]
}
}
}Starten Sie Claude Desktop neu, und Ihre benutzerdefinierten Tools erscheinen sofort in Claudes Werkzeuggürtel! 🔨
Funktionen
Vollständiger MCP-Handshake:
initialize,notifications/initialized,ping.Dynamische Tool-Entdeckung:
tools/listmit automatischer JSON-Schema-Generierung.Robuste Fehlergrenzen:
tools/callisoliert Laufzeitausnahmen von Tools und meldet strukturierte Fehlermeldungen an das LLM zurück, ohne den stdio-Prozess zum Absturz zu bringen.Null Abhängigkeiten: Läuft ohne Weiteres auf Python 3.10+.
Technische Sorgfalt und Verifizierung
Tests: 100 % bestandene
pytest-Testsuite, die Initialisierung, Tool-Entdeckung, Argumentvalidierung und Ausnahmebehandlung abdeckt.Abhängigkeiten: 0 Laufzeitabhängigkeiten.
Autor: Reuben Bowlby — LinkedIn | Lebenslauf
Enterprise-Skalierung
mcp-agent-kit ist Teil des HUMMBL-Entwicklerökosystems. Für Multi-Agent-Governance auf Unternehmensniveau (4-stufige Kill-Switches, HMAC-signierte Delegations-Tokens und kryptografische Audit-Busse) besuchen Sie github.com/hummbl-io.
Available Tools
2 toolsadd_numbersA
Add two numbers together
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations to carry the safety profile, so the description carries the burden. It clearly states the operation, and a pure addition has no obvious destructive or persistent side effects, but it does not explicitly mention that the result is returned or how errors are handled.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no wasted words. Every word contributes to the meaning without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-number addition tool with required parameters and no output schema, the description is minimally adequate. It could be more complete by explicitly stating that it returns the sum, but the operation is straightforward enough for an agent to infer the expected behavior.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. 'Add two numbers together' clarifies that both a and b are operands in the same addition, which adds meaning over bare names and types. It does not discuss edge cases like type coercion or numeric bounds, but these are minor for simple addition.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('add') and resource ('two numbers'), making the tool's purpose immediately clear. It is also clearly distinct from the only sibling, get_system_info, since arithmetic and system information share no overlap.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The usage context is implied: use this tool when a sum of two numbers is needed. However, the description gives no explicit guidance about when not to use it or any alternative, though the operation is elementary enough that confusion is unlikely.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_system_infoA
Get host system architecture and OS details
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden of behavioral disclosure. It correctly conveys that the operation is a read-like retrieval with no side effects, which is implicit in 'Get'. It does not detail the exact shape of the returned data (e.g., format, fields, possible failure modes), but for a simple system-info tool this is a moderate gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is one short sentence and every word contributes to meaning. It is appropriately sized for the tool's simplicity, with no padding or redundant phrasing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter tool with no output schema, the description tells the agent what it will get ('host system architecture and OS details'). It does not specify the exact return format, but the tool's extreme simplicity and the clear scope make the description adequate. A slightly richer mention of OS/platform field names would push it to 5, but current wording is sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the schema already fully describes the input surface with 100% coverage. The description adds the key behavioral context—what kind of information is returned—which is more than the schema alone. The baseline of 4 for zero-parameter tools is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Get') and resource ('host system architecture and OS details'), and this distinguishes it clearly from the only sibling tool, add_numbers, which performs arithmetic. No ambiguity about what the tool returns.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the intended use case—retrieving system-level information—and no complex context is required for a zero-parameter tool. It does not explicitly state when not to use it, but with only one sibling that does something entirely unrelated, explicit exclusion is unnecessary.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
2 tool updates
v0.1.0- First observed
add_numbers - First observed
get_system_info
TDQS
Scored across 2 tools
The two tools are completely unrelated in purpose: one performs arithmetic and the other retrieves system information. There is no possibility of an agent confusing them.
Both tools follow the same verb_noun snake_case pattern: add_numbers and get_system_info. Naming is predictable and consistent.
With only two tools, the server sits at the low end of the acceptable range. The name mcp-agent-kit suggests a broader toolkit, so two tools feel thin.
The two tools do not form a coherent domain, and the server name implies a general-purpose agent kit, yet almost no common agent capabilities are represented. There are significant gaps if this is meant to be a functional toolkit.
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Host any HTTP API as a standard MCP server; auto-distribute to 12+ mainstream agent platforms.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Related MCP Servers
- AlicenseDqualityDmaintenanceA foundation for building custom local Model Context Protocol (MCP) servers that provide tools accessible to AI assistants like Cursor or Claude Desktop.137MIT
- FlicenseNot gradedqualityDmaintenanceA minimal Python package for easily setting up and running MCP servers and clients, allowing functions to be automatically exposed as tools that LLMs can use with just 2 lines of code.22-
- AlicenseNot gradedqualityDmaintenanceA dead simple MCP server for exposing your app functions to AI agents like Claude Desktop.8 npm6MIT
- FlicenseNot gradedqualityDmaintenanceEnables building and running MCP servers over streamable HTTP, exposing tools to AI assistants like Cursor, with examples of mounting multiple servers in FastAPI.-