You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MCP client integration for external tool servers #2
Add Model Context Protocol (MCP) client capabilities to DocsClaw so agents can connect to external MCP tool servers.
Motivation
MCP provides a standardized way to expose tools to LLM agents. Rather than building every tool into DocsClaw, agents could connect to MCP servers for capabilities like database access, browser automation, or domain-specific APIs.
Design considerations
Support stdio transport for MCP servers bundled in the same container image
Support SSE/streamable HTTP transport for remote MCP servers
MCP server configuration via agent-config.yaml
Tool definitions from MCP servers should integrate with the existing tool registry
Related
See #N (specialized Dockerfiles) — some flavors will bundle MCP servers invoked via stdio
Evaluate whether Playwright MCP server is preferable to CLI-based web tools for interactive browsing
From roadmap: docs/slides/docsclaw-intro.html, slide 6
Updated scope based on kagenti agent-examples analysis
After reviewing the kagenti/agent-examples repo, MCP client support is the single biggest gap preventing DocsClaw from replacing most Python-based agents. 6 of 10 kagenti agents are essentially system prompt + MCP tool connections — DocsClaw could handle them with ConfigMap changes alone, if it could connect to MCP servers.
Priority: Streamable HTTP transport
The kagenti agents use streamable_http transport exclusively for remote MCP servers. This should be the first transport we implement. stdio can follow for bundled MCP servers.
Configuration model
Based on kagenti patterns, MCP servers should be configurable in agent-config.yaml:
MCP tools should register into DocsClaw's existing tools.Registry alongside compiled-in tools. The agentic loop, OpenAI API endpoint, and A2A bridge should all see MCP tools transparently — no special handling needed.
Activity
pavelanni commentedon May 7, 2026
Updated scope based on kagenti agent-examples analysis
After reviewing the kagenti/agent-examples repo, MCP client support is the single biggest gap preventing DocsClaw from replacing most Python-based agents. 6 of 10 kagenti agents are essentially system prompt + MCP tool connections — DocsClaw could handle them with ConfigMap changes alone, if it could connect to MCP servers.
Priority: Streamable HTTP transport
The kagenti agents use
streamable_httptransport exclusively for remote MCP servers. This should be the first transport we implement. stdio can follow for bundled MCP servers.Configuration model
Based on kagenti patterns, MCP servers should be configurable in
agent-config.yaml:Integration with existing tool registry
MCP tools should register into DocsClaw's existing
tools.Registryalongside compiled-in tools. The agentic loop, OpenAI API endpoint, and A2A bridge should all see MCP tools transparently — no special handling needed.What this unlocks
fix: address code review findings from PR #74
feat: agent manifest with declarative tooling and build pipeline (#74)
fix: use parsed URL in HTTP request to satisfy CodeQL SSRF check
feat: add skill-puller sidecar for dynamic skill loading (#84)