claude-ia-mcp-tools
APIクライアント → ビジネスロジック → MCPツール
通常のアプリケーションコードとMCPツールの両方からAPIクライアントとビジネスロジックを再利用する方法を示す、小さなPythonの例です。
構成
src/example/
├── api/
│ └── api_client.py
├── business/
│ └── service.py
├── mcp/
│ └── server.py
└── main.pyこの例では、以下の5つのオペレーションを公開しています。
get_userlist_userscreate_userupdate_userdelete_user
MCP層は意図的に薄く設計されており、MCP入力を検証してビジネスサービスに委譲します。ビジネスサービスはHTTP処理をAPIクライアントに委譲します。
Related MCP server: users-mcp
インストール
python -m venv .venv
# Windows:
.venv\Scripts\activate
# Linux/macOS:
source .venv/bin/activate
pip install -r requirements.txtMCPサーバーを起動する
python -m src.example.mcp.serverまたは、MCPクライアントを設定して起動する:
python -m src.example.mcp.serverMCPサーバーを使用する
ターミナル経由
{"jsonrpc":"2.0","method":"tools/list","id":1}または Claude
{
"mcpServers": {
"example-users": {
"command": "python",
"args": ["-m", "src.example.mcp.server"]
}
}
}重要
これは自己完結型のアーキテクチャ例です。APIクライアントは、公開デモAPIとして https://jsonplaceholder.typicode.com を使用しています。
実際のAPIでは、ApiClient の実装を置き換え、ビジネス/MCPのインターフェースを基本的に変更しないでください。
テストワークフローの実行
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
- AlicenseNot gradedqualityCmaintenanceWraps the JSONPlaceholder fake REST API to enable testing and prototyping with CRUD operations on posts, comments, and other resources via MCP.12MIT
- FlicenseNot gradedqualityDmaintenanceA user management MCP server that enables CRUD operations on users stored in a JSON file, with random user generation using Faker.771
- FlicenseNot gradedqualityCmaintenanceEnables interaction with the JSONPlaceholder REST API for managing posts, comments, and users through MCP tools.

clue2app-user-mcpofficial
FlicenseAqualityCmaintenanceExposes user, membership, and role administration tools via MCP, acting as a thin passthrough to a coordinator API with RBAC enforced by the coordinator using caller bearer tokens.8
Related MCP Connectors
JSONPlaceholder MCP — wraps JSONPlaceholder fake REST API (free, no auth)
34 production API tools over one hosted MCP endpoint.
The official MCP Server from Mia-Platform to interact with Mia-Platform Console
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/vicboma1/claude-ia-mcp-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server