Skip to main content

Connect RadianAI via MCP (Model Context Protocol)

The RadianAI MCP Connector turns Google Gemini, Claude (Web & Desktop), ChatGPT, and Cursor / Windsurf into a full-stack cloud IDE, database inspector, and deployment engine.

When you connect @RadianAI over MCP, your external AI assistant writes, patches, and debugs code directly inside your RadianAI cloud workspace at 0 RadianAI generation credits.


Why Use the RadianAI MCP Connector?​

  • 0 AI Generation Credits: Your external AI client (Gemini, Claude, ChatGPT, or Cursor) performs the reasoning and code generation using your existing subscription while executing tools directly on RadianAI's cloud infrastructure.
  • Full-Stack & Mobile Companion Apps: Scaffold React + TypeScript + Tailwind CSS frontends, FastAPI + SQLAlchemy + Alembic backends, and isolated mobile companion views (?view=mobile) that compile into downloadable Android .APK packages and iOS Standalone Home Screen Apps.
  • Fast Surgical Code Edits (patch_project_file): Apply targeted search-and-replace blocks to large files in milliseconds without regenerating entire files.
  • Live Cloud Infrastructure: Provision and query Managed Neon PostgreSQL databases, deploy to Fly.io (Dev Sandbox or 24/7 Production), and publish to Netlify Global Edge directly from chat.

Step 1: Generate Your Personal MCP Key (rdn_pat_...)​

  1. Open Radian Studio and click MCP Connector (NEW) in the top navigation bar or left sidebar (/mcp).
  2. Copy the Remote MCP Server URL (SSE):
    https://mcp.0xforge.run/sse
    (Streamable HTTP transport is also available at https://mcp.0xforge.run/mcp.)
  3. Click Generate MCP Key to create your Personal Access Token (rdn_pat_...).
  4. Copy and save your rdn_pat_... keyβ€”it is used to authorize your AI client in Step 2.

:::tip Revoking Keys You can click Revoke Keys at any time in the MCP Connector Hub (/mcp) or Settings to immediately invalidate all previously issued rdn_pat_... tokens. :::


Step 2: Configure Your AI Client​

1. Google Gemini (Desktop & Web)​

  1. Open Google Gemini and navigate to Connectors / Extensions -> Add Custom MCP Server.
  2. Enter the Remote MCP Server URL:
    https://mcp.0xforge.run/sse
  3. When the RadianAI OAuth authorization window opens, paste your rdn_pat_... Personal Access Token and click Authorize.
  4. In any Gemini chat, type @ and select @RadianAI from the autocomplete menu before typing your prompt.

2. Claude (Web & Desktop)​

  1. Open Claude and go to Settings -> Integrations -> Add More / Add Custom Connector.
  2. Set the Name to RadianAI and the Remote MCP URL to:
    https://mcp.0xforge.run/sse
  3. Paste your rdn_pat_... key in the authorization screen and click Authorize.

Option B β€” Local Configuration (claude_desktop_config.json)​

Add the following block to your claude_desktop_config.json file, replacing rdn_pat_YOUR_PERSONAL_ACCESS_TOKEN with your key from Step 1:

{
"mcpServers": {
"radianai": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.0xforge.run/sse",
"--header",
"Authorization: Bearer rdn_pat_YOUR_PERSONAL_ACCESS_TOKEN"
]
}
}
}

3. ChatGPT (Desktop & Web Developer Mode)​

  1. Open ChatGPT Settings -> Connectors (or Developer Mode -> MCP Servers) and click Create / Add Server.
  2. Set Name to RadianAI and MCP Server URL to:
    https://mcp.0xforge.run/sse
  3. Complete the OAuth authorization prompt by pasting your rdn_pat_... key from Step 1.
  4. Enable the RadianAI connector in your chat tool selector.

4. Cursor & Windsurf IDE​

Save the following configuration to .cursor/mcp.json in your project root (or ~/.codeium/windsurf/mcp_config.json for Windsurf):

