archiscribe
A Model Context Protocol (MCP) server for providing AI agents with access to information in an ArchiMate model.
claude mcp add --transport stdio dclnbrght-archiscribe-mcp node dist/mcp/index.js \ --env LOG_PATH="directory for logs (default: logs)" \ --env LOG_LEVEL="info (or debug/warn/error)" \ --env MODEL_PATH="path to ArchiMate model XML file (e.g., data/your-model.xml)" \ --env SERVER_PORT="default 3030; override with environment variable (e.g., 8080)"
How to use
Archiscribe MCP Server exposes four MCP tools that let AI coding assistants and agents query architectural information from an ArchiMate model. Run the server in your environment (production build recommended) and connect via the MCP HTTP endpoint /mcp. Use the tools to search for views and elements, or fetch detailed metadata and relationships for specific views or elements; all outputs are returned in Markdown to be easily consumed by LLMs. For local testing, you can optionally enable the HTTP test API endpoints to enumerate views and elements from your model. The model file must be in ArchiMate Exchange File (.xml) format. Typical workflow: start the server, use SearchViews to find a view by keyword, then GetViewDetails to retrieve a full Markdown document with metadata and relationships. You can also explore elements with SearchElements and GetElementDetails to gather context for design decisions and documentation generation.
How to install
Prerequisites:
- Node.js and npm installed
- A compatible ArchiMate model XML file
- Access to the project source (clone or download)
Installation steps:
-
Install dependencies npm install
-
Build the server for production npm run build
-
Run the server (production) npm start
Optional development workflow:
- Install and run with automatic restarts on file changes npm install -g ts-node-dev npm run dev
Configuration basics:
- Set SERVER_PORT to control the listening port (default 3030)
- Set MODEL_PATH to point to your ArchiMate XML model file
- Optionally configure logging via LOG_PATH and LOG_LEVEL in config/settings.json or environment
Notes:
- This server is designed for local deployment with minimal security controls; avoid exposing it to untrusted networks.
Additional notes
- The server returns outputs in Markdown for easy ingestion by LLMs and agents.
- The ArchiMate model file must be an ArchiMate Exchange File (.xml).
- Default port is 3030; you can override via SERVER_PORT or in a config file (config/settings.json).
- HTTP test API endpoints (for views and elements) are available but may be disabled by default depending on advanced configuration.
- Logs are written to a daily file in the logPath directory; supports structured NDJSON audit lines when enabled.
- If you change the model path or port, restart the server for changes to take effect.
Related MCP Servers
context7
Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
obsidian -tools
Add Obsidian integrations like semantic search and custom Templater prompts to Claude or any MCP client.
MiniMax -JS
Official MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
mcp-bundler
Is the MCP configuration too complicated? You can easily share your own simplified setup!
akyn-sdk
Turn any data source into an MCP server in 5 minutes. Build AI-agents-ready knowledge bases.
promptboard
The Shared Whiteboard for Your AI Agents via MCP. Paste screenshots, mark them up, and share with AI.