Skip to main content
Glama
vicboma1

claude-ia-mcp-tools

by vicboma1

API 클라이언트 → 비즈니스 로직 → MCP 도구

일반 애플리케이션 코드와 MCP 도구 양쪽에서 API 클라이언트와 비즈니스 로직을 재사용하는 방법을 보여 주는 작은 Python 예제입니다.

구조

src/example/
├── api/
│   └── api_client.py
├── business/
│   └── service.py
├── mcp/
│   └── server.py
└── main.py

이 예제는 앱에서 노출하는 5개의 작업을 제공합니다.

  1. get_user

  2. list_users

  3. create_user

  4. update_user

  5. delete_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.txt

MCP 서버 실행

python -m src.example.mcp.server

또는 MCP 클라이언트를 실행하도록 구성합니다.

python -m src.example.mcp.server

MCP 서버 사용

터미널을 통해

{"jsonrpc":"2.0","method":"tools/list","id":1}

또는 Claude

{
  "mcpServers": {
    "example-users": {
      "command": "python",
      "args": ["-m", "src.example.mcp.server"]
    }
  }
}

중요

이 예제는 자체 포함된 아키텍처 예제입니다. API 클라이언트는 https://jsonplaceholder.typicode.com을 공개 데모 API로 사용합니다.

실제 API의 경우 ApiClient 구현을 교체하고 비즈니스/MCP 인터페이스는 사실상 그대로 유지하세요.

테스트 워크플로 실행

F
license - not found
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response 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
    Not graded
    quality
    C
    maintenance
    Wraps the JSONPlaceholder fake REST API to enable testing and prototyping with CRUD operations on posts, comments, and other resources via MCP.
    12
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A user management MCP server that enables CRUD operations on users stored in a JSON file, with random user generation using Faker.
    77
    1
  • F
    license
    A
    quality
    C
    maintenance
    Exposes 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

View all related MCP servers

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

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/vicboma1/claude-ia-mcp-tools'

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