docs(security): document STDIO transport security model#119
Merged
Conversation
Adds docs/security/stdio.md capturing why STDIO mode intentionally has no in-process auth layer, with operational guidance and citations to the MCP specification (Authorization, Transports, Security Best Practices), Spring AI MCP Security docs, spring-ai-community/mcp-security, and relevant Spring Security/Boot references. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: adityamparikh <aditya.m.parikh@gmail.com>
3 tasks
epugh
approved these changes
May 6, 2026
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
docs/security/stdio.mddocumenting the security posture of the Solr MCP server when run in STDIO mode (the default).spring-ai-community/mcp-security, and Spring Security/Boot Javadoc.The TL;DR for reviewers: the MCP Authorization spec explicitly says STDIO implementations SHOULD NOT follow OAuth and should retrieve credentials from the environment instead. The doc records that fact and the operational guardrails (don't run elevated, treat
SOLR_URLas deployer config, never write to stdout) for future contributors.A follow-up doc for HTTP-mode security is referenced as planned but not included here.
Test plan
docs/security/stdio.mdrenders correctly on GitHub (table, blockquotes, links).🤖 Generated with Claude Code