{
"mcpServers": {
"radianai": {
"url": "https://mcp.0xforge.run/sse",
"headers": {
"Authorization": "Bearer rdn_pat_YOUR_PERSONAL_ACCESS_TOKEN"
}
}
}
}

Step 3: Available MCP Capabilities (16 Tools)​

Once connected, your AI assistant has access to 16 specialized tools organized into 4 categories:

1. Discovery & Architecture (Read-Only)​

ToolDescription
radian_readmeLoads RadianAI's golden architectural rules, template conventions, modular component-splitting guidelines, and mobile companion (?view=mobile) patterns.
list_projectsLists your existing RadianAI projects with their project_id, project_type, status, and preview URLs.
get_project_contextReturns a complete architectural snapshot of a project: blueprint, file tree, database schema summary, and active deployment URLs.

2. Scaffold & Compiler Diagnostics​

ToolDescription
scaffold_projectInitializes a clean, pre-configured project workspace (application, api, website, ecommerce, mockup, dataviz, slides, document, spreadsheet) for 0 AI generation credits (direct_canvas=True).
get_project_statusChecks the live build/deployment status, Workspace Preview URL (https://{project_id}.preview.radianai.app), and active version info.
get_build_errorsRuns real-time TypeScript/Vite compilation and Python syntax checks against the workspace, returning exact line numbers for any errors.

3. Direct Workspace & Asset Tools​

ToolDescription
list_project_filesLists all source files in the active project version with sizes and paths.
read_project_fileReads the exact source code of any file in frontend/ or backend/.
patch_project_fileSurgical Search-and-Replace: Applies targeted {"search": "...", "replace": "..."} patches to an existing file without re-streaming the entire file, preventing LLM tool timeouts on large components.
update_project_fileCreates a new file or replaces a small file (< 250 lines) and hot-reloads the live Workspace Preview (https://{project_id}.preview.radianai.app).
batch_update_project_filesAtomically writes multiple newly created or modular component files in a single version commit.
list_project_assetsLists uploaded images, icons, and media assets for the project.
upload_project_assetUploads a base64 or URL media asset to S3/CloudFront for immediate use in the app.

4. Cloud Deployment, Database & Secrets​

ToolDescription
deploy_backendDeploys the project to Dev Sandbox (environment="dev", 0 deploy credits) or Production (environment="prod", provisions 24/7 Prod Fly.io VM + Dedicated Prod Neon PostgreSQL DB + Netlify Frontend).
inspect_and_query_dbLists tables, inspects columns, or executes SQL queries (SELECT / INSERT / UPDATE) against the project's Managed Neon PostgreSQL database.
manage_project_secretsLists, sets, deletes, or copies encrypted environment variables (STRIPE_SECRET_KEY, RESEND_API_KEY, etc.) between dev and production vaults.

Step 4: Example Workflows & Power Prompts​

1. Scaffold a Full-Stack App + Mobile Companion (.APK & iOS)​

@RadianAI Scaffold and build a full-stack application for an inventory & order tracker with a desktop admin dashboard and an isolated mobile companion screen (?view=mobile), then deploy the backend to Dev.

After the build finishes:

  • Open your project in Radian Studio -> Mobile App tab.
  • Switch between Android (.APK) (to build & scan the QR code for a native signed Android .APK) and iOS (iPhone) (to scan the QR code in Safari and tap Share -> Add to Home Screen for a fullscreen standalone iOS app).

2. Fast Surgical Edits on Existing Projects (patch_project_file)​

@RadianAI Inspect my latest project, add a CSV export button and dark-mode toggle to the dashboard using patch_project_file, and verify 0 build errors.

Every file edit immediately updates your Workspace Dev Preview at https://{project_id}.preview.radianai.app.

3. Inspect & Query Your Live Neon PostgreSQL Database​

@RadianAI List all database tables and show the latest 10 rows in my project's Managed Neon PostgreSQL database.

4. Promote from Workspace Preview -> Dev Sandbox -> Production​

@RadianAI Deploy my project to Production (environment='prod') so my Production Fly.io API, Production Neon DB, and Netlify site go live.