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.APKpackages 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_...)β
- Open Radian Studio and click MCP Connector (
NEW) in the top navigation bar or left sidebar (/mcp). - Copy the Remote MCP Server URL (SSE):
(Streamable HTTP transport is also available athttps://mcp.0xforge.run/sse
https://mcp.0xforge.run/mcp.) - Click Generate MCP Key to create your Personal Access Token (
rdn_pat_...). - 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)β
- Open Google Gemini and navigate to Connectors / Extensions -> Add Custom MCP Server.
- Enter the Remote MCP Server URL:
https://mcp.0xforge.run/sse
- When the RadianAI OAuth authorization window opens, paste your
rdn_pat_...Personal Access Token and click Authorize. - In any Gemini chat, type
@and select@RadianAIfrom the autocomplete menu before typing your prompt.
2. Claude (Web & Desktop)β
Option A β Remote Integration (Recommended for Claude Pro / Team / Desktop)β
- Open Claude and go to Settings -> Integrations -> Add More / Add Custom Connector.
- Set the Name to
RadianAIand the Remote MCP URL to:https://mcp.0xforge.run/sse - 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)β
- Open ChatGPT Settings -> Connectors (or Developer Mode -> MCP Servers) and click Create / Add Server.
- Set Name to
RadianAIand MCP Server URL to:https://mcp.0xforge.run/sse - Complete the OAuth authorization prompt by pasting your
rdn_pat_...key from Step 1. - 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)β
| Tool | Description |
|---|---|
radian_readme | Loads RadianAI's golden architectural rules, template conventions, modular component-splitting guidelines, and mobile companion (?view=mobile) patterns. |
list_projects | Lists your existing RadianAI projects with their project_id, project_type, status, and preview URLs. |
get_project_context | Returns a complete architectural snapshot of a project: blueprint, file tree, database schema summary, and active deployment URLs. |
2. Scaffold & Compiler Diagnosticsβ
| Tool | Description |
|---|---|
scaffold_project | Initializes 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_status | Checks the live build/deployment status, Workspace Preview URL (https://{project_id}.preview.radianai.app), and active version info. |
get_build_errors | Runs real-time TypeScript/Vite compilation and Python syntax checks against the workspace, returning exact line numbers for any errors. |
3. Direct Workspace & Asset Toolsβ
| Tool | Description |
|---|---|
list_project_files | Lists all source files in the active project version with sizes and paths. |
read_project_file | Reads the exact source code of any file in frontend/ or backend/. |
patch_project_file | Surgical 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_file | Creates 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_files | Atomically writes multiple newly created or modular component files in a single version commit. |
list_project_assets | Lists uploaded images, icons, and media assets for the project. |
upload_project_asset | Uploads a base64 or URL media asset to S3/CloudFront for immediate use in the app. |
4. Cloud Deployment, Database & Secretsβ
| Tool | Description |
|---|---|
deploy_backend | Deploys 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_db | Lists tables, inspects columns, or executes SQL queries (SELECT / INSERT / UPDATE) against the project's Managed Neon PostgreSQL database. |
manage_project_secrets | Lists, 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.