generate-config

generate-config is a skill for Claude Code from greynewell/mcpbr. It costs 16 tokens per session (1,429 once invoked), scanned A, original, MIT.

A guide for creating and checking mcpbr YAML configuration files for benchmarking MCP servers—programs that provide tools or data to AI agents.

In plain words
What is it for?
Use it to prepare valid benchmark configurations with the MCP server command, provider, agent harness, model, dataset, and required working-directory placeholder.
Why use it?
It reduces failed evaluations caused by missing fields, invalid commands, incorrect model names, or missing working-directory settings.

Skill for Claude Code

Written for Claude Code: a Claude Code plugin manifest.

Part of the mcpbr plugin — 3 skills shipped together

Good fit Use it to prepare valid benchmark configurations with the MCP server command, provider, agent harness, model, dataset, and required working-directory placeholder.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/greynewell/mcpbr/mcpbr-config
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.

Any agent
npx skills add greynewell/mcpbr --skill mcpbr-config
Clone the repo
git clone --depth 1 https://github.com/greynewell/mcpbr

Made for: Claude Code.

Or install mcpbr, the plugin that ships this one along with the rest of its 3 skills.

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 generate-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/greynewell/mcpbr/mcpbr-config/github.svg)](https://agentmods.dev/skills/greynewell/mcpbr/mcpbr-config)
Your own site
<a href="https://agentmods.dev/skills/greynewell/mcpbr/mcpbr-config"><img src="https://agentmods.dev/badge/skills/greynewell/mcpbr/mcpbr-config/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.

agentmods 80×15 button for generate-config

Your own site · 80×15
<a href="https://agentmods.dev/skills/greynewell/mcpbr/mcpbr-config"><img src="https://agentmods.dev/badge/skills/greynewell/mcpbr/mcpbr-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,429 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00016 $0.01429
Opus 5 $0.00008 $0.00714
Sonnet 5 $0.00003 $0.00286
Haiku 4.5 $0.00002 $0.00143

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

Security

Grade A, and why

generate-config 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 10d 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.

.claude-plugin/skills/mcpbr-config/SKILL.md · 205 lines

How it starts

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

Instructions

You are an expert at creating valid mcpbr configuration files. Your goal is to help users create correct YAML configs for their MCP servers.

Critical Requirements

  1. Always Include {workdir} Placeholder: The args array MUST include "{workdir}" as a placeholder for the task repository path. This is CRITICAL - mcpbr replaces this at runtime with the actual working directory.

  2. Valid Commands: Ensure the command field uses an executable that exists on the user's system:

    • npx for Node.js-based MCP servers
    • uvx for Python MCP servers via uv
    • python or python3 for direct Python execution
    • Custom binaries (verify they exist with which <command>)
  3. Model Aliases: Use short aliases when possible:

    • sonnet instead of claude-sonnet-4-5-20250929
    • opus instead of claude-opus-4-5-20251101
    • haiku instead of claude-haiku-4-5-20251001
  4. Required Fields: Every config MUST have:

    • mcp_server.command
    • mcp_server.args (with "{workdir}")
    • provider (usually "anthropic")
    • agent_harness (usually "claude-code")
    • model
    • dataset (or rely on benchmark default)

Common MCP Server Configurations

Anthropic Filesystem Server

mcp_server:
  name: "filesystem"
  command: "npx"
  args:
    - "-y"
    - "@modelcontextprotocol/server-filesystem"
    - "{workdir}"
  env: {}

Custom Python MCP Server

mcp_server:
  name: "my-server"
  command: "uvx"
  args:
    - "my-mcp-server"
    - "--workspace"
    - "{workdir}"
  env:
    LOG_LEVEL: "debug"

Supermodel Codebase Analysis

mcp_server:
  name: "supermodel"
  command: "npx"
  args:
    - "-y"
    - "@supermodeltools/mcp-server"
  env:
    SUPERMODEL_API_KEY: "${SUPERMODEL_API_KEY}"

Configuration Template

When generating a new config, use this template:

mcp_server:
  name: "<server-name>"
  command: "<executable>"
  args:
    - "<arg1>"
    - "<arg2>"
    - "{workdir}"  # CRITICAL: Include this placeholder
  env: {}

provider: "anthropic"
agent_harness: "claude-code"

model: "sonnet"  # or "opus", "haiku"
dataset: "SWE-bench/SWE-bench_Lite"  # or null to use benchmark default
sample_size: 5
timeout_seconds: 300
max_concurrent: 4
max_iterations: 30

Read the full file on GitHub · 205 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. 10d ago First seen · 205 lines · 16 tokens per session scan A 8b13f5ff9550

Subscribe to this mod's changes

generate-config is a skill published in the GitHub repository greynewell/mcpbr (10 stars, last pushed 4mo ago), licensed MIT. It adds 16 tokens to every session and 1,429 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-08-31.

Related

Other skills, from other repositories