Building an MCPB bundle

You can package the MCP server into an .mcpb bundle for distribution with MCP clients (e.g., Anthropic/Claude). See mcpb for details.

Cloning the repository is a requirement.

Bundle configuration files

The final .mcpb build depends on:

  • manifest.json

  • .mcpbignore

# Install MCPB CLI (once)
npm install -g @anthropic-ai/mcpb

# build binaries for your OS/Architecture
go build -C cmd/neo4j-mcp -o ../../bin/

# Build bundle from the repository root with a custom name
mcpb pack . neo4j-official-mcp-1.0.0.mcpb

You can now go to Claude Desktop and install the bundle just created.

On Claude Desktop:

  1. Open the Settings page.

  2. Under Desktop app, click the Extensions.

  3. Select Advanced settings.

  4. You can now install the extension using the Install Extension.

Review the manifest.json and .mcpbignore before packing.

A limitation is present where it’s not possible to override the command depending on the current architecture (ARM/AMD64). This makes building a general purpose bundle for all the supported architectures/OS more difficult.