A powerful Model Context Protocol (MCP) proxy service with AI-powered chat interface and OpenAPI integration
mcp-proxy exposes 6 tools for MCP server registration and HTTP execution. Tool naming follows verb_noun convention (generate, verify, restore, revise, register, execute), which is good. However, descriptions are present but generic and lack LLM-optimization guidance. Critical gaps: (1) Input schemas are visible but parameter descriptions are minimal or missing context about constraints and expected formats. (2) Output schemas are not documented, callers cannot predict response structure. (3) Error handling is minimal; tools return generic success/failure without recovery guidance. (4) The execute_http_tool accepts a complex 'tool' object parameter that is not self-documenting. (5) No tool annotations (readOnlyHint/destructiveHint) despite clear risk levels (register_mcp_server is WRITE, others are READ_ONLY). Baseline: 549 production tools average 194 chars in description; these average ~120 chars and lack actionable detail.
根据 Tool 的 api_info 执行 HTTP 请求,返回 MCP CallToolResult 格式。支持路径参数、查询参数、请求头、Cookie 和请求体的参数位置映射。
根据用户描述,提取并生成标准的 MCP Server JSON 配置字符串。当用户想要注册一个 MCP Server 时,首先调用此工具生成 JSON。
将已通过校验的 MCP JSON 注册为 MCP Server。只有在 verify_mcp_json 返回 VERIFY_SUCCESS 后才调用此工具。此工具会触发人机确认,等待用户 approve / reject。
根据校验错误信息,修复不合法的 MCP JSON。当 verify_mcp_json 返回 VERIFY_FAILED 时调用此工具,修复后需再次校验。最多修复 2 次,超过后应放弃并告知用户。
根据用户的自然语言反馈,对已有 MCP JSON 进行修改和优化。当用户在确认环节选择"修改"并提供反馈意见后,调用此工具。调用完成后必须再次调用 verify_mcp_json 进行校验。
校验 MCP JSON 字符串是否合法,包括 JSON 格式和 Pydantic Schema 校验。生成 JSON 后必须调用此工具进行校验,根据结果决定下一步。
Output schemas not documented. Callers cannot predict response structure (e.g., what fields does verify_mcp_json return? Is it {status, data, error}?). LLMs cannot plan downstream calls without knowing output shape.
Parameter descriptions lack constraint details. 'user_query' in generate_mcp_json has no guidance on format, length, or expected content. 'error_message' in restore_mcp_json is undescribed. LLMs cannot validate inputs without explicit constraints.
execute_http_tool accepts a complex 'tool' object (RegisterMcpTool) as a parameter. This object is not self-documenting in the schema, the LLM cannot know what fields it must contain or their types. The schema shows only {type: object, description: '...'} with no properties defined.
Inferred effective spec: 2025-06-18+.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 48 | 2025-06-18+ | v2 |
No tool annotations despite clear risk levels. register_mcp_server is marked WRITE (destructive) but has no destructiveHint annotation. Other tools marked READ_ONLY lack readOnlyHint. Annotations guide agent safety policies.
Error handling is minimal. Tools return generic success/failure without recovery guidance. E.g., if verify_mcp_json fails, what should the LLM do next? The description says 'call restore_mcp_json', but the error response does not include the error details needed for restoration.