Claude Connectors (Optional) for DAL Developers

This guide shows how to make DAL agents easy to access from Claude via MCP/connector tooling.

Goals

Mental model

See also:

1) Start a DAL agent HTTP server

Run from your DAL project:

dal agent serve --port 4040

Or run your custom DAL app:

dal serve app.dal --port 4040

2) Install MCP bridge dependencies (one-time)

From the repository checkout:

cd COO/mcp
# or, from dist_agent_lang/: cd ../COO/mcp
npm install

3) Run the DAL MCP bridge

From a second terminal:

export DAL_AGENT_HTTP_BASE="http://127.0.0.1:4040"
dal mcp-bridge

Notes:

4) Register DAL bridge in your Claude connector/MCP surface

In any Claude environment that supports MCP connectors/servers, add a server entry that runs:

The MCP server then exposes DAL tool endpoints backed by your running DAL agent HTTP server.

For language users, provide this as an optional profile:

Example helper script:

#!/usr/bin/env bash
set -euo pipefail

export DAL_AGENT_HTTP_BASE="${DAL_AGENT_HTTP_BASE:-http://127.0.0.1:4040}"

echo "[1/2] Starting DAL agent server on :4040"
dal agent serve --port 4040

Run MCP bridge in another terminal:

export DAL_AGENT_HTTP_BASE="${DAL_AGENT_HTTP_BASE:-http://127.0.0.1:4040}"
dal mcp-bridge

Optional: use Claude as model provider without MCP

If a developer only wants Claude for generation (not connector tools), DAL already supports Anthropic directly:

export ANTHROPIC_API_KEY="sk-ant-..."
export ANTHROPIC_MODEL="claude-3-5-sonnet-20241022"

This is independent from MCP connector setup.

Troubleshooting quick checks

Why this approach works for COO and language users