Repository navigation
Built an open-source MCP Server for Bruno: Run collections, test disabled filter matrices, and keep JWT/secrets out of LLM context #9576
kta41
started this conversation in
Show and tell
Replies: 1 comment
|
the secret injection pattern you've built is solid, variable name only into the LLM context and local resolution is exactly the right approach. one thing to watch: if your .bearer_token file lives near the collection, make sure your tool surfaces a warning when it's world-readable, since that's a common footgun people hit after thinking they've solved the problem. if you ever want a more durable solution for teams, we built 1Claw to do this at the vault layer with short-lived scoped tokens so the raw key never hits env vars or disk either. full disclosure, i work on it. but your local resolution approach is genuinely useful for solo devs and covers the main attack surface. |
0 replies
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.
Hey everyone! 👋
I've been using Bruno heavily for API work alongside AI coding agents (GitHub Copilot, Claude Code, Cursor), and I kept running into two major frustrations when letting agents run my
.brucollections:.envfiles directly into the context window, sending credentials straight to the AI provider.200 OKon the baseline request, and calls it a day—ignoring all the disabled query/filter parameters configured in the.brufiles that might actually be broken.So I built
mcp-bruno, an open-source Model Context Protocol (MCP) server specifically designed for Bruno workflows.What it does:
inherited_variables): The LLM only passes variable names (likebearerToken). The MCP server resolves the actual token locally fromBRUNO_AUTH_TOKENor a local.bearer_tokenfile. The AI never sees your secrets.run-full-validation): Runs a baseline check first. If 100% green, it automatically generates and runs temporary scenarios testing every disabled filter across your endpoints to catch regressions.environments/folders and.bru/opencollection.ymlstructures.uvx mcp-bruno(or Docker). Includes ready-to-use Copilot.agent.mdandSKILL.mdrules.🔗 GitHub Repo: https://github.com/kta41/mcp-bruno
📦 PyPI:
mcp-brunoIf you use Bruno with AI agents, I'd love your feedback (and a ⭐ on GitHub if you find it useful!). Let me know if there are specific
.bruassertions or multi-environment workflows you'd like to see supported next.All reactions