Skip to content
MCP server

B4x MCP

B4X MCP: 20 real tools to read, check, lint, scaffold, build and run B4X code.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.0
Listing updated
4 days ago

About B4x MCP

B4x MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add b4x-mcp -- npx -y @mrfentmen/b4x-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "b4x-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/b4x-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "b4x-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/b4x-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "b4x-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/b4x-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "b4x-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/b4x-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "b4x-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/b4x-mcp"
      ]
    }
  }
}

Pricing

Open source

B4x MCP FAQ

Is B4x MCP free?

Yes. B4x MCP is open source, so you can use and self-host it for free.

How do I add B4x MCP to Claude Code?

Run this command in your terminal: claude mcp add b4x-mcp -- npx -y @mrfentmen/b4x-mcp