MCP Server Setup

Connect AI agents to Decision Built via the Model Context Protocol. 17 tools, 8 resources, 3 prompts.

Prerequisites

  • Node.js 20 or later
  • Claude Desktop (or any MCP-compatible client)
  • A Decision Built account with an API key

1. Generate an API Key

Navigate to Settings → Integrations in your Decision Built dashboard. Create a new API key. The key format is db_live_{32 hex characters}.

Security note: The API key grants access to your organization's data. Keep it secure and never commit it to version control.

2. Configure Claude Desktop

Add the Decision Built MCP server to your Claude Desktop configuration file:

claude_desktop_config.json
{
  "mcpServers": {
    "decision-built": {
      "command": "npx",
      "args": ["@decision-built/mcp-server"],
      "env": {
        "DB_API_KEY": "db_live_your_key_here"
      }
    }
  }
}

The config file is located at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

3. Restart Claude Desktop

Fully quit and relaunch Claude Desktop. The Decision Built tools will appear in the tools menu (hammer icon).

4. Test the Connection

Try these prompts in Claude Desktop:

"Show me my pipeline stages"
"List my recent contacts"
"Give me a job briefing for [contact name]"

Authorization Scopes

API keys can be configured with specific scopes to limit access:

ScopeAccess
contacts:readQuery contacts and their details
contacts:writeCreate and update contacts
pipeline:readView pipeline stages and counts
pipeline:writeMove contacts between stages
inspections:readView inspections for contacts
observations:readAccess normalized findings from inspections
scope:readView scope lines and suggest additions
pricing:readCalculate pricing from templates
intelligence:readQuery learning data and patterns
suppliers:readSearch supplier catalogs
events:readQuery event history
projections:readAccess AI-generated projections