Skip to main content

Model Context Protocol (MCP) server for the FAI Harvest pipeline. Exposes 9 tools (discover_repo / extract_facts / retrieve_exemplars / list_plays / import_accelerator / customize_play / re_harvest / approve_play / list_pending_reviews) over stdio. Run any AI accelerator repo through harvest from Copilot / Cursor / Claude Desktop / Continue / Zed. Byte-equal wire contract with frootai-orchard-mcp (npm).

Project description

frootai-orchard-mcp

MCP server for the FAI Harvest pipeline (Python). Run any AI accelerator repo through harvest — discover → extract → retrieve → scaffold → compose-infra → import as a signed Solution Play — from inside your MCP client (GitHub Copilot in VS Code, Cursor, Claude Desktop, Continue.dev, Zed, custom Foundry agents).

Byte-equal wire contract with frootai-orchard-mcp (npm). Same 9 tools, same JSON-RPC 2.0 envelopes, same MCP 2025-03-26 surface.

Distinct from frootai-mcp-orchard, the read-only v1.0 catalog server. This server runs the pipeline.

Install

uvx frootai-orchard-mcp

Wire into your MCP client (.vscode/mcp.json, Cursor / Claude config, …):

{
  "mcpServers": {
    "frootai-orchard": {
      "command": "uvx",
      "args": ["frootai-orchard-mcp"]
    }
  }
}

Tools (9)

Tool Auth Purpose
discover_repo free Resolve + classify a repo (wraps Harvest [H1])
extract_facts free Architecture + facts extraction (wraps [H3])
retrieve_exemplars free Top-N reference plays by similarity (wraps [H4])
list_plays free Browse the catalog (slim CDN index)
import_accelerator Pro Run the full pipeline → signed ZIP
customize_play Pro Apply a policy overlay → 3-way diff + commit token
re_harvest Pro Re-run at upstream HEAD → diff
approve_play founder Commit a play to the marketplace catalog
list_pending_reviews reviewer List committed plays awaiting founder approval

Status

H10.2 — scaffold. The protocol dispatcher (MCP 2025-03-26, JSON-RPC 2.0), the tool registry, and the stdio transport are in place; the 9 tool handlers land one per sub-phase ([H10.3]–[H10.11]). tools/list shows only the tools registered so far.

Embed as a library

from frootai_orchard_mcp import create_server, run_stdio, TOOL_NAMES

server = create_server(services={})   # inject harvest deps
run_stdio(server)

Doctrine

  • Zero runtime dependencies. The MCP wire protocol is hand-rolled (stdlib only) — same supply-chain-safety reason the harvest backend hand-rolls its JWT signer and Stripe signature verifier, and the same reason the sibling catalog server is zero-deps.
  • Pure, injectable, hermetically testable. create_server is side-effect free; side-effecting deps are injected via services, so the dispatcher is unit-tested without a network, fs, or a live MCP client.
  • Byte-equal with the Node server. Both speak identical JSON-RPC envelopes and error codes, so a client gets the same results regardless of runtime.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

frootai_orchard_mcp-0.1.0.tar.gz (65.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

frootai_orchard_mcp-0.1.0-py3-none-any.whl (53.9 kB view details)

Uploaded Python 3

File details

Details for the file frootai_orchard_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: frootai_orchard_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 65.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for frootai_orchard_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d4503af08412dd13308eb173b4d70754ac9e1c6e572cdbb3eb89a6d51a6fed09
MD5 100ce72ed6a62591d4f1da8862d783f0
BLAKE2b-256 1763123d612387004987a63f4fe853d0e8f5bff80d7f720091fc65b1b253593b

See more details on using hashes here.

File details

Details for the file frootai_orchard_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for frootai_orchard_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 110532ad40c8b62d7c0b86dc6b85a83440f0401307b637e7c50251f715f2009d
MD5 3c1c5bb2cf127e7c38ce2e2a1ed9f50d
BLAKE2b-256 96ba231ce8fa90f43739d0efc12aa350269337523a54ca01602687c30ac06604

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page