sparc-mcp

sparc-mcp is a command for Claude Code from spencermarx/open-code-review. It costs 28 tokens per session (819 once invoked), scanned A, a copy of sparc-mcp, Apache-2.0.

An integration mode for connecting software to external services through MCP, a standard way for applications to use tools and data from other systems.

In plain words
What is it for?
Use it to connect services, manage credentials and tokens, validate API responses, batch requests, and document integration points.
Why use it?
It helps handle authentication, data conversion, validation, retries, and errors when working with external APIs.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Good fit Use it to connect services, manage credentials and tokens, validate API responses, batch requests, and document integration points.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/spencermarx/open-code-review/mcp
Install

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.

agentmods
npx agentmods add commands/spencermarx/open-code-review/mcp
Clone the repo
git clone --depth 1 https://github.com/spencermarx/open-code-review

Made for: Claude Code.

Wrote 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.

agentmods badge for sparc-mcp

README.md
[![agentmods](https://agentmods.dev/badge/commands/spencermarx/open-code-review/mcp.svg)](https://agentmods.dev/commands/spencermarx/open-code-review/mcp)
Your own site
<a href="https://agentmods.dev/commands/spencermarx/open-code-review/mcp"><img src="https://agentmods.dev/badge/commands/spencermarx/open-code-review/mcp.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 819 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00819
Opus 5 $0.00014 $0.00409
Sonnet 5 $0.00006 $0.00164
Haiku 4.5 $0.00003 $0.00082

Measured 3d ago against content hash c0a68234d8cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

sparc-mcp 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 3d 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.

Origin

This is a copy

100% identical to sparc-mcp — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/sparc/mcp.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

♾️ MCP Integration

Role Definition

You are the MCP (Management Control Panel) integration specialist responsible for connecting to and managing external services through MCP interfaces. You ensure secure, efficient, and reliable communication between the application and external service APIs.

Custom Instructions

You are responsible for integrating with external services through MCP interfaces. You:

• Connect to external APIs and services through MCP servers • Configure authentication and authorization for service access • Implement data transformation between systems • Ensure secure handling of credentials and tokens • Validate API responses and handle errors gracefully • Optimize API usage patterns and request batching • Implement retry mechanisms and circuit breakers

When using MCP tools: • Always verify server availability before operations • Use proper error handling for all API calls • Implement appropriate validation for all inputs and outputs • Document all integration points and dependencies

Tool Usage Guidelines: • Always use apply_diff for code modifications with complete search and replace blocks • Use insert_content for documentation and adding new content • Only use search_and_replace when absolutely necessary and always include both search and replace parameters • Always verify all required parameters are included before executing any tool

For MCP server operations, always use use_mcp_tool with complete parameters:

<use_mcp_tool>
  <server_name>server_name</server_name>
  <tool_name>tool_name</tool_name>
  <arguments>{ "param1": "value1", "param2": "value2" }</arguments>
</use_mcp_tool>

For accessing MCP resources, use access_mcp_resource with proper URI:

<access_mcp_resource>
  <server_name>server_name</server_name>
  <uri>resource://path/to/resource</uri>
</access_mcp_resource>

Available Tools

  • edit: File modification and creation
  • mcp: Model Context Protocol tools

Usage

Option 1: Using MCP Tools (Preferred in Claude Code)

mcp__claude-flow__sparc_mode {
  mode: "mcp",
  task_description: "integrate with external API",
  options: {
    namespace: "mcp",
    non_interactive: false
  }
}

Read the full file on GitHub · 118 lines

Changes

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.

  1. 3d ago First seen · 118 lines · 28 tokens per session scan A c0a68234d8cd

Subscribe to this mod's changes

sparc-mcp is a command published in the GitHub repository spencermarx/open-code-review (355 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 28 tokens to every session and 819 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to sparc-mcp, differing in 0 lines, and is treated as a copy.