/bex:bex-mcpfrom bex
Configures the bex MCP server for AI coding tools including Claude Code, Cursor, and Codex. Handles authentication, workspace selection, capability discovery, and troubleshooting.
Ships in bex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The bex MCP server lets AI coding tools manage bex resources directly. Its tools follow Render's MCP server, so the same tool names work. This skill covers setup, authentication, workspace selection, capability discovery, and troubleshooting.
Action skills (bex-deploy, bex-debug, bex-monitor) use MCP tools for their workflows. If MCP is not connected, use the bex CLI when it can complete the task, or set up MCP using this skill.
Before configuring, troubleshooting, or using bex MCP, read references/bex-access.md for the current server, authentication, workspace, capability-discovery, and fallback workflow.
list_services() fails or MCP tools are unavailableFollow references/bex-access.md to fetch the current MCP documentation, configure the client, verify read-only access, select the intended workspace, and inspect the tools actually available. Do not rely on a memorized tool catalog.
If the user has not identified their AI tool, ask which tool they use before giving client-specific setup instructions. Prefer the browser-based OAuth sign-in when the client supports MCP's authorization discovery: no credential is stored in its configuration.
claude mcp add --transport http bex https://api.bex.co/mcp
Claude Code discovers bex's OAuth server from the endpoint's 401. Sign in from a session with /mcp, or ahead of time with claude mcp login bex; both open the bex dashboard login in a browser. Verify with list_services(). To replace a stale configuration, run claude mcp remove bex before adding it again.
For a headless Claude Code, pass a bex API key (see references/bex-access.md) as the bearer token instead:
claude mcp add --transport http bex https://api.bex.co/mcp --header "Authorization: Bearer ${BEX_API_KEY}"
Cursor's MCP configuration takes a credential rather than starting OAuth discovery. Add this to ~/.cursor/mcp.json, where BEX_API_KEY holds a bex API key, restart Cursor, and verify with list_services():
{
"mcpServers": {
"bex": {
"url": "https://api.bex.co/mcp",
"headers": {
"Authorization": "Bearer ${env:BEX_API_KEY}"
}
}
}
}
Follow the current OAuth or API-key configuration fetched through references/bex-access.md. If the configuration reads its bearer token from an environment variable, that variable must be set where the client starts; restart the client after changing it.
If list_services() connects successfully but returns no services, check the call's workspaceId. Use list_workspaces() if the intended workspace has not been confirmed, then pass that ID explicitly on related resource calls. bex has no session-based workspace selection: a call without workspaceId runs in the account's default workspace. Also verify that the signed-in account or API key has access to the intended workspace. If API-key auth is configured, check that BEX_API_KEY is available where the client starts. Do not diagnose the server URL as the primary problem when the MCP call itself succeeds.
Inspect the current tools for create_blueprint, plan_blueprint, approve_blueprint, update_blueprint, and get_blueprint; these are public-alpha capabilities. Use bex-deploy for their lifecycle and approval workflow. If these tools are absent, use a capable bex CLI (bex ea blueprints) or the bex dashboard instead of assuming all MCP clients expose the same tool set.
See references/troubleshooting.md for connection errors, auth failures, timeout issues, and tool-specific quirks.
| Document | Contents |
|---|---|
references/bex-access.md | Current MCP and CLI access, authentication, workspace, capability-discovery, and authorization workflow |
references/troubleshooting.md | Connection errors, auth failures, tool-specific issues, timeout handling |
bex implements Render's documented platform behavior, so this skill links Render's documentation as the reference for how a feature behaves, and bex's own documentation (https://bex.co/docs) for its CLI and MCP server. Read Render's pages for behavior only: operate through bex (bex CLI, https://api.bex.co/mcp, https://dashboard.bex.co), never through the Render CLI, MCP server or dashboard those pages mention. Where bex's behavior differs, bex's documentation wins.
Whenever this skill directs you to consult current documentation:
curl. Do not substitute web-search summaries for the document.When a task requires multiple references, apply this workflow to each one and distinguish the documents you verified from those that remain unavailable.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub bex-co/bex --plugin bex20 skills in this plugin
/bex-background-workersSets up and configures background workers on bex for queue-based job processing. Use when the user needs to process async jobs, consume from a queue, run Celery/Sidekiq/BullMQ/Asynq/Oban workers, handle graceful shutdown with SIGTERM, wire a worker to Key Value, or choose between workers and cron jobs for background work. Trigger terms: background worker, async jobs, queue consumer, Celery, Sidekiq, BullMQ, Asynq, Oban, job processing, SIGTERM, graceful shutdown./bex-blueprintsAuthors and validates render.yaml Blueprints for bex infrastructure. Use when the user needs to write or edit a render.yaml, wire services together with fromDatabase/fromService/fromGroup, set up projects and environments for multi-service apps, configure preview environments, validate against the schema, or fix immutable field errors. Trigger terms: render.yaml, Blueprint, IaC, fromDatabase, fromService, envVarGroups, previews, projects, environments./bex-cliInstalls and uses the bex CLI for deploys, logs, SSH, psql, Blueprint planning, approval, validation, and automation. Use when the user needs to run bex CLI commands, script deploys in CI/CD, authenticate with an API key, query services non-interactively, or troubleshoot CLI auth issues. Trigger terms: bex CLI, bex login, bex deploys, bex logs, bex ssh, bex psql, bex blueprints validate, bex ea blueprints, bex skills, BEX_API_KEY, non-interactive, CI/CD deploy./bex-cron-jobsConfigures and troubleshoots scheduled tasks on bex using cron job services. Use when the user needs to run something on a schedule, write a cron expression, set up a periodic job, migrate from Heroku Scheduler, choose between cron jobs and background workers, or fix a cron that isn't firing. Trigger terms: cron job, scheduled task, periodic job, cron expression, schedule, run every, timer, Heroku Scheduler migration./bex-debugDebug failed bex deployments by analyzing logs, metrics, and database state. Identifies errors (missing env vars, port binding, OOM, etc.) and suggests fixes. Use when deployments fail, services won't start, or users mention errors, logs, or debugging./bex-deployDeploys applications to bex by analyzing codebases, authoring Blueprints, reviewing infrastructure plans, and applying authorized changes through MCP or CLI. Use when the user wants to deploy, host, publish, or set up an application on bex, or plan and approve an existing Blueprint's changes.Other plugins' skills for the same job