Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/bybren-llc/safe-agentic-workflowWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/bybren-llc/safe-agentic-workflow/31-mcp-integration)<a href="https://agentmods.dev/rules/bybren-llc/safe-agentic-workflow/31-mcp-integration"><img src="https://agentmods.dev/badge/rules/bybren-llc/safe-agentic-workflow/31-mcp-integration/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/bybren-llc/safe-agentic-workflow/31-mcp-integration"><img src="https://agentmods.dev/badge/rules/bybren-llc/safe-agentic-workflow/31-mcp-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00014 | $0.00606 |
| Opus 5 | $0.00007 | $0.00303 |
| Sonnet 5 | $0.00003 | $0.00121 |
| Haiku 4.5 | $0.00001 | $0.00061 |
Grade A, and why
31-mcp-integration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
1 near-identical copy found in the catalogue:
- 31-mcp-integration — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MCP Integration Guidelines
Cursor supports the Model Context Protocol (MCP) natively. MCP servers provide additional tools and context to AI sessions, enabling interaction with external services.
Configuring MCP Servers in Cursor
MCP servers are configured in Cursor's settings. Navigate to:
Settings > Features > MCP Servers
Or add them to your project-level .cursor/mcp.json:
{
"mcpServers": {
"linear": {
"command": "npx",
"args": ["-y", "@linear/mcp-server"],
"env": {
"LINEAR_API_KEY": "your-api-key"
}
},
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/project"]
}
}
}
Common MCP Servers for SAFe Workflow
| MCP Server | Purpose | When to Use |
|---|---|---|
| Linear | Ticket management, comments, status updates | All workflow (TDM, QAS, RTE agents) |
| Confluence | Documentation publishing | Tech Writer agent, BSA specs |
| GitHub | PR management, issue tracking | RTE agent, code review |
| Filesystem | Extended file access | Background agents needing broad access |
| PostgreSQL | Direct database queries | Data Engineer agent |
SAFe Agent MCP Usage
Different agent roles use different MCP capabilities:
- TDM: Linear MCP for ticket coordination and status updates
- QAS: Linear MCP for posting validation evidence as comments
- RTE: GitHub MCP for PR creation and CI monitoring
- Tech Writer: Confluence MCP for publishing documentation
- BSA: Linear MCP for creating tickets, Confluence MCP for specs
Security Considerations
- Never commit API keys or tokens to the repository
- Use environment variables for MCP server credentials
- Review MCP server permissions before granting access
- Prefer read-only access where write access is not needed
- MCP servers in background agents use the repository-level config only
Cross-Provider MCP Compatibility
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 76 lines · 14 tokens per session scan A 67f1cf90a0fc
31-mcp-integration is a cursor rule published in the GitHub repository bybren-llc/safe-agentic-workflow (406 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 606 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other cursor rules, from other repositories
infra-devops
Infrastructure, Cloud, Terraform, Docker & CI/CD Agent.
react-composition-patterns
React composition patterns for scalable component architecture including compound components, context providers, state management, boolean prop alternatives, render props vs children, and React 19 API changes. Use when refactoring components with many boolean props, building component libraries, designing flexible…
react-rerender-optimization
React re-render optimization patterns including memo, useMemo, useCallback, useState, useRef, and derived state. Use when components re-render too often, dealing with stale closures, dependency arrays, performance issues, or optimizing slow components.
cis-innovation-oracle
CIS Agent — Victor (Disruptive Innovation Oracle).
supervisor
Supervisor agent.
implementer
Amelia — Developer agent.