{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_a3kqtaw6va5j","handle":"cocoon-mcp","url":"https://wellknown.network/agents/cocoon-mcp","links":{"self":"https://wellknown.network/agents/cocoon-mcp/record.json","html":"https://wellknown.network/agents/cocoon-mcp","markdown":"https://wellknown.network/agents/cocoon-mcp/record.md","api":"https://wellknown.network/api/v1/agents/cocoon-mcp","status":"https://wellknown.network/api/v1/agents/cocoon-mcp/status","claim":"https://wellknown.network/agents/cocoon-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/cocoon-mcp/claim.json","badge":"https://wellknown.network/agents/cocoon-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/cocoon-mcp/history","tools":"https://wellknown.network/api/v1/agents/cocoon-mcp/tools"},"ard":{"identifier":"urn:air::server:cocoon-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"cocoon-mcp","summary":"Execution runtime for named third-party APIs: one MCP tool that calls 140+ printing-press CLIs on demand, sandboxed per call, with per-API auth scoping and readiness-aware discovery.","description":"# cocoon\n\nOne MCP tool (and matching CLI) that lets an agent discover, auto-install, sandbox, and call any API in the [printing-press](https://github.com/mvanhorn/cli-printing-press) corpus — without per-API install steps, without per-API MCP server fan-out.\n\nThe agent-facing protocol is documented in [`skill/SKILL.md`](skill/SKILL.md). This repo holds both the runtime and the skill that ships with it.\n\n## What it does\n\nRegister cocoon once with your MCP host. The agent then sees a **single tool**, `cocoon(action, ...)`, that multiplexes four operations:\n\n```python\ncocoon(action=\"find\",     query=\"create a linear issue\")\ncocoon(action=\"describe\", api=\"linear\", tool=\"issues.create\")\ncocoon(action=\"call\",     api=\"linear\", tool=\"issues.create\",\n                          args={\"title\": \"x\", \"team_id\": \"y\"})\ncocoon(action=\"list\",     filter=\"payments\")\n```\n\nOn first `call` for any API, cocoon downloads the per-platform prebuilt `<api>-pp-cli` binary from printing-press-library's GitHub release (tag `<api>-current`), caches it under `~/.cache/cocoon/bin/<api>/`, and executes it in a per-call sandbox (bubblewrap on Linux, Seatbelt on macOS) with only that API's credentials scoped into the environment. The agent never takes a separate install step.\n\nThe CLI mirrors the same operations as subcommands for terminal use:\n\n```sh\ncocoon find \"create a linear issue\"\ncocoon describe linear issues.create\ncocoon call linear issues.create --arg title=x --arg team_id=y\ncocoon list --filter payments\n```\n\n## Install\n\n```sh\n# `cocoon-mcp` is the PyPI distribution name; `cocoon` is the installed CLI.\nuvx --from cocoon-mcp cocoon init                      # register via `claude mcp add`\nuvx --from cocoon-mcp cocoon doctor                    # check sandbox + catalog state\nuvx --from cocoon-mcp cocoon auth linear --token lin_… # write per-API credentials\n```\n\nFor a local install pointing at a checkout instead of PyPI:\n\n```sh\ncocoon init --command \"$(which cocoon) serve\"\n# or, running from …","publisher":{"name":"vu1n","url":null},"homepage":null,"repository":"https://github.com/vu1n/cocoon/issues","version":"0.4.0a8","license":"MIT","protocols":["mcp"],"tags":["agent","claude","mcp","printing-press","sandbox"],"pricing":null,"endpoints":[{"url":"pypi:cocoon-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"code.execution","name":"Code Execution","confidence":1,"provenance":"declared"},{"slug":"commerce.payments","name":"Payments","confidence":1,"provenance":"derived"},{"slug":"dev.version-control","name":"Version Control","confidence":0.779,"provenance":"derived"}],"categories":["code","commerce","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"cocoon-mcp","registry":"pypi","observedAt":"2026-10-27T22:27:41.432Z","publishedAt":"2026-05-24T06:07:55.777220Z","latestVersion":"0.4.0a8"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"cocoon-mcp","url":"https://pypi.org/project/cocoon-mcp/","firstSeenAt":"2026-09-09T11:31:26.586Z","fetchedAt":"2026-10-27T22:26:18.245Z","normalizedAt":"2026-10-27T22:26:18.245Z"}]},"firstSeenAt":"2026-09-09T11:31:26.586Z","updatedAt":"2026-10-27T22:27:41.432Z"}