pi-mono/packages/coding-agent/docs
Armin Ronacher 779f67895c feat(coding-agent): add pi mcp list, login, and logout commands
pi mcp list connects to every enabled server and reports its state, tools, and errors, exiting with 1 when anything fails, so agents can verify an mcp.json they wrote. pi mcp login runs the OAuth sign-in through the browser, and pi mcp logout deletes stored credentials. Running sessions reconnect servers waiting for a sign-in at the next turn when their credentials changed.

The system prompt points MCP questions to docs/mcp.md, which now covers setting up servers: which file to edit, rules that are easy to get wrong, converting entries from other clients, and verifying with pi mcp list.
2026-09-27 22:01:25 +02:00
..
images docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
cli-integration.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
cli.md feat(coding-agent): add pi mcp list, login, and logout commands 2026-09-27 22:01:25 +02:00
compaction.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
configuration.md feat(coding-agent): connect MCP servers and expose them through codemode 2026-09-25 15:02:51 +02:00
containerization.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
custom-provider.md feat(ai,coding-agent): unify image and classifier model infrastructure (#9948) 2026-09-23 17:41:19 +02:00
docs.json feat(coding-agent): connect MCP servers and expose them through codemode 2026-09-25 15:02:51 +02:00
environment-variables.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
extensions.md refactor(agent,coding-agent): isolate codemode, tool search, and MCP from the core 2026-09-27 21:15:56 +02:00
how-pi-works.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
index.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
json.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
keybindings.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
llama-cpp.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
mcp.md feat(coding-agent): add pi mcp list, login, and logout commands 2026-09-27 22:01:25 +02:00
message-types.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
models.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
packages.md fix(coding-agent): prevent duplicate extension runtimes (closes #9863) 2026-09-23 15:33:56 +02:00
prompt-templates.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
providers.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
quickstart.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
rpc-commands.md feat(coding-agent): report prompt disposition in RPC responses 2026-09-25 14:53:11 +02:00
rpc-extension-ui.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
rpc.md feat(coding-agent): report prompt disposition in RPC responses 2026-09-25 14:53:11 +02:00
sdk.md refactor(agent,coding-agent): isolate codemode, tool search, and MCP from the core 2026-09-27 21:15:56 +02:00
security.md feat(coding-agent): connect MCP servers and expose them through codemode 2026-09-25 15:02:51 +02:00
session-format.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
sessions.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
settings.md refactor(agent,coding-agent): isolate codemode, tool search, and MCP from the core 2026-09-27 21:15:56 +02:00
shell-aliases.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
skills.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
slash-commands.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
terminal-setup.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
termux.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
themes.md feat(coding-agent,tui): System theme (#10067) 2026-09-26 13:33:47 +02:00
tmux.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
tui.md feat(tui,coding-agent): add color values and theme styling (#8398) 2026-09-24 14:42:22 +02:00
usage.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
windows.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00