Add to your MCP client config:
{
"mcpServers": {
"dolphinscheduler": {
"type": "sse",
"url": "http://localhost:8001/mcp/",
"headers": {
"X-DS-Token": "your_api_token"
}
}
}
}
⚠️ The URL must end with/. Without the trailing slash, Starlette returns a 307 redirect, which some MCP clients fail to follow.
The HTTP endpoint supports both protocol eras:
- MCP 2.0 clients use the stateless
2026-07-28protocol. Every request is independently routable and noMcp-Session-Idheader is issued. - MCP 1.x clients continue to use the initialize handshake, but the server handles each request statelessly for load-balancer compatibility.
No client URL changes are required: the endpoint remains /mcp/. Stdio
clients are unchanged.
More examples in the examples/ directory:
codebuddy-config.json— CodeBuddy configurationclaude-desktop-config.json— Claude Desktop stdio modehttp-auth-token.json— HTTP with token authhttp-auth-password.json— HTTP with username/password
In HTTP mode, each caller can pass their own credentials:
Token mode (preferred):
X-DS-Token: your_api_token
Username/password mode:
X-DS-User: alice
X-DS-Password: alice_password
This enables multi-tenant scenarios where different AI agents or users operate with different DolphinScheduler credentials through the same MCP server instance.
← Back to README | Configuration | Deployment | API Reference