Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@RapidChart MCP Servergenerate a class diagram from my User model in models.py"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
RapidChart MCP Server
Model Context Protocol (MCP) server for RapidChart - Generate and manage diagrams directly from Cursor IDE.
Features
π¨ Generate diagrams from code (Class, ER, Sequence, Architecture, etc.)
π Update existing diagrams with new code
π Organize diagrams in workspaces and folders
π€ Support for multiple AI models (GPT-5, Claude, Gemini)
π Secure Bearer token authentication
π³ Respects your RapidChart credits and API keys
Installation
pip install rapidchart-mcpOr install from source:
git clone https://github.com/Samicostox/rapidchart-mcp.git
cd rapidchart-mcp
pip install -e .Configuration
1. Generate API Token
Go to RapidChart Settings
Navigate to "API Tokens"
Click "Generate New Token"
Copy the token (starts with
rc_)
2. Configure Cursor
Add to your Cursor MCP settings (~/.cursor/mcp.json or workspace .cursor/mcp.json):
{
"mcpServers": {
"rapidchart": {
"command": "python",
"args": ["-m", "rapidchart_mcp"],
"env": {
"RAPIDCHART_API_TOKEN": "rc_your_token_here",
"RAPIDCHART_API_URL": "https://fastuml-0bb6938ba599.herokuapp.com",
"RAPIDCHART_DEFAULT_TYPE": "general",
"RAPIDCHART_FEW_PROMPTS": "false",
"RAPIDCHART_GUIDELINES": "true"
}
}
}
}Usage
In Cursor
Once configured, you can use natural language:
User: "Generate a class diagram from src/models.py"
β Cursor reads the file and calls RapidChart MCP
β Returns diagram URL
User: "List my available AI models"
β Shows models with your credit status
User: "Update diagram abc123 with new code from src/models.py"
β Updates the diagram with context awarenessAvailable Tools
list_models- Show available AI models and your creditslist_workspaces- List your workspaceslist_folders- List folders in a workspacelist_diagrams- Browse your diagramscreate_diagram- Generate diagram from codeget_diagram- Get specific diagram detailsupdate_diagram- Update diagram with new codedelete_diagram- Delete a diagrammove_diagram- Move diagram to different folder/workspace
Environment Variables
Variable | Required | Default | Description |
| β Yes | - | Your RapidChart API token |
| No | Production URL | API base URL |
| No |
| Default diagram type |
| No | Auto | Default AI model ID |
| No |
| Enable multi-step thinking |
| No |
| Include diagram guidelines |
| No |
| Request timeout (seconds) |
Development
# Clone the repo
git clone https://github.com/rapidchart/rapidchart-mcp.git
cd rapidchart-mcp
# Install in development mode
pip install -e .
# Run tests
pytest
# Run the server directly
python -m rapidchart_mcpKnown Issues
503 Timeout on Diagram Creation
Symptom: You get a 503 Service Unavailable error, but the diagram is created successfully.
Cause: Heroku has a 30-second router timeout. Complex diagrams can take 30-60+ seconds to generate.
Solution:
The diagram IS being created despite the error
Run
list_diagramsto see your newly created diagramThis is a Heroku limitation, not a bug in RapidChart
Workaround: Use simpler code or smaller diagrams for faster generation.
License
MIT
Support
π§ Email: hello@rapidchart.com
π Issues: GitHub Issues
π Docs: docs.rapidchart.com
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.