MCP gateway server that bridges REST APIs and MCP servers, supporting OpenAPI spec conversion and MCP-to-MCP proxying
Server has 6 tools with basic schemas and descriptions, but significant quality gaps. Tool naming is inconsistent (echo_tool appears twice; lsFiles uses camelCase instead of verb_noun convention). Descriptions are present but generic and lack actionable context. Input schemas exist but lack depth, parameters have minimal descriptions, no enums for constrained inputs, and no output schemas documented. Error handling is absent. Security concerns: uploadFile accepts file content without validation; getFile tools expose filesystem paths without sanitization. No tool annotations (readOnlyHint/destructiveHint). Overall, this is a D-grade server with functional but poorly-designed tools.
Echo the input text
Echo the input text
get file content specified by the path in MyFormMultipartFriendly.
get file from the server by the path in FORM style.
get list of files and folders specified by the path(folder).
upload file in MyFormMultipartFriendly way. NOTE: upload binary file is supported only when: It is base64 encoded before sending <= limitation by MCP/JSON-RPC, base64 string value doesn't contain any CTRL charactor, including new-line. <= by latest JSON Parser. to meet above condtion, encode has to be done as below command: ``` cat binary | base64 | tr -d '[:cntrl:] ```
Duplicate tool registration: echo_tool appears twice in the tool list. This causes ambiguity and wastes agent reasoning cycles deciding between identical tools.
Inconsistent naming conventions: lsFiles uses camelCase; others use snake_case. Tool names should follow verb_noun pattern (e.g., list_files, get_file). LLMs parse intent from names, inconsistency causes confusion.
Ambiguous tool names: getFile and getFile2 are nearly identical. The distinction (FORM style vs MyFormMultipartFriendly) is opaque to LLMs. Merge into one tool with a clear parameter or split with descriptive names (e.g., get_file_text, get_file_multipart).
No output schemas documented. Tools return data but LLMs cannot plan downstream calls without knowing response structure. Document what each tool returns (e.g., file content as string, file list as array of objects with name/size/type).
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 50 | <=2025-11-25 | v2 |
Path traversal vulnerability: getFile and lsFiles accept arbitrary filesystem paths without validation. An agent could be tricked into reading /etc/passwd or writing outside the intended folder. Validate paths are within opts.folder and reject '..' sequences.