Quick Start
Get up and running with bx-mcp in minutes — install, configure, and connect your first MCP client.
This guide walks you through installing the bx-mcp module, configuring it, and connecting your first MCP client.
📋 Prerequisites
BoxLang 1.12+ installed and running
bx-ai module installed
No BoxLang+ subscription is required; bx-mcp is free to use under its proprietary license
A running BoxLang application or MiniServer instance
📦 Install the Module
Via CommandBox
box install bx-ai,bx-mcpVia BoxLang OS Binary
bx-module install bx-ai bx-mcp⚙️ Minimal Configuration
Add the MCP server configuration to your boxlang.json under modules.bxmcp.settings:
⚠️ Security: Always set
authTokenfor any deployment accessible beyond localhost. See Security & Access Control for advanced options including per-token tool filters.
✅ Verify the Installation
Restart your BoxLang runtime. The MCP server registers automatically during module startup. Verify it's running:
You should see a response showing the total number of available tools (153).
🔬 Call Your First Tool
Get Runtime Information
This returns BoxLang version, JVM details, OS information, start time, and uptime.
Check Cache Health
Test a Datasource Connection
💻 Configure VS Code
Create a .vscode/mcp.json file in your project root:
VS Code will automatically connect to the MCP server when you open the workspace.
🤖 Configure Claude Desktop
Add the following to your claude_desktop_config.json:
🖥️ Configure Cursor
Create a .cursor/mcp.json file in your project root with the same structure as the VS Code example above.
🎮 Use the Interactive CLI
The module includes a built-in interactive CLI. Launch it from a terminal:
Once connected, type tools to list all tools, help for commands, or run runtime_get_info to invoke a tool.
📚 Next Steps
Security & Access Control — Learn about per-token filtering, IP allowlisting, and CORS
Client Configuration — Detailed client setup for all platforms
Operations & Monitoring — Health checks and performance monitoring
MCP Tools Reference — Complete catalog of all 153 tools
MCP Prompts Reference — Pre-built diagnostic and administrative prompts
Last updated
Was this helpful?
