RFC: How should AgentShield integrate with MCP (Model Context Protocol)? #9
hidearmoon
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
MCP is becoming the de facto standard for connecting AI models to tools. We want to add AgentShield support for MCP servers (tracked in #2), and we'd love community input on the best approach.
Two options on the table
Option A: MCP Proxy Server
A standalone AgentShield-powered MCP server that proxies requests to the real MCP server:
Pros: Zero changes to existing MCP servers. Works with any MCP server out of the box.
Cons: Extra hop. Need to handle both stdio and HTTP transports.
Option B: MCP Server Middleware
A decorator/wrapper that MCP server authors apply to their tool handlers:
Pros: Minimal latency. Tight integration.
Cons: Requires MCP server code changes. Each server needs to opt in.
Questions for the community
Would love to hear from anyone building MCP servers or using MCP in production.
Beta Was this translation helpful? Give feedback.
All reactions