Skip to main content

Overview

Connect Bilt MCP Server to Cursor IDE to enable AI-powered native mobile application development with seamless code generation, building, and deployment capabilities.
Cursor natively supports MCP through project-level or global configuration files.

Platform Support

macOSFull support for macOS 11+
WindowsFull support for Windows 10+
LinuxFull support for all major distros

Prerequisites

  1. Cursor installed - Download from cursor.sh
  2. Bilt API token - Get one at bilt.me/sign-up

Setup Options

You can configure Bilt MCP in two ways:
  1. Project-specific (Recommended) - Only available in specific projects
  2. Global - Available in all projects

Step 1: Create Config Directory

In your project root:

Step 2: Create Config File

Create .cursor/mcp_config.json:

Step 3: Add Bilt Configuration

Replace YOUR_TOKEN_HERE with your actual Bilt API token.

Step 4: Reload Cursor

Press Cmd/Ctrl + Shift + P → Type “Reload Window” → Enter

Global Setup

Step 1: Locate Global Config

Step 2: Edit Config

Step 3: Add Configuration

Same JSON as project-specific setup:

Step 4: Restart Cursor

Quit Cursor completely and reopen.

Verification

Check Tool Availability

In Cursor’s AI chat, ask:
You should see:

Test a Tool

Try creating a project:
Cursor should invoke bilt_create_project automatically.

Configuration Options

Store tokens securely using environment variables:
Then set the variable:

Multiple Environments

Configure dev and production tokens:
Then specify which to use:

Team Configuration

Commit .cursor/mcp_config.json for team-wide access:
Add to .gitignore:
Team members set their tokens:

Using Bilt in Cursor

Natural Language Integration

Cursor automatically integrates Bilt tools into its AI workflow:

Code Generation + Deployment

Iterative Development


Cursor-Specific Features

AI Chat Integration

Bilt tools appear in Cursor’s AI chat automatically:

Inline Suggestions

When writing code, Cursor can suggest Bilt deployments:

Terminal Integration

Use Bilt commands in Cursor’s integrated terminal:

Troubleshooting

Check config location:Project-specific: project-root/.cursor/mcp_config.jsonGlobal: ~/.cursor/mcp_config.json or %USERPROFILE%\.cursor\mcp_config.jsonVerify JSON syntax:
Reload window: Cmd/Ctrl + Shift + P → “Reload Window”
Check token format:
  • Must start with bilt_live_
  • No extra spaces
  • No quotes inside the Bearer string
Test token:
Should return: {"status":"ok"}Regenerate token: Go to bilt.me/settings/api-keys
Check internet:
Check firewall: Ensure HTTPS (port 443) is allowedTry different network: Test on mobile hotspot or different WiFi
Check file permissions:
Should be readable by your user.Move to global config: If project-specific isn’t working, try global:

Best Practices

Use project-specificKeep configs isolated per project
Environment variablesNever commit tokens to git
Team sharingShare config structure, not tokens
Rotate tokensUpdate tokens every 90 days

.gitignore Template

Add to your .gitignore:
Then in .cursor/mcp_config.json:
Team members set their own tokens via env vars.

Keyboard Shortcuts

Reload WindowCmd/Ctrl + Shift + P → “Reload Window”
Open AI ChatCmd/Ctrl + L
SettingsCmd/Ctrl + ,
Command PaletteCmd/Ctrl + Shift + P

Advanced Usage

Custom Workspace Settings

Add to .vscode/settings.json:

Multi-Project Setup

Different Bilt projects per workspace:

Next Steps

API Reference

Learn about all 8 Bilt tools

Cursor Docs

Learn more about Cursor