RationalBloks

Deploy production REST and Neo4j Graph APIs from JSON schemas in seconds. 49 tools.

OtherPythonv0.14.1

RationalBloks MCP Server

Deploy production APIs in minutes. 48 tools for projects, schemas, deployments, object storage, and graph data — delivered on infrastructure you own (self-host or your own BYOC cluster).

License Python PyPI

What Is This?

RationalBloks MCP lets AI agents (Claude, Cursor, etc.) deploy production APIs from a JSON schema. No backend code to write. No infrastructure to manage.

"Create a task management API with tasks, projects, and users"
→ 2 minutes later: Production API running on Kubernetes

Installation

# recommended — no install step, always the latest release
uvx rationalbloks-mcp@latest

# or install into an environment
pip install rationalbloks-mcp

Quick Start

1. Get Your API Key

Visit rationalbloks.com/settings and create an API key.

2. Configure Your AI Agent

VS Code - Add to .vscode/mcp.json (Cursor: .cursor/mcp.json with a mcpServers key):

{
  "servers": {
    "rationalbloks": {
      "command": "uvx",
      "args": ["rationalbloks-mcp@latest"],
      "env": {
        "RATIONALBLOKS_API_KEY": "rb_sk_your_key_here"
      }
    }
  }
}

Claude Desktop - Add to claude_desktop_config.json:

{
  "mcpServers": {
    "rationalbloks": {
      "command": "uvx",
      "args": ["rationalbloks-mcp@latest"],
      "env": {
        "RATIONALBLOKS_API_KEY": "rb_sk_your_key_here"
      }
    }
  }
}

Remote (no install): point any MCP client at https://mcp.rationalbloks.com/mcp (Streamable HTTP) with Authorization: Bearer rb_sk_....


48 Tools

Relational Read Operations (15 tools)

ToolDescription
list_projectsList all your projects
get_projectGet project details
get_schemaGet current JSON schema
get_user_infoGet authenticated user info
get_job_statusCheck deployment job status
get_project_infoDetailed project info with K8s status
get_version_historyGit commit history
get_template_schemasPre-built schema templates
get_schema_referenceAdvanced schema features reference (__policy__, computed, __constraints__, __audit__)
get_subscription_statusPlan and usage limits
get_project_usageCPU/memory metrics
get_project_storage_usageObject-storage file count and bytes used vs limits
list_project_filesList uploaded files (metadata + public URLs)
get_schema_at_versionSchema at specific commit
list_clustersList your BYOC resource pools (client-owned clusters)

Relational Write Operations (7 tools)

ToolDescription
create_projectCreate new project from schema (cluster_id of one of your BYOC pools is required; backend_type python or rust)
update_schemaUpdate project schema (dry_run: true previews the migration plan without saving)
deploy_stagingDeploy to staging environment
deploy_productionDeploy to production
delete_projectDelete project permanently
rollback_projectRollback to previous version
rename_projectRename project

Graph Schema Operations (11 tools)

ToolDescription
get_graph_schemaGet graph project schema
get_graph_template_schemasPre-built graph schema templates
get_graph_version_historyGraph schema version history
get_graph_schema_at_versionSchema at specific version
get_graph_project_infoGraph project info with K8s/Neo4j status
create_graph_projectCreate Neo4j graph project
update_graph_schemaUpdate graph schema
deploy_graph_stagingDeploy graph to staging
deploy_graph_productionDeploy graph to production
delete_graph_projectDelete graph project
rollback_graph_projectRollback graph to previous version

Graph Data Operations (15 tools)

ToolDescription
create_graph_nodeCreate a single node
get_graph_nodeGet node by ID
list_graph_nodesList nodes by entity type
update_graph_nodeUpdate node properties
delete_graph_nodeDelete a node
create_graph_relationshipCreate a relationship
get_node_relationshipsGet node's relationships
delete_graph_relationshipDelete a relationship
bulk_create_graph_nodesBulk create nodes
bulk_create_graph_relationshipsBulk create relationships
search_graph_nodesSearch nodes by property filters
fulltext_search_graphFull-text search across all fields
traverse_graphTraverse graph from a node
get_graph_statisticsGet graph statistics (counts)
get_graph_data_schemaGet deployed data schema

Schema Format

Schemas must be in FLAT format:

{
  "tasks": {
    "title": {"type": "string", "max_length": 200, "required": true},
    "status": {"type": "string", "max_length": 50, "enum": ["pending", "done"]},
    "due_date": {"type": "date", "required": false}
  },
  "projects": {
    "name": {"type": "string", "max_length": 100, "required": true}
  }
}

Field Types

TypeRequired Properties
stringmax_length
textNone
integerNone
decimalprecision, scale
booleanNone
uuidNone
dateNone
datetimeNone
jsonNone

Auto-Generated Fields

These are automatic - don't define them:

  • id (UUID primary key)
  • created_at (datetime)
  • updated_at (datetime)

User Authentication

Use the built-in app_users table:

{
  "employee_profiles": {
    "user_id": {"type": "uuid", "foreign_key": "app_users.id", "required": true},
    "department": {"type": "string", "max_length": 100}
  }
}

Frontend

For frontend development, use our NPM packages:

npm install @rationalbloks/frontblok-auth @rationalbloks/frontblok-crud

These provide:

  • frontblok-auth: Authentication, login, tokens, user context
  • frontblok-crud: Generic CRUD via getApi().getAll(), getApi().create(), etc.

Environment Variables

VariableDescriptionDefault
RATIONALBLOKS_API_KEYYour API key (required for stdio; HTTP clients send it as a Bearer token per request)-
TRANSPORTstdio or httpstdio
HOST / PORTBind address for TRANSPORT=http0.0.0.0 / 8000
LOGICBLOK_URLLogicBlok gateway base URLhttps://logicblok.rationalbloks.com
RATIONALBLOKS_DEBUGPrint full tracebacks on startup errorsunset

Support

License

Proprietary - Copyright 2026 RationalBloks. All Rights Reserved.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
uvx rationalbloks-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "com-rationalbloks-mcp": {
      "command": "uvx",
      "args": [
        "rationalbloks-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

rationalbloks-mcppypi

Compatible MCP Clients

RationalBloks works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More