This guide shows how to make DAL agents easy to access from Claude via MCP/connector tooling.
dal agent serve or
dal serve).See also:
docs/IDE_AND_AGENT_INTEGRATION.mddocs/guides/AGENT_SETUP_AND_USAGE.md#13-mcp-ide-bridgeRun from your DAL project:
dal agent serve --port 4040Or run your custom DAL app:
dal serve app.dal --port 4040From the repository checkout:
cd COO/mcp
# or, from dist_agent_lang/: cd ../COO/mcp
npm installFrom a second terminal:
export DAL_AGENT_HTTP_BASE="http://127.0.0.1:4040"
dal mcp-bridgeNotes:
stdio.DAL_MCP_TRANSPORT=http-stream is available for
environments that support streamable HTTP MCP transport.In any Claude environment that supports MCP connectors/servers, add a server entry that runs:
node<path-to>/COO/mcp/src/server.js (or
<path-to>/../COO/mcp/src/server.js from
dist_agent_lang)<path-to>/COO/mcp (or
<path-to>/../COO/mcp)DAL_AGENT_HTTP_BASE=http://127.0.0.1:4040The 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 4040Run MCP bridge in another terminal:
export DAL_AGENT_HTTP_BASE="${DAL_AGENT_HTTP_BASE:-http://127.0.0.1:4040}"
dal mcp-bridgeIf 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.
dal mcp-bridge says missing node_modules:
cd COO/mcp && npm install (or
cd ../COO/mcp && npm install from
dist_agent_lang).DAL_AGENT_HTTP_BASE points to your active DAL
HTTP server.DAL_MCP_BRIDGE_SCRIPT (or
DAL_COO_MCP_SCRIPT) explicitly.