docs: add security middleware guide for production MCP deployments#3828
Open
pshkv wants to merge 1 commit intomodelcontextprotocol:mainfrom
Open
docs: add security middleware guide for production MCP deployments#3828pshkv wants to merge 1 commit intomodelcontextprotocol:mainfrom
pshkv wants to merge 1 commit intomodelcontextprotocol:mainfrom
Conversation
The existing WARNING note correctly identifies that reference servers are not production-ready and that developers must evaluate security requirements. This PR makes that guidance actionable by: 1. docs/security-middleware.md — concrete 5-minute integration guide: - Shows the authorization gap in plain MCP deployments - Documents the SINT PolicyGateway integration pattern - Tier table for common MCP tools (T0 read-only → T3 shell exec) - Performance benchmarks (p99 < 10ms overhead) - OWASP ASI01-10 conformance suite reference 2. README.md — adds a note under the Security section pointing to docs/security-middleware.md SINT Protocol is MIT-licensed, TypeScript, zero-dependency crypto (@noble/ed25519 + SHA-256), and regression-tested with 1,105 tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The existing
> [!WARNING]block correctly states that reference servers are educational examples and that developers must evaluate their own security requirements. This PR makes that guidance actionable by adding a concrete integration guide.What's added:
docs/security-middleware.md— a 5-minute integration guide covering:readFile→ T0 auto-allow;deleteFile→ T2 human review;bash/exec→ T3 explicit sign-offREADME.md— adds 4 lines under the existing Security section pointing to the guideAbout SINT Protocol
@noble/ed25519)Why this matters for MCP
MCP intentionally separates capability from authorization. Without a security layer, agentic deployments have:
deleteFile,bash, etc.)This is not a criticism of MCP — it's the correct layering. The gap is in the deployment ecosystem. This PR adds one concrete reference for closing it.
What this is NOT
src/docs/security-middleware.md(new file) + 4 README linescc @jspahrsummers — happy to revise the framing if you'd prefer a different approach to documenting security deployment patterns.