Connect your Runtype MCP Surface to Cursor or VS Code to give your AI coding assistant access to your Capabilities.
Prerequisites
- Cursor or VS Code installed
- An active MCP Surface in Runtype
- MCP server URL from your Surface settings (found in the Ship tab)
For Cursor
With OAuth (recommended)
- Open Cursor.
- Go to Settings with
Cmd/Ctrl + ,.
- Search for
MCP.
- Click Add new MCP server.
- Paste the MCP server URL from the Ship tab.
- Authorize in the browser prompt.
With API Key
- Open Cursor.
- Go to Settings with
Cmd/Ctrl + ,.
- Search for
MCP.
- Click Add new MCP server.
- Paste the provided config from the Ship tab.
- Replace
YOUR_API_KEY with an MCP API key (with the mcp_ prefix) from the Keys tab.
- Reload the window.
For VS Code with Cline
Open Cline settings
- Open VS Code
- Click the Cline icon in the sidebar
- Click the gear icon (Settings)
- Scroll to MCP Servers
- Click Edit MCP Settings
Add your server
Paste the MCP server URL from the Ship tab. If using API key authentication, add the key with the mcp_ prefix.
Reload Cline
- Save the configuration
- Close and reopen the Cline sidebar
Verify connection
Check that your tools are available:
- Open the AI assistant chat
- Look for tools/MCP indicator
- Your Runtype Capabilities should be listed as available tools
Using your Capabilities
The AI assistant will automatically use your tools when appropriate. You can also explicitly request them:
“Use the code-review tool to analyze this file”
The assistant invokes your Runtype Capability and incorporates the results into its response.
MCP tools work best when they are focused and well-described. A tool that “gets customer data” is clearer to the AI than a generic “database query” tool.
Troubleshooting
Server fails to connect:
- Verify your API key is valid and uses the
mcp_ prefix
- Check that the MCP Surface status is Active in Runtype
- Look for errors in the IDE’s output panel
Tools not visible:
- Check that your Product has active Capabilities
- Verify Capabilities are enabled in the Endpoints tab of your MCP Surface
- Reload the IDE window
Next steps