All MCP Hosts
Inline MCP Apps Rendering~/.cursor/mcp.json · .cursor/mcp.json

Cursor MCP Setup Guide — Interactive Diagrams & Calculators

Drop one Streamable HTTP snippet into ~/.cursor/mcp.json with zero local build steps so Cursor renders clickable architecture flows, checkable runbooks, and live slider calculators directly in chat.

Where visuals render

  • Inline in Cursor: Renders interactive widgets inline inside the Cursor agent thread via MCP Apps with automatic light/dark matching.
  • Private web link fallback: Also returns a private vault URL /artifacts/<id> for full-screen exploration or team sharing.

Requirements & proactive triggers

  • Free tier ready: Includes 20 free interactive visuals/month with zero local runtime dependencies.
  • Optional .cursor/rules: Add a short rule file so Cursor proactively calls show_visual on workflows, comparisons, and calculators.

Connect Cursor in 3 Steps

1. Add the remote server to ~/.cursor/mcp.json

Paste this into global ~/.cursor/mcp.json (or project .cursor/mcp.json) pointing to https://diagramreply.com/api/mcp.

~/.cursor/mcp.jsonSave and refresh MCP servers in Cursor Settings to verify show_visual is connected
{
  "mcpServers": {
    "diagramreply": {
      "url": "https://diagramreply.com/api/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_API_KEY>"
      }
    }
  }
}

2. Optional: proactive visual rule (.cursor/rules/diagramreply.mdc)

Skip reminding Cursor to draw a diagram—add this short rule so it automatically calls show_visual whenever a visual fits the answer structure.

.cursor/rules/diagramreply.mdc
---
description: Proactively render interactive visuals with DiagramReply MCP
alwaysApply: true
---
When answering multi-part breakdowns, comparisons, workflows, checklists, or pricing/ROI math, call diagramreply.show_visual once with the matching type (cards, compare, overview, checklist, calculator, chart) and reply with a concise 1-3 sentence takeaway.

3. Free health check (zero quota cost)

Run get_wallet_status to confirm your API key and endpoint work before generating.

Free MCP health check
curl -sS -X POST "https://diagramreply.com/api/mcp" \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_wallet_status","arguments":{}}}'
Keys are strictly scoped to generations:write, generations:read and wallet:read.

Try These Live Interactive Examples in Cursor

Explore both interactive visuals below or copy either prompt straight into Cursor.

Example promptDesign a 6-step autonomous bug-fix loop for an AI coding agent with retry, rejection, and canary rollback branches plus per-step checklists.
AI Bug-Fix Closed Loopoverview · Feedback Loops