The MCP server lets AI clients such as Claude Code, GitHub Copilot, Codex and Claude Desktop read and edit your Astah models through MCP (Model Context Protocol). It comes with Astah as part of AI Chat Copilot, so there is nothing extra to install. For use cases with prompts and videos, see AI Modeling in Astah.

What is MCP?
MCP (Model Context Protocol) is a standard way to connect AI clients to tools and applications. For details, see the official MCP documentation.
The MCP server works with these products, version 11 and later:
It is developed by Change Vision and is separate from the community Astah Pro MCP plugin.
Through the MCP server, AI clients can create and edit these diagrams in the latest version of each product.
| Diagram | Products |
|---|---|
| Class diagram | Astah Professional, Astah UML |
| Use case diagram | Astah Professional, Astah UML |
| Sequence diagram | Astah Professional, Astah UML |
| Activity diagram | Astah Professional, Astah UML |
| State machine diagram | Astah Professional, Astah UML |
| ER diagram | Astah Professional |
| Requirement diagram | Astah SysML, Astah System Safety |
| Block definition diagram | Astah SysML, Astah System Safety |
| Internal block diagram | Astah SysML, Astah System Safety |
| Parametric diagram | Astah SysML, Astah System Safety |
In Astah Professional and Astah UML, AI clients can also import and export PlantUML. See Start from PlantUML.
Other AI clients that support MCP also work. See Connect your AI client.
Astah has no built-in AI. The MCP server uses the AI service and API key set in AI Chat Copilot’s AI Settings, so set them before you start.



Register the MCP server in your AI client once.
Connection information
http://localhost:3099/mcpSelect your AI client:
In a terminal on the computer where Claude Code is installed, run:
claude mcp add --transport http --scope user astah-mcp http://localhost:3099/mcp--scope sets where the setting applies:
.mcp.json in your project, so you can share it with your teamhttp://localhost:3099/mcp as the URL and astah-mcp as the server ID.{
"mcpServers": {
"astah-mcp": {
"url": "http://localhost:3099/mcp",
"type": "streamableHttp",
"disabled": false
}
}
}/mcp add.astah-mcp as the server name, select HTTP as the server type, and enter http://localhost:3099/mcp as the URL.In Command Prompt (Windows) or Terminal (macOS and Linux), run:
codex mcp add astah-mcp npx mcp-remote http://localhost:3099/mcpThis uses npx, so Node.js 18 or later must be installed.
claude_desktop_config.json and save it:{
"mcpServers": {
"astah-mcp": {
"command": "npx",
"args": ["-y", "mcp-remote", "http://localhost:3099/mcp", "--allow-http"]
}
}
}This needs Node.js 18 or later.
Start Astah first
Start Astah before your AI client. If the AI client starts first, it may not connect to the MCP server.
Then ask your AI client to work with your Astah model. Select a use case to see prompts you can copy:
Write a PlantUML class diagram for a library system with Member,
Book, Author and Loan. A member can borrow up to 5 books at a time.Import this PlantUML into Astah as a class diagram named
"Library - Domain Model". Then add a Reservation class linked
to Member and Book.Export the class diagram "Library - Domain Model" from Astah as PlantUML,
including the changes I made by hand.Supported for class, use case, sequence, activity and state machine diagrams. To import or export PlantUML without AI, use the PlantUML Plugin.
Available in Astah Professional and Astah UML.
Read docs/requirements.md and create a UML class diagram named
"Library - Domain Model" in Astah with the main classes, attributes,
relationships and multiplicities.Compare the class diagram "Library - Domain Model" with the classes
in src/library and list the differences. Do not change the model yet.Available in Astah Professional and Astah UML. In Astah SysML and Astah System Safety, ask for SysML diagrams instead.
Review the class diagram "Library - Domain Model" in Astah. List missing
elements, unclear relationships and naming inconsistencies, most important
first. Do not change the model yet.Apply suggestions 2, 3 and 4.Available in all four products.
→ More AI examples, with prompts and screenshots
Select an issue to see how to fix it.
Cause: Another application is using the same port.
http://localhost:3010/mcp.Cause: Astah was started after the AI client, or the settings have not been applied.
Cause: Node.js older than version 18 is installed.
node --version in Command Prompt or Terminal to check the version.The MCP server is part of the AI Chat Copilot plugin, so updating AI Chat Copilot also updates the MCP server. To check your version and update, see Update AI Chat Copilot.
What are you looking for?