Skip to content

feat: run HTTP plugins around MCP requests - #141

Open
lucarlig wants to merge 1 commit into
user/luca/plugin-policies-mcp-6253from
user/luca/scoped-plugin-hooks-6253
Open

feat: run HTTP plugins around MCP requests#141
lucarlig wants to merge 1 commit into
user/luca/plugin-policies-mcp-6253from
user/luca/scoped-plugin-hooks-6253

Conversation

@lucarlig

@lucarlig lucarlig commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Adds plugins before HTTP authentication and before response headers are sent. Plugins can change permitted headers. Response bodies continue streaming as usual.

HTTP and MCP hooks share the same caller information, plugin state and settings throughout a request. HTTP plugin failures and timeouts are logged and processing continues, matching the built-in dataplane.

Second of two PRs, built on #144.

Tested: 267 tests passed (13 skipped), plus formatting, lint and build checks.

Closes IBM/mcp-context-forge#6253.

@lucarlig lucarlig changed the title feat: apply published plugin policies to MCP hooks feat: apply control-plane plugin settings to dataplane requests Sep 9, 2026
@lucarlig
lucarlig marked this pull request as ready for review September 9, 2026 14:12
Signed-off-by: lucarlig <luca.carlig@ibm.com>
@lucarlig
lucarlig force-pushed the user/luca/scoped-plugin-hooks-6253 branch from 0de9a1c to 502197b Compare September 9, 2026 15:35
@lucarlig
lucarlig changed the base branch from main to user/luca/plugin-policies-mcp-6253 September 9, 2026 15:35
@lucarlig
lucarlig added this pull request to stack #145 September 9, 2026 15:35
@lucarlig lucarlig changed the title feat: apply control-plane plugin settings to dataplane requests feat: run HTTP plugins around MCP requests Sep 9, 2026
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.

Run the right plugin hooks with the right request context

1 participant