Skip to main content
Glama
hummbl-dev
by hummbl-dev

mcp-agent-kit

Python Version Runtime Dependencies Protocol License

Claude Desktop、Cursor、および自律エージェント群のための、標準ライブラリのみを使用した純粋なModel Context Protocol (MCP) サーバー&ツールハーネス。

クイックスタートアーキテクチャClaude Desktop セットアップ比較エンジニアリングの厳密性


アーキテクチャ


Related MCP server: MCP-123

なぜmcp-agent-kitなのか?

公式MCP SDKは、多数の重いサードパーティ依存関係(pydanticanyiohttpxstarlette)を導入し、エンタープライズ環境において不要なサプライチェーン攻撃面とインストール時の摩擦を生み出します。

mcp-agent-kit は、100% Python標準ライブラリ を使用した、Model Context Protocolの完全かつ本番環境対応の実装を提供します:

  • 🚀 ランタイム依存関係ゼロ: 純粋なPython(jsonsysinspectdataclasses)。

  • 🔒 エンタープライズ対応: パッケージの脆弱性曝露ゼロで、即時に監査可能。

  • 超軽量: サブミリ秒の起動時間。CLIツール、サーバーレス環境、組み込み型・前方展開型のエージェント統合に最適。

  • 🛠️ 自動スキーマ生成: ネイティブなPython型ヒントとdocstringからJSON Schema定義を直接推論。


mcp-agent-kit vs 公式MCP SDK

項目

mcp-agent-kit

公式Python MCP SDK

ランタイム依存関係

0(Python標準ライブラリのみ)

18以上のサードパーティ依存関係

インストール済みパッケージサイズ

~15 KB

~42 MB(推移的依存関係を含む)

プロセス起動時間

< 1.2 ms

~120 ms

監査対象範囲

単一ファイル / CVEゼロ

複数のサプライチェーン依存関係

トランスポート対応

stdio + SSE

stdio + SSE


クイックスタート

1. 20行でMCPサーバーを構築する

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 統合

サーバーを claude_desktop_config.json に直接追加します:

{
  "mcpServers": {
    "my-tools": {
      "command": "python",
      "args": ["-m", "examples.simple_server"]
    }
  }
}

Claude Desktopを再起動すると、カスタムツールがすぐにClaudeのツールベルトに表示されます! 🔨


機能

  • 完全なMCPハンドシェイク: initializenotifications/initializedping

  • 動的なツール検出: 自動JSONスキーマ生成を備えた tools/list

  • 堅牢なエラーバウンダリ: tools/call はツールの実行時例外を分離し、stdioプロセスをクラッシュさせることなく、構造化されたエラーメッセージをLLMに報告します。

  • 依存関係ゼロ: Python 3.10+ でそのまま動作します。


エンジニアリングの厳密性と検証

  • テスト: 初期化、ツール検出、引数検証、例外処理をカバーする pytest テストスイートが100%パス。

  • 依存関係: ランタイム依存関係はゼロ。

  • 著者: Reuben BowlbyLinkedIn | 履歴書


エンタープライズスケール

mcp-agent-kit は、HUMMBL デベロッパーエコシステムの一部です。エンタープライズグレードのマルチエージェントガバナンス(4段階のキルスイッチ、HMAC署名付き委任トークン、暗号監査バス)については、github.com/hummbl-io をご覧ください。


A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
<1hResponse time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    D
    quality
    D
    maintenance
    A foundation for building custom local Model Context Protocol (MCP) servers that provide tools accessible to AI assistants like Cursor or Claude Desktop.
    1
    37
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A 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
  • A
    license
    Not graded
    quality
    B
    maintenance
    A dead simple MCP server for exposing your app functions to AI agents like Claude Desktop.
    44
    5
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables building and running MCP servers over streamable HTTP, exposing tools to AI assistants like Cursor, with examples of mounting multiple servers in FastAPI.

View all related MCP servers

Related MCP Connectors

  • MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hummbl-dev/mcp-agent-kit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server