Unit Expert MCP
Unit Expert MCP
Minimal Streamable HTTP MCP server for PlayMCP.
PlayMCP Settings
MCP 이름: Unit Expert(단위전문가)
MCP 식별자: unitExpert
MCP URL: https://unit-expert-mcp.onrender.com/mcp
인증: 없음HTTP Endpoints
GET /
GET /healthz
POST /mcp
GET /mcp
GET /scenario
POST /scenarioPOST /mcp expects JSON-RPC with:
Accept: application/json, text/event-stream
Content-Type: application/jsonTools
convert_lengthconvert_weightconvert_temperatureconvert_areaconvert_volumelist_supported_units
Scenario Control
Open /scenario in a browser to set the server-wide default scenario. The page
also shows a live /mcp response preview for the selected scenario.
Use X-MCP-Test-Scenario to override the server-wide state for one request.
Omit it for the currently selected scenario.
The selected scenario is stored in process memory, so it resets to ok after a
server restart or redeploy.
X-MCP-Test-Scenario: duplicate-tool-name지원 시나리오:
기본
정책명 | 시나리오 | 효과 |
정상 응답 |
| 정상 Unit Expert 도구 목록을 반환합니다. |
서버 error
정책명 | 시나리오 | 효과 |
인증 조건 - 401 |
| JSON-RPC 처리 전에 |
인증 조건 - 403 |
| JSON-RPC 처리 전에 |
MCP 버전 조건 - 최소 지원 버전 |
| 최소 지원 버전보다 낮은 |
툴 목록 조건 - JSON-RPC 에러 |
|
|
툴 목록 조건 - null 반환 |
|
|
툴 목록 조건 - 빈 배열 반환 |
|
|
툴 개수 조건 - 최대 개수 |
| 도구 21개를 반환합니다. |
응답속도 조건 - 지연 |
| OPTIONS가 아닌 |
tool error
정책명 | 시나리오 | 효과 |
툴 이름 조건 - 중복 |
| 동일한 |
툴 이름 조건 - 허용 문자 |
| 허용되지 않는 문자가 포함된 tool name을 반환합니다. |
툴 이름 조건 - 길이 |
| 129자 길이의 tool name을 반환합니다. |
툴 필수 속성 - name |
|
|
툴 필수 속성 - description |
|
|
툴 필수 속성 - inputSchema |
|
|
툴 필수 속성 - annotations |
|
|
툴 이름 조건 - 금지어 |
| 금지어가 포함된 tool name을 반환합니다. |
툴 설명 조건 - 길이 |
| 1,051자 |
툴 설명 조건 - 서비스명 |
| 서비스명이 빠진 |
툴 annotations 조건 - 필수 힌트 |
| 필수 필드가 빠진 |
Run Locally
PYTHONPATH=src PORT=8000 python -m unit_expert_mcp.serverSmoke test:
curl -i -X POST http://localhost:8000/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H 'MCP-Protocol-Version: 2025-03-26' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}'Official SDK 2026 Baseline
The existing unit_expert_mcp.server implementation is the fault-injection
server used for 2025/legacy and intentionally invalid scenarios. For a clean
2026-07-28 baseline backed by the official MCP Python SDK, run the separate
entrypoint:
pip install ".[sdk2026]"
PYTHONPATH=src PORT=8000 python -m unit_expert_mcp.sdk_2026_serverThis starts a Streamable HTTP MCP endpoint at /mcp using the SDK's ASGI app.
It exposes the same six Unit Expert tools, but does not implement the scenario
UI or malformed-response cases.
Expected Render endpoint:
https://unit-expert-mcp-2026.onrender.com/mcpDocker:
docker build -f Dockerfile.sdk2026 -t unit-expert-mcp-sdk2026 .
docker run --rm -p 8000:8000 unit-expert-mcp-sdk2026Test
PYTHONPATH=src python3 -m unittest discover -s tests -p 'test*.py'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/kdaehun00/unit-expert-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server