Inklusport MCP Server (Python)
Inklusport MCP サーバー (Python)
MCP (Model Context Protocol) サーバー。クラスの例と同じベース (mcp>=2.0.0、MCPServer、@server.tool、HTTP トランスポート) を使用。
ドメインツールは データベースにアクセスせず、ink-ms-users (ポート 3002) と ink-ms-sports (ポート 3003) に HTTP GET リクエストを送信します。ロールごとのエージェント (ユーザー、トレーナー、主催者、管理者) は、自分に対応するツールのみ表示できます。
ツール (読み取りと管理 → マイクロサービス)
ツール | マイクロサービス | エンドポイント | テストケース |
| sports |
| CP1-HU16.2 |
| sports |
| CP2-HU16.2 |
| sports |
| CP1-HU16.1, CP2-HU16.1 |
| sports |
| CP1-HU16.3, CP2-HU16.3 |
| sports |
| CP1-HU16.4, CP2-HU16.4 |
| sports |
| CP1-HU16.4 |
| sports |
| CP1-HU17, CP2-HU17 |
| sports |
| CP1-HU18 |
| sports |
| CP2-HU18, CP1-HU18.1, CP2-HU18.1 |
| sports |
| CP1-HU18.2 |
| sports |
| CP2-HU18.2 |
| sports |
| CP1-HU18.3, CP2-HU18.3 |
| sports |
| CP1-HU18.4, CP2-HU18.4 |
| sports |
| CP1-HU18.5, CP2-HU18.5 |
| sports |
| CP1-HU19, CP2-HU19 |
| users |
| — |
| sports |
| — |
| users |
| — |
| sports |
| — |
| sports |
| — |
| sports |
| — |
Related MCP server: Strava MCP Broker
ロールごとのエージェント
.env 内の AGENT_ROLE (または起動時) でツールをフィルタリング:
ロール | ツール |
| イベント、利用可能、カレンダー、登録、スポーツ、プロフィール、登録情報、適応 |
| イベント、カレンダー、プロフィール、ルーティン、適応、障害 (CRUD/有効化) |
| イベント (CRUD/キャンセル)、カレンダー、障害、登録情報、適応 |
| イベント、障害、ユーザー、ルーティン、適応の全管理ツール |
| 上記すべて |
Antigravity 用の指示: agents/usuario.md、entrenador.md、organizador.md、admin.md。
構造
ink-mcp-inklusport/
├── requirements.txt
├── .env / .env.example
├── README.md
├── agents/ # prompts y config MCP para Antigravity
└── src/
├── server.py # servidor MCP y registro de tools
├── ms_client.py # GET HTTP a Users/Sports
└── client_test.py # cliente de prueba (como en clase)設定 (.env)
TRANSPORT=streamable-http
HOST=127.0.0.1
PORT=8000
AGENT_ROLE=all
USERS_SERVICE_URL=http://localhost:3002
SPORTS_SERVICE_URL=http://localhost:3003TRANSPORT: sse、streamable-http、または stdio。
クイックスタート (Windows)
1. 環境とインストール
cd ink-mcp-inklusport
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt2. MCP サーバー
Users と Sports は起動に必須ではありません。これらがない場合、ツールは success=false (マイクロサービスに到達不可) を返します。
python src/server.pyhttp://127.0.0.1:8000 が表示されるはずです。ヘルスチェック: http://127.0.0.1:8000/。
3. テストクライアント (別のターミナル)
.\.venv\Scripts\Activate.ps1
python src/client_test.py4. ロールごとに1プロセス (オプション)
# terminal 1
$env:AGENT_ROLE="usuario"; $env:PORT="8000"; python src/server.py
# terminal 2
$env:AGENT_ROLE="entrenador"; $env:PORT="8001"; python src/server.py
# terminal 3
$env:AGENT_ROLE="organizador"; $env:PORT="8002"; python src/server.py
# terminal 4
$env:AGENT_ROLE="admin"; $env:PORT="8003"; python src/server.py4つすべてを使用した Antigravity 設定: agents/antigravity.roles.mcp.json。
単一サーバー (AGENT_ROLE=all) の場合: agents/antigravity.mcp.json。
Antigravity
Antigravity IDE をインストールします (「純粋な」エージェント 2.0 ではありません)。
TRANSPORT=streamable-httpでサーバーを起動します。MCP を追加:
http://127.0.0.1:8000/mcp。agents/<role>.mdのプロンプトをエージェントの指示として貼り付けます。テスト: 「Inklusport にはどんなイベントがありますか?」。応答に
"via": "mcp"フィールドが含まれている場合、エージェントはサーバーを使用しており、データを捏造していません。
マイクロサービス
モノレポのルートから:
docker compose up -d users-service sports-serviceポート: Users 3002、Sports 3003。読み取りクエリは permitAll です。書き込みツール (作成/編集/キャンセル/登録) は Sports API の同じエンドポイントを呼び出し、セキュリティプロファイルに応じて JWT が必要になる場合があります。
This server cannot be installed
Maintenance
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
- Alicense-qualityCmaintenanceEnables AI agents to discover and execute tools via a secure MCP server with JWT authentication, RBAC, rate limiting, and audit logging.1MIT
- Flicense-qualityDmaintenanceAn HTTP broker that exposes Strava data and operations (activities, routes, segments, etc.) as MCP tools, allowing users to interact with their own Strava account via natural language using per-user OAuth2 authentication.
- Flicense-qualityDmaintenanceMCP server for eventos event management platform, enabling AI assistants to manage events and tickets via API integration. Supports authentication, ticket CRUD operations, and listing with pagination.1
- Flicense-qualityBmaintenanceMCP server that wraps wger fitness/nutrition management platform, providing 15 tools for exercise search, ingredient nutrition lookup, weight tracking, and more, accessible to any MCP-compatible AI agent.
Related MCP Connectors
Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.
Workflow diagnostics, capability routing, and x402 settlement for MCP-compatible agents.
MCP server for the Inistate platform: module discovery, entry management, and activity submission.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/samularagran1408-bot/ink-mcp-inklusport'
If you have feedback or need assistance with the MCP directory API, please join our Discord server