Skip to main content
Glama
recon-fuzz-chimera-mcp

recon-fuzz-chimera-mcp

by Recon-Fuzz

@recon-fuzz-mcp/chimera

npm License: MIT Node 18+

Solidityスマートコントラクト用のChimeraファジングテストスイートを構築するためのMCPサーバーです。プロパティ、ハンドラー、ファザー設定を含む、コンパイル可能なプロジェクトを生成します。

ツール

ツール

入力

戻り値

scaffold_project

contract_name, functions[]

完全なChimeraプロジェクト (Setup, Properties, TargetFunctions, BeforeAfter, CryticTester + 設定ファイル)

generate_properties

contract_source, protocol_type

Solidityスケルトン付きの厳選された8〜15個の不変プロパティ

get_template

template_name

標準的なプロトコルタイプ向けのコンパイル可能な完全なChimeraプロジェクト

explain_pattern

pattern_name

コード例付きの詳細な解説

プロトコルタイプ

erc20, vault, lending, amm, governance, staking

パターン

actors, ghosts, cross-contract, setup-layering

Related MCP server: RECLUSE Spider MCP Server

インストール

Claude Code

claude mcp add chimera-scaffold -- npx @recon-fuzz-mcp/chimera

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json に以下を追加します:

{
  "mcpServers": {
    "chimera-scaffold": {
      "command": "npx",
      "args": ["@recon-fuzz-mcp/chimera"]
    }
  }
}

Cursor

プロジェクト内の .cursor/mcp.json に以下を追加します:

{
  "mcpServers": {
    "chimera-scaffold": {
      "command": "npx",
      "args": ["@recon-fuzz-mcp/chimera"]
    }
  }
}

APIキーは不要です。サーバーは完全にローカルで動作し、ネットワーク呼び出しは行われません。

ローカル開発

git clone https://github.com/Recon-Fuzz/recon-mcp-chimera.git
cd recon-mcp-chimera
npm install
npm run build

動作確認

# List tools
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | node dist/index.js

# Scaffold a vault project
echo '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"scaffold_project","arguments":{"contract_name":"SimpleVault","functions":["deposit(uint256)","withdraw(uint256)"]}},"id":2}' | node dist/index.js

# Get a lending template
echo '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"get_template","arguments":{"template_name":"lending"}},"id":3}' | node dist/index.js

アーキテクチャ

  • ネットワーク呼び出しなし — すべてメモリ内のテンプレートと文字列生成で完結

  • src/templates/base.ts — Solidityファイルジェネレーター (Setup, BeforeAfter, Properties, TargetFunctions, CryticTester)

  • src/templates/configs.ts — ファザー設定ジェネレーター (foundry.toml, echidna.yaml, medusa.json)

  • src/properties/ — プロトコルタイプごとの厳選されたプロパティカタログ (各8〜15個)

  • src/patterns/ — 完全なSolidityコード例付きのパターン解説

  • src/tools/ — MCPツールの実装

プライバシー

このサーバーは完全にオフラインで動作します。ネットワーク呼び出し、環境変数の読み取り、ディスクへのデータ書き込み、テレメトリの送信は一切行われません。すべてのテンプレート生成はプロセス内で行われます。

Available Tools

4 tools
explain_patternB

Get a detailed explanation of a Chimera fuzzing pattern with code examples.

Inputs: pattern_name (required).

generate_propertiesC

Generate 8-15 curated invariant properties with Solidity skeletons based on the protocol type and contract source.

Inputs: contract_source (required), protocol_type (required).

get_templateB

Get a complete ready-to-compile Chimera project template for a standard protocol type.

Inputs: template_name (required).

scaffold_projectB

Scaffold a complete Chimera fuzzing test suite for a given contract and its functions. Returns an array of {path, content} for all project files.

Inputs: contract_name (required), functions (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: explain_pattern provides documentation, generate_properties creates invariants, get_template offers project templates, and scaffold_project builds test suites. There is no overlap in functionality, making tool selection straightforward for an agent.

    Naming Consistency4/5

    The naming follows a consistent verb_noun pattern (e.g., explain_pattern, generate_properties) with minor deviations: get_template uses 'get' instead of a more descriptive verb like 'fetch' or 'retrieve', but this is a small inconsistency that does not hinder readability or predictability.

    Tool Count5/5

    With 4 tools, the server is well-scoped for its purpose of Chimera fuzzing support. Each tool earns its place by covering distinct aspects of the workflow: documentation, property generation, templating, and project scaffolding, without being overly sparse or bloated.

    Completeness4/5

    The tool set covers key stages of fuzzing setup: learning (explain_pattern), planning (generate_properties), templating (get_template), and implementation (scaffold_project). A minor gap exists in runtime or execution tools (e.g., run_fuzzer, analyze_results), but agents can work around this by using the generated projects externally.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers