Skip to content

feat(mcp): serve role-scoped tools over streamable HTTP - #3233

Merged
dan-petty merged 4 commits into
mainfrom
feat/3219-mcp-role-scoped-tools-over-http
Nov 2, 2026
Merged

dan-petty merged 4 commits into
mainfrom
feat/3219-mcp-role-scoped-tools-over-http

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

devops mcp serve gets the streamable-http transport. It serves /planning/mcp, /implementation/mcp and /review/mcp. Each path is a separate FastMCP server that holds only the read-only tools its role table names, so the role is the path and a tool outside it does not exist. Every request needs the bearer token mcp.token, compared in constant time and checked before any tool runs. The transport refuses to start without the token. The ops role has no endpoint, and a role server shares no state with another. The tests run in process. The deployment, the LiteLLM config and the client are #3220 and #3221.

Closes #3219

Change: openspec/changes/archive/2026-11-02-3219-mcp-role-scoped-tools-over-http/


Generated by Claude Code

Add the streamable-http transport to devops mcp serve. It serves one endpoint for
each job role (planning, implementation, review), and each is a separate FastMCP
server that holds only the read-only tools its table names. A request needs the
bearer token mcp.token, compared in constant time, and the transport refuses to
start without it. The ops role has no endpoint.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
SECURITY.md keeps rule 12 (MCP Tool Secrets) and rule 13 (Hosted Models)
from main, and the pointer to the MCP network section.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
@dan-petty
dan-petty merged commit 6923473 into main Nov 2, 2026
20 checks passed
@dan-petty
dan-petty deleted the feat/3219-mcp-role-scoped-tools-over-http branch November 2, 2026 17:23
dan-petty pushed a commit that referenced this pull request Nov 2, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.47.0](v0.46.1...v0.47.0)
(2026-11-02)


### Features

* **mcp:** serve role-scoped tools over streamable HTTP
([#3233](#3233))
([6923473](6923473))
* **security:** refuse a secret value as an MCP tool parameter
([#3232](#3232))
([360a8c6](360a8c6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.

feat(mcp): serve role-scoped tool sets over authenticated HTTP

2 participants