Skip to content

feat: gateway MCP server — agents as tools over streamable HTTP (#73) - #74

Merged
melvincarvalho merged 1 commit into
gh-pagesfrom
issue-73-mcp-server
Jun 11, 2026
Merged

melvincarvalho merged 1 commit into
gh-pagesfrom
issue-73-mcp-server

Conversation

@melvincarvalho

Copy link
Copy Markdown
Contributor

Built to the audited design on #73: openclaw's MCP bridge vocabulary (conversations_list, messages_send, messages_read — verified against their 'mcp serve' tool surface) over JSS's stateless Streamable HTTP transport (verified against their src/mcp, spec 2025-03-26), plus jsclaw-natural agents_list and skills_list. Every tool is pure delegation to the gateway's existing dispatch — runner-agnostic by construction, no agent-micro or default-runner changes. Auth reuses the gateway token (Bearer header or ?token=). Deferred per issue: stdio transport, events_poll/wait, permissions_* (#58), SSE. Tests 153/153.

POST /mcp: JSON-RPC 2.0, spec 2025-03-26, stateless single-shot JSON
(JSS's transport style), Bearer/query token auth. Tools speak
openclaw's bridge vocabulary and delegate to the existing dispatch:
conversations_list (sessions.list), messages_send (chat.send into a
session key, returns the reply), messages_read (chat.history), plus
agents_list and skills_list. Protocol envelope in src/mcp.js;
notifications answer 202; tool failures return isError content, not
protocol errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant