pi

TypeScript coding agent CLI from Earendil Works, formerly badlogic/pi-mono. Its README said "No MCP" until September 2026. Since 0.99.0 it ships its own hand-written MCP client, @earendil-works/pi-mcp, as a built-in extension that is on by default and loads when a server is configured. By default MCP tools are not declared to the model: scripts the model writes for the codemode tool call them.

At a glance

Registry id pi
Vendor Earendil Works
Kind host. A shipped application. A capability row is what it declares and implements.
Category cli
Platforms windows, macos, linux
Licence MIT
Source https://github.com/earendil-works/pi
Home https://pi.dev
Wire names pi
SDK none · unpatched
Prefers 2025-11-25
Speaks 2024-11-05, 2025-03-26, 2025-06-18, 2025-11-25
Rows describe 2025-11-25, the newest revision it speaks
Source last updated 2026-11-27
Last read 2026-11-27
Probed 1.5.0 (see below)

Capabilities

Capability Status Known by At
Transports
  ↳ stdio ● full read 2025-11-25
  ↳ sse ○ unsupported read 2025-11-25
  ↳ streamableHttp ● full read 2025-11-25
Authentication
  ↳ oauth ● full read 2025-11-25
  ↳ header ● full read 2025-11-25
Tools ● full read 2025-11-25
  ↳ listChanged ● full read 2025-11-25
  ↳ result ● full read 2025-11-25
    ↳ content ● full read ⇧ 2025-11-25
    ↳ structuredContent ◐ partial read ⇧ 2025-11-25
    ↳ outputSchema ○ unsupported read ⇧ 2025-11-25
    ↳ audience ○ unsupported read ⇧ 2025-11-25
    ↳ isError ● full read ⇧ 2025-11-25
    ↳ media ◐ partial read ⇧ 2025-11-25
    ↳ _meta ○ unsupported read ⇧ 2025-11-25
Resources ● full read 2025-11-25
  ↳ listChanged ○ unsupported read 2025-11-25
  ↳ subscribe ○ unsupported read 2025-11-25
Prompts ○ unsupported read 2025-11-25
  ↳ listChanged ○ unsupported read 2025-11-25
Completions ○ unsupported read 2025-11-25
Sampling ○ unsupported read 2025-11-25
Elicitation ○ unsupported read 2025-11-25
  ↳ form ○ unsupported read 2025-11-25
  ↳ url ○ unsupported read 2025-11-25
Roots ● full read 2025-11-25
  ↳ listChanged ○ unsupported read 2025-11-25
Logging ◐ partial read 2025-11-25
Instructions ◐ partial read 2025-11-25
Icons ○ unsupported read 2025-11-25
JSON Schema
Extensions
  ↳ io.modelcontextprotocol/ui ○ unsupported read 2025-11-25
  ↳ io.modelcontextprotocol/tasks ○ unsupported read 2025-11-25
  ↳ io.modelcontextprotocol/skills ○ unsupported read 2025-11-25
  ↳ io.modelcontextprotocol/events ○ unsupported read 2025-11-25
    ↳ poll ○ unsupported read ⇧ 2025-11-25
    ↳ push ○ unsupported read ⇧ 2025-11-25
    ↳ webhook ○ unsupported read ⇧ 2025-11-25
Beyond the spec
  ↳ modelInitiatedResourceRead ● full read 2025-11-25
  ↳ codeModeToolExposure ● full read 2025-11-25
  ↳ deferredToolLoading ● full read 2025-11-25
  ↳ sessionRecovery ● full read 2025-11-25
  ↳ projectConfigTrustGate ● full read 2025-11-25
  ↳ replaceableBuiltInClient ● full read 2025-11-25
  ↳ conformanceSuiteInCi ● full read 2025-11-25

● full ◐ partial ◇ opt-in ○ unsupported · untested — not recorded ⇧ rests on the parent capability's evidence

Not recorded means nobody has looked, which is not the same claim as unsupported. Under tools.result, full means the field reaches the model on the default conversational path, partial means it does under a condition the notes name, and unsupported means it never does.

What the table flattens

Verified by the probe

99 records from the live probe (probe/), client version 1.5.0. Each row is one run against the instrumented fixture server with the model mocked; a tool-result verdict says which fixture fields reached the model. Glyphs: […] content, {…} structuredContent, ⟨…⟩ the whole envelope, "…" a placeholder. Rows whose scenario starts with conformance/ come from the MCP conformance suite, run through the same adapter; their verdict counts the checks. A config name is followed by its kind when the two differ: setting is a switch the client documents, harness is probe-written code that uses an API the client leaves to the application. The scenario link opens the record; the raw captures sit next to a probe record, and a conformance link opens the run summary. Overlay: data/verified/pi.json.

