CloudForge MCP Server
Converts CloudForge diagrams to Mermaid flowcharts for visualization, including tools to fetch diagrams and render them as inline Mermaid charts or convert raw diagram JSON to Mermaid format.
Provides comprehensive Terraform integration including generating HCL from natural-language descriptions, exporting HCL from existing diagrams, importing existing HCL to create diagram structures with Mermaid previews, and managing infrastructure as code.
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., "@CloudForge MCP Servergenerate Terraform for a simple AWS VPC with public and private subnets"
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.
CloudForge MCP Server
MCP server for CloudForge — lets Claude and other AI assistants visualise cloud architecture diagrams, generate Terraform HCL, import existing IaC, and manage your infrastructure resources directly from chat.
Tools
Visualisation
Tool | Description |
| Fetch a saved diagram and render it as an inline Mermaid flowchart |
| Structured summary: resource counts by category, central components, inline diagram |
| Convert raw diagram JSON to Mermaid without fetching from the server |
Terraform
Tool | Description |
| Generate Terraform HCL from a natural-language architecture description |
| Export Terraform HCL from an existing saved diagram in one step |
| Parse existing HCL → diagram structure + Mermaid preview |
AI Architect
Tool | Description |
| Ask the CloudForge AI Architect for IaC advice, cost estimates, security reviews |
| Get AI-recommended resources and connections for a described use case |
Diagram Management
Tool | Description |
| List saved diagrams with metadata |
| Get recently accessed/modified diagrams |
| Fetch a diagram by ID (full JSON) |
| Save or update a diagram |
| Permanently delete a diagram |
Organisation
Tool | Description |
| List organisation members (name, email, role, status) |
| Send an organisation invitation |
| List pending invitations |
| Cancel a pending invitation |
| Remove a member from the organisation |
Setup
Claude Desktop (recommended)
Add to your claude_desktop_config.json:
{
"mcpServers": {
"cloudforge": {
"command": "npx",
"args": ["-y", "cloudforge-mcp"],
"env": {
"CLOUDFORGE_TOKEN": "your-bearer-token"
}
}
}
}Claude Code / .mcp.json
{
"mcpServers": {
"cloudforge": {
"command": "npx",
"args": ["-y", "cloudforge-mcp"],
"env": {
"CLOUDFORGE_TOKEN": "your-bearer-token"
}
}
}
}Authentication
Sign in at cloudforge.cloud
Go to Account → API Keys
Click Generate API Key, give it a name (e.g.
CloudForge MCP), and copy the key — it starts withcf_live_and is shown only onceSet it as
CLOUDFORGE_TOKENin your MCP config
The key is long-lived and can be revoked from the same page at any time.
Environment Variables
Variable | Default | Description |
| (required) | CloudForge API key — must start with |
|
| API base URL — only change if self-hosting |
Example prompts
Show me my recent diagramsRender diagram <id> as a Mermaid chartGenerate Terraform for a 3-tier Azure web app with a private SQL database in UK SouthImport this Terraform and show me a diagram: <paste HCL>What are the security best practices for the resources in diagram <id>?Invite john@example.com as a Member to my organisationSelf-hosting
If you run CloudForge on-premises, point the server at your own API:
"env": {
"CLOUDFORGE_API_URL": "https://your-cloudforge-host/api",
"CLOUDFORGE_TOKEN": "your-token"
}License
MIT © CloudForge
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cloudforgetech6-ctrl/mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server