bex-mcp

bex-mcp is a skill for Claude Code, Codex from bex-co/bex. It costs 113 tokens per session (1,349 once invoked), scanned B, original, Apache-2.0.

Setup and troubleshooting guidance for the bex MCP server. MCP is a connection standard that lets AI coding tools call tools provided by an external service, such as listing or managing bex resources.

In plain words
What is it for?
Use it to connect Claude Code, Cursor, or Codex to bex, choose a workspace, verify access, discover capabilities, and diagnose failed tool calls.
Why use it?
It removes setup and authentication confusion when an AI coding tool cannot reach bex or is connected to the wrong workspace. It also explains how to check which tools are currently available.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to connect Claude Code, Cursor, or Codex to bex, choose a workspace, verify access, discover capabilities, and diagnose failed tool calls.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bex-co/bex/bex-mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bex-co/bex --skill bex-mcp
Clone the repo
git clone --depth 1 https://github.com/bex-co/bex

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bex-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/bex-co/bex/bex-mcp/github.svg)](https://agentmods.dev/skills/bex-co/bex/bex-mcp)
Your own site
<a href="https://agentmods.dev/skills/bex-co/bex/bex-mcp"><img src="https://agentmods.dev/badge/skills/bex-co/bex/bex-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bex-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/bex-co/bex/bex-mcp"><img src="https://agentmods.dev/badge/skills/bex-co/bex/bex-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,349 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00113 $0.01349
Opus 5.5 $0.00045 $0.00540
Sonnet 5.5 $0.00023 $0.00270
Haiku 4.5 $0.00011 $0.00135

Measured yesterday against content hash 84946dac2419, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

bex-mcp scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

Cursor's MCP configuration takes a credential rather than starting OAuth discovery. Add this to `~/.cursor/mcp.json`, where `BEX_TOKEN` holds an exchanged API-key token, restart Cursor, and verify with `list_services()`:

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. Retrieve the linked Markdown document directly with an available URL-fetching tool or HTTP client, such as `curl`. Do not substitute web-search summaries for the document.
lego/cli/internal/skills/pack/skills/bex-mcp/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

bex MCP Server

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, set it up using this skill first.

Before configuring, troubleshooting, or using bex MCP, read references/bex-access.md for the current server, authentication, workspace, capability-discovery, and fallback workflow.

When to Use

  • list_services() fails or MCP tools are unavailable
  • First-time bex MCP setup for any AI tool
  • User asks how to connect their AI tool to bex
  • Switching workspaces or troubleshooting auth errors
  • Discovering which MCP tools exist and what they do

Current Setup and Capabilities

Follow 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 Code

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 an exchanged API-key token (see references/bex-access.md) instead:

claude mcp add --transport http bex https://api.bex.co/mcp --header "Authorization: Bearer ${BEX_TOKEN}"

Read the full file on GitHub · 114 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 114 lines · 113 tokens per session scan B 84946dac2419

Subscribe to this mod's changes

bex-mcp is a skill published in the GitHub repository bex-co/bex (577 stars, last pushed today), licensed Apache-2.0. It adds 113 tokens to every session and 1,349 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads mcp configuration, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-29.

Related

Other skills, from other repositories

network-rca

Kubernetes network root cause analysis skill powered by Kubeshark MCP. Use this skill whenever the user wants to investigate past incidents, perform retrospective traffic analysis, take or manage traffic snapshots, extract PCAPs, dissect L7 API calls from historical captures, compare traffic patterns over time, detect…

kubeshark/kubeshark · 163 tokens

kfl

KFL2 (Kubeshark Filter Language) reference. This skill MUST be loaded before writing, constructing, or suggesting any KFL filter expression. KFL is statically typed — incorrect field names or syntax will fail silently or error. Do not guess at KFL syntax without this skill loaded. Trigger on any mention of KFL, CEL…

kubeshark/kubeshark · 203 tokens

security-audit

Kubernetes network security audit skill powered by Kubeshark MCP. Use this skill whenever the user wants to audit a cluster for security threats, detect compromised workloads, find malicious traffic patterns, hunt for indicators of compromise (IOCs), check for data exfiltration, identify C2 (command and control)…

kubeshark/kubeshark · 182 tokens

install

Kubeshark installation and deployment skill. Use this skill whenever the user wants to install Kubeshark, deploy Kubeshark to a Kubernetes cluster, set up Kubeshark, configure Kubeshark helm values, generate a Kubeshark config file, customize Kubeshark deployment, troubleshoot Kubeshark installation, upgrade…

kubeshark/kubeshark · 257 tokens

argocd-expert

Expert-level ArgoCD GitOps deployment, application management, sync strategies, and production operations. Use when the user mentions GitOps, Kubernetes, continuous deployment, declarative, or automation, or when the task involves ArgoCD Architecture, Application CRD, AppProject, or ApplicationSet.

personamanagmentlayer/pcl · 65 tokens

cloud-native-argocd-reconciliation

Use this skill when the user says 'argocd reconciliation', 'argocd drift detection', 'why is my app OutOfSync', 'argocd diff', 'ignoreDifferences', 'server-side diff', 'argocd sync waves', 'argocd refresh vs sync', 'argocd application controller internals'. Explains how Argo CD's repo-server, application controller…

j4flmao/agent-skills · 161 tokens