Scenario Config Run At Version Verdict
apps.visibility
app_only default (setting) http 2025-11-25 1.5.0 […] content only (1x, as text)
app_only default (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
app_only anthropic (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
app_only codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 1x, structuredContent 1x)
app_only deferred (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
elicitation.form
conformance/elicitation-sep1034-client-defaults default (setting) http 2025-11-25 1.5.0 conformance elicitation-sep1034-client-defaults at 2025-11-25: 0/6 checks pass; failed client-elicitation-sep1034-general, client-elicitation-sep1034-string-default, client-elicitation-sep1034-integer-default, client-elicitation-sep1034-number-default, client-elicitation-sep1034-enum-default, client-elicitation-sep1034-boolean-default
protocol.initializeHandshake
conformance/initialize default (setting) http 2025-06-18 1.5.0 conformance initialize at 2025-06-18: 1/1 checks pass
conformance/initialize default (setting) http 2025-11-25 1.5.0 conformance initialize at 2025-11-25: 1/1 checks pass
protocol.mrtr
conformance/sep-2322-client-request-state default (setting) http 2026-07-28 1.5.0 conformance sep-2322-client-request-state at 2026-07-28: 0/4 checks pass; failed sep-2322-client-request-state-echoed, sep-2322-client-jsonrpc-id-different, sep-2322-client-no-state-omitted, sep-2322-client-parallel-isolation
protocol.protocolVersionHeader
conformance/request-metadata default (setting) http 2026-07-28 1.5.0 conformance request-metadata at 2026-07-28: 0/1 checks pass; failed sep-2575-http-client-sends-version-header
protocol.resultType
conformance/sep-2322-client-request-state default (setting) http 2026-07-28 1.5.0 conformance sep-2322-client-request-state at 2026-07-28: 0/1 checks pass; failed sep-2322-default-result-type-complete
protocol.serverDiscover
conformance/request-metadata default (setting) http 2026-07-28 1.5.0 conformance request-metadata at 2026-07-28: 0/1 checks pass; failed sep-2575-client-retry-supported-version
protocol.sseResumability
conformance/sse-retry default (setting) http 2025-11-25 1.5.0 conformance sse-retry at 2025-11-25: 3/3 checks pass
protocol.standardRequestHeaders
conformance/http-custom-headers default (setting) http 2026-07-28 1.5.0 conformance http-custom-headers at 2026-07-28: 0/5 checks pass; failed sep-2243-client-supports-custom-headers, sep-2243-client-mirrors-designated-params, sep-2243-client-encode-values, sep-2243-client-base64-unsafe, sep-2243-client-omit-null
conformance/http-invalid-tool-headers default (setting) http 2026-07-28 1.5.0 conformance http-invalid-tool-headers at 2026-07-28: 11/13 checks pass; failed sep-2243-invalid-tool-tools-list-gate, sep-2243-client-reject-invalid-tool; only absence checks passed, which a client that ignores the feature also passes
conformance/http-standard-headers default (setting) http 2026-07-28 1.5.0 conformance http-standard-headers at 2026-07-28: 0/1 checks pass; failed sep-2243-client-includes-standard-headers
tools
conformance/tools_call default (setting) http 2025-06-18 1.5.0 conformance tools_call at 2025-06-18: 1/1 checks pass
conformance/tools_call default (setting) http 2025-11-25 1.5.0 conformance tools_call at 2025-11-25: 1/1 checks pass
conformance/tools_call default (setting) http 2026-07-28 1.5.0 conformance tools_call at 2026-07-28: 0/1 checks pass; failed tool-add-numbers
tools.result._meta
meta_only default (setting) http 2025-11-25 1.5.0 […] content only (1x, as text, _meta did not reach the model)
meta_only default (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text, _meta did not reach the model)
meta_only anthropic (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text, _meta did not reach the model)
meta_only codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 1x, structuredContent 0x, _meta did not reach the model)
meta_only deferred (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text, _meta did not reach the model)
with_meta default (setting) http 2025-11-25 1.5.0 […] content only (1x, as text, _meta did not reach the model)
with_meta default (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text, _meta did not reach the model)
with_meta anthropic (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text, _meta did not reach the model)
with_meta codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 1x, structuredContent 1x, _meta did not reach the model)
with_meta deferred (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text, _meta did not reach the model)
tools.result.audience
audience_user default (setting) http 2025-11-25 1.5.0 […] content only (1x, as text)
audience_user default (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
audience_user anthropic (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
audience_user codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 1x, structuredContent 1x)
audience_user deferred (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
tools.result.content
empty_object default (setting) http 2025-11-25 1.5.0 "…" no marker reached the model; payload: "(no tool output)"
empty_object default (setting) stdio 2025-11-25 1.5.0 "…" no marker reached the model; payload: "(no tool output)"
empty_object anthropic (setting) stdio 2025-11-25 1.5.0 "…" no marker reached the model; payload: ""
empty_object codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 0x, structuredContent 0x)
empty_object deferred (setting) stdio 2025-11-25 1.5.0 "…" no marker reached the model; payload: "["Loaded 1 tool. They are available from your next call:\n- mcp__probe__probe_em"
large default (setting) http 2025-11-25 1.5.0 […] content only (1x, as text)
large default (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
large anthropic (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
large codemode (default) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
large deferred (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
no_content_key default (setting) http 2025-11-25 1.5.0 {…} structuredContent only (1x, as json)
no_content_key default (setting) stdio 2025-11-25 1.5.0 {…} structuredContent only (1x, as json)
no_content_key anthropic (setting) stdio 2025-11-25 1.5.0 {…} structuredContent only (1x, as json)
no_content_key codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 0x, structuredContent 1x)
no_content_key deferred (setting) stdio 2025-11-25 1.5.0 {…} structuredContent only (1x, as json)
tools.result.isError
is_error default (setting) http 2025-11-25 1.5.0 […] content only (1x, as text)
is_error default (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
is_error anthropic (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
is_error codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 1x, structuredContent 1x)
is_error deferred (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
tools.result.media
with_image default (setting) http 2025-11-25 1.5.0 […] content only (1x, as text)
with_image default (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
with_image anthropic (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as blocks)
with_image codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 1x, structuredContent 1x)
with_image deferred (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
tools.result.outputSchema
schema_match default (setting) http 2025-11-25 1.5.0 […] content only (1x, as text)
schema_match default (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
schema_match anthropic (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
schema_match codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 1x, structuredContent 1x)
schema_match deferred (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
schema_mismatch default (setting) http 2025-11-25 1.5.0 […] content only (1x, as text)
schema_mismatch default (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
schema_mismatch anthropic (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
schema_mismatch codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 1x, structuredContent 1x)
schema_mismatch deferred (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
tools.result.structuredContent
mirror default (setting) http 2025-11-25 1.5.0 payload once (as json)
mirror default (setting) stdio 2025-11-25 1.5.0 payload once (as json)
mirror anthropic (setting) stdio 2025-11-25 1.5.0 payload once (as json)
mirror codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (payload 2x)
mirror deferred (setting) stdio 2025-11-25 1.5.0 payload once (as json)
sc_empty default (setting) http 2025-11-25 1.5.0 […] content only (1x, as text)
sc_empty default (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
sc_empty anthropic (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
sc_empty codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 1x, structuredContent 0x)
sc_empty deferred (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
sc_null default (setting) http 2025-11-25 1.5.0 […] content only (1x, as text)
sc_null default (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
sc_null anthropic (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
sc_null codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 1x, structuredContent 0x)
sc_null deferred (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
sc_string default (setting) http 2025-11-25 1.5.0 […] content only (1x, as text)
sc_string default (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
sc_string anthropic (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
sc_string codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 1x, structuredContent 1x)
sc_string deferred (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
structured_only default (setting) http 2025-11-25 1.5.0 {…} structuredContent only (1x, as json)
structured_only default (setting) stdio 2025-11-25 1.5.0 {…} structuredContent only (1x, as json)
structured_only anthropic (setting) stdio 2025-11-25 1.5.0 {…} structuredContent only (1x, as json)
structured_only codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 0x, structuredContent 1x)
structured_only deferred (setting) stdio 2025-11-25 1.5.0 {…} structuredContent only (1x, as json)
summary_and_data default (setting) http 2025-11-25 1.5.0 […] content only (1x, as text)
summary_and_data default (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
summary_and_data anthropic (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)
summary_and_data codemode (default) stdio 2025-11-25 1.5.0 ⟨…⟩ envelope (content 1x, structuredContent 1x)
summary_and_data deferred (setting) stdio 2025-11-25 1.5.0 […] content only (1x, as text)

Research notes

Provenance

Read at cdf74062 on 2026-11-27, from main of https://github.com/earendil-works/pi.git. That commit was authored 2026-11-27.

SDK. Hand-written client, published as @earendil-works/pi-mcp (1.7.0 at this commit, declared 1.7.0). pi's own client, a workspace package in the same repo, published to npm at the version of the coding agent. It is hand-written and has one runtime dependency, cross-spawn; nothing in the repo imports an official MCP SDK. The only @modelcontextprotocol/sdk string in package-lock.json is an optional peer of @google/genai, and the lockfile has no entry that installs it. Only the OAuth code is derived: flow.ts and discovery.ts are adapted from typescript-sdk v1.29.0 src/client/auth.ts, with the licence in THIRD_PARTY_NOTICES. The lockfile resolves the package as a link to packages/mcp. No patches directory, patch-package or patchedDependencies; the one npm override is protobufjs. pinsProtocolVersion is left unset because LATEST_PROTOCOL_VERSION is pi's own constant. The coding agent never passes the protocolVersion option, and the option is typed to the four supported revisions.

Paths read:

Source is not vendored. To reproduce any claim above, check out that commit in the client's repository.


Generated from data/clients.json, data/verified/pi.json by scripts/build-cards.js. Edit the registry, rerun the probe or the ingest, not this file.