An MCP server for generating mind maps and relationship graphs.
Four tools with complete input schemas and descriptions, but significant gaps in output documentation and error handling. Tool naming follows verb_noun convention (generate_*). Descriptions are present (avg 120 chars) but lack context on when to use each tool vs alternatives. No output schemas documented, LLMs cannot plan downstream calls. Error handling is minimal; no recovery guidance. Parameters are well-typed with enums for format selection, but descriptions lack constraint details (e.g., markdown syntax requirements, file size limits). Security concern: apiKey and baseURL exposed as parameters in generate_knowledge_graph, violating secret-injection pattern.
Generate a mind map from Markdown and save it to a specified directory.
Analyzes Markdown text using an AI model to generate and save a knowledge graph (Mermaid format). Supports OpenAI-compatible APIs.
Generate a mind map from Markdown text using markmap-cli and return the content.
Generate a relationship graph from Mermaid syntax text and save it.
No output schemas documented. LLMs cannot infer what fields are returned (e.g., does generate_mindmap return HTML string, file path, or object with metadata?). Breaks tool chaining and forces agents to guess.
API credentials (apiKey, baseURL) exposed as tool parameters in generate_knowledge_graph. Violates secret-injection pattern, credentials will appear in agent logs and prompt history. Must use server-side environment variable injection.
Tool naming uses 'and' in generate_and_save_mindmap, signaling multiple responsibilities (generate + save). Should split into separate tools: generate_mindmap (returns content) and save_mindmap (writes to disk), allowing agents to compose as needed.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 53 | 2026-07-28+ | v2 |
Parameter descriptions lack actionable constraints. 'markdown' param has no guidance on syntax, size limits, or nesting depth. 'outputDir' defaults are vague ('based on env var or home dir'). LLMs cannot validate inputs before calling.
No error handling or recovery guidance. If markmap-cli or mermaid-cli fails, agents receive raw exception messages with no actionable next steps. Should return structured errors with suggestions (e.g., 'Invalid Markdown syntax. Check nesting and list formatting.').