Skip to main content

Mighty Mouse MCP

The MCP server exposes tools through the mighty-mouse server namespace:

  • verify: run tests, lint, build, and optional Git scope checks.
  • protocol: return the versioned low, medium, or high Mighty Mouse protocol.
  • verify_and_record: run verification and persist a content-free v2 Signal receipt.
  • setup_workspace: pin an exact local Ollama or host-supplied model identity and MCP execution profile without hand-writing config.
  • recording_audit: check that one exact host task receipt was recorded after it began.
  • run: adaptive routing and policy selection for a workspace task.
  • agent_execute: canonical coding execution with compute scaling support via HostAdapter.solve.
  • policy_status: inspect the active Champion policy and promotion status.
  • policy_preview: preview candidate policy selection without mutation.
  • policy_pin: pin an explicit policy for the workspace.
  • policy_rollback: roll back to the baseline Champion.
  • compute_scaling_status: inspect active compute scaling parameters.
  • compute_scaling_preview: preview compute scaling parameters without mutation.
  • compute_scaling_pin: pin exact compute scaling configuration for the workspace.

Install both packages from a repository checkout:

pip install . ./mcp

Run the stdio server:

python -m mighty_mouse_mcp.server

Generic MCP configuration:

{
  "mcpServers": {
    "mighty-mouse": {
      "command": "python",
      "args": ["-m", "mighty_mouse_mcp.server"]
    }
  }
}

The client presents these as mighty-mouse/verify, mighty-mouse/protocol, mighty-mouse/setup_workspace, mighty-mouse/verify_and_record, and mighty-mouse/recording_audit or equivalent namespaced forms.

Cline learning adapter

Use setup_workspace once per workspace, then use verify_and_record after every agent edit. Setup resolves the exact local Ollama model-layer digest from its manifest and derives a profile from the host, context limit, and Mighty Mouse tool contract. It writes .mighty-mouse/mcp-adapter.json locally.

setup_workspace(workspace, repository, ollama_model | model_digest, model_class,
                effective_context_limit, runtime_kind, runtime_version)

The setup call is shared by every MCP-capable host. Use ollama_model for a local Ollama resolver, or pass exactly one exact model_digest when a host has its own model-identity resolver. Cline is just the reference integration: provide runtime_kind="cline" and its exact runtime version; Claude Code, Codex, Cursor, and other hosts use their own controlled runtime facts. The adapter refuses routine collection until this exact identity exists, and task calls cannot override it. For Ollama-backed identities it rechecks the pinned model alias before every recorded task and requires re-onboarding if the model digest changes; non-Ollama host adapters must re-run setup whenever their active model changes.

The durable receipt contains only controlled metadata: scope, model digest, verification category/result, duration, and retry count. It never persists prompts, source files, paths, commands, or verifier output. A failed check is also recorded as a failed Signal, so repeated use produces honest aggregate evidence rather than success-only telemetry.

verify_and_record provides the observation bridge for the v2 research loop. It does not give Cline permission to edit autonomously or promote a policy; those continue to require the separate, machine-gated research and evaluation workflow.

Optional host hook

MCP is the primary task-completion path. A host that supports completion hooks can add a fail-closed guard without duplicating collection logic:

mighty-mouse-signal-audit /path/to/workspace \
  --receipt-hash <hash-returned-by-verify_and_record> \
  --after 2026-07-15T00:00:00+00:00

It exits 0 only when that exact returned Signal receipt was recorded after the supplied task start time; otherwise it exits 1. It stores nothing and is appropriate as a post-task check, not a replacement for verify_and_record.

Trust boundary

verify runs local commands with the permissions of the MCP server process. Only enable this local server for trusted workspaces and review tool-call approvals. Commands are executed as argument vectors without a shell, but an explicitly selected executable can still modify files.

Metadata

Release files for mighty-mouse-mcp 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mighty-mouse-mcp 0.3.0
File Size Uploaded
mighty_mouse_mcp-0.3.0.tar.gz 12.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mighty-mouse-mcp 0.3.0
File Interpreter ABI Platform
mighty_mouse_mcp-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.6 kB

Release files / mighty_mouse_mcp-0.3.0.tar.gz

Download URL mighty_mouse_mcp-0.3.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9a6740c8671c4f285efafd8d1c6cf22bc0d936b73b2e0e1156cc6a50a905d38a
BLAKE2b-256 checksum
How to use checksums
0bc6bd8f403ba0c0b2c4931847b26102f815f3194b92152bedd5a94272e4a5a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / mighty_mouse_mcp-0.3.0-py3-none-any.whl

Download URL mighty_mouse_mcp-0.3.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0196b2a10b4c07f684b9ad845b46ce73f070ce3f9ac0869fce39ec8ede6e9a7
BLAKE2b-256 checksum
How to use checksums
8f6e9198c284e0c255c05309d7419646d4bb902e27f127f6682353142642f265
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.4.0

2 release files

This release

0.3.0 This release

2 release files

0.2.6

2 release files

0.2.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page