MCP Connection

Gigma uses the Streamable HTTP MCP transport. Any MCP-compatible client can connect.

Connection Config

{
  "mcpServers": {
    "gigma": {
      "type": "http",
      "url": "https://gigma-mcp-server-854058119143.us-central1.run.app/mcp/t/<YOUR_TOKEN>/"
    }
  }
}

Supported Clients

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "gigma": {
      "type": "http",
      "url": "https://gigma-mcp-server-854058119143.us-central1.run.app/mcp/t/<YOUR_TOKEN>/"
    }
  }
}

Claude Code

Add to your project's .mcp.json or global MCP settings.

Any MCP Client

The server supports standard MCP Streamable HTTP. Send JSON-RPC requests with:

Protocol Details

Testing with cURL

Initialize

curl -X POST "https://gigma-mcp-server-854058119143.us-central1.run.app/mcp/t/<TOKEN>/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}},"id":1}'

List Tools

curl -X POST "https://gigma-mcp-server-854058119143.us-central1.run.app/mcp/t/<TOKEN>/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","method":"tools/list","params":{},"id":2}'

Call a Tool

curl -X POST "https://gigma-mcp-server-854058119143.us-central1.run.app/mcp/t/<TOKEN>/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"get_canvas_info","arguments":{}},"id":3}'

Error Responses

Code Message Description
-32001 Invalid MCP token Token not found in database
-32000 Not Acceptable Missing Accept header
-32603 Internal server error Server-side failure