Overview
Model Context Protocol (MCP) allows you to reference your Spine canvas directly in other applications like Cursor, Lovable, Replit, ChatGPT, and Claude Code. Once configured, simply paste your canvas URL into any of these tools, and they can access all your canvas content, blocks, and context.How It Works
MCP enables Spine to share canvas data with MCP-compatible applications. Once you’ve configured the MCP server in your tool, you can paste any Spine canvas URL to give that tool access to all the blocks, connections, and context on that canvas.Setting Up MCP
Setup instructions vary by platform. Follow the guide for your specific application below.Enterprise / Custom Deployments: If you’re on an enterprise plan with a custom deployment, the MCP URL may differ from the standard URL shown in these instructions. Please reach out to our support team at [email protected] to get the correct MCP URL for your deployment.
Enterprise / Custom Deployments
If your organization has an enterprise plan with a custom deployment (such as a dedicated instance), you’ll need to use a different MCP URL than the standardhttps://mcp.getspine.ai/mcp shown in these instructions.
To get your custom MCP URL:
- Contact our support team at [email protected]
- Provide your organization name or account details
- Our team will provide you with the correct MCP URL for your deployment
- Use this custom URL in place of the standard URL in all the platform-specific setup instructions below
https://mcp.getspine.ai/mcp with your organization’s custom MCP URL.
Cursor
-
Locate or Create MCP Configuration File:
- macOS/Linux:
~/.cursor/mcp.json - Windows:
%USERPROFILE%\.cursor\mcp.json - If the file doesn’t exist, create it.
- macOS/Linux:
-
Edit the Configuration File:
- Open
mcp.jsonin a text editor - Add the following configuration:
- Save the file
- Open
-
Alternative: Use Cursor Settings:
- Open Cursor Settings (
Cmd+,/Ctrl+,) - Navigate to Settings → MCP (or Features → MCP)
- Click “Add new global MCP server”
- Enter the configuration above
- Open Cursor Settings (
- Restart Cursor – Fully quit and restart Cursor to apply the changes
Lovable
- Open Lovable Settings – Navigate to Settings → MCP Servers (or Settings → Integrations → MCP)
- Add Spine Server – Scroll down to “Your MCP Servers” section
- Set Up Spine – Click “Set up” or “Add MCP Server”
- Enter Configuration:
- Server Name:
spine-ai - Server URL:
https://mcp.getspine.ai/mcp
- Server Name:
- Save and Verify – Click “Save” or “Connect” and verify “Spine” appears in your connected services
Replit
Replit uses install links with base64-encoded configuration to add MCP servers.-
Generate Install Link (if available):
- Visit Replit’s MCP install links documentation to generate a custom install link
- The install link format uses base64-encoded JSON with:
-
Use Install Link:
- Click the generated install link or share it with users
- This will automatically configure the MCP server in Replit
-
Manual Configuration (Alternative):
- Open your Replit project
- Navigate to Settings → Integrations or look for MCP settings
- Add a new MCP server with:
- Display Name:
Spine AI - Base URL:
https://mcp.getspine.ai/mcp
- Display Name:
- Save the configuration
ChatGPT
-
Enable Developer Mode:
- Click your profile icon → Settings & Beta
- Navigate to Settings → Apps → Advanced
- Toggle on Developer mode
-
Create a Custom Connector:
- Navigate to a new chat and click the + icon.
- Click “More” and then “Add sources”
- Click “Add” then “Connect More”. Then, in advanced settings, click “Create App”.
- Fill in the details:
- Connector Name:
Spine AI - Description:
Access your Spine canvases and send them to ChatGPT - Connector URL:
https://mcp.getspine.ai/mcp
- Connector Name:
- Click Create. It will prompt you to authenticate. Follow the steps then you’ll be back in ChatGPT.
-
Enable in Chat:
- Open a new chat in ChatGPT
- Click the + button near the message composer
- Select Developer mode and toggle on your Spine AI connector
- Verify – Test by pasting a Spine canvas URL into your ChatGPT conversation
Claude Code
Claude Code uses theclaude mcp add command to configure MCP servers via the command line.
-
Add the Spine MCP Server:
- Open your terminal
- Run the following command:
- This configures the Spine MCP server with the name
spine-ai
-
Alternative: Manual Configuration File:
- You can also manually edit your MCP configuration file
- Project scope (shared with team): Create or edit
.mcp.jsonin your project root - User scope (personal): Edit the user-level MCP configuration file
- Add the following configuration:
-
Verify Configuration:
- List your configured MCP servers:
- You should see
spine-aiin the list - Get details about the server:
- List your configured MCP servers:
-
Use in Claude Code:
- Start a new conversation in Claude Code
- Paste your Spine canvas URL directly into the chat
- Claude Code will automatically use the MCP server to access your canvas content
--scope local(default): Available only to you in the current project--scope project: Shared with everyone in the project via.mcp.jsonfile--scope user: Available to you across all projects
How to Use
Once MCP is configured in your application:- Get Your Canvas URL – In Spine, open the canvas you want to reference and copy its URL from your browser’s address bar
- Paste the URL – Simply paste the canvas URL into your tool (Cursor, Lovable, Replit, ChatGPT, or Claude Code)
- Access Canvas Content – The tool can now reference and use all the content from that canvas, including:
- All blocks – Every block on your canvas
- Block content – Text, outputs, and data from each block
- Connections – All context passing relationships between blocks
- Block metadata – Block types, models used, and configuration settings
- Canvas structure – The overall organization and layout information
Troubleshooting
Connection Issues:- Verify the URL is correct:
https://mcp.getspine.ai/mcp - Ensure the receiving application supports MCP
- Check your internet connection
- Make sure the JSON configuration is properly formatted
- Verify the MCP server configuration matches the exact format shown above
- Check that MCP is enabled in your application settings
- Some applications may require a restart after configuration
- Verify you have permission to access the canvas in Spine
- Check that the canvas isn’t archived or deleted
- Ensure the canvas URL is correct and complete
- Make sure you’re logged into Spine in your browser
- Verify the MCP server is properly configured and the connection is active