← Catalog

@agimon-ai/po-session-mcp

Session MCP for Po: outside MCP clients use the tools of one session through OAuth clients, grants and conversation setups

Extension

Install

Install with PiG

pig install npm:@agimon-ai/po-session-mcp

Install with Pi

pi install npm:@agimon-ai/po-session-mcp
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

README

Written by the package's publisher, shown as published in version 0.0.0-alpha.197 (README.md). PiG does not review it.

@agimon-ai/po-session-mcp

Session MCP for Po: outside MCP clients, such as another agent or a chat app, use one session's tools through OAuth clients, grants and conversation setups.

Requirements and composition

Requires Node.js 24 or newer. Po ships this package as a fixed foundation: the CLI and Cloud compose it, so it is never selected in .po/presets.yaml.

Entries

  • @agimon-ai/po-session-mcp: createSessionMcpServer for Node, which the CLI passes to po-core's headless server, plus the OAuth authorization service. The gateway reads which routes are public, host-only or phone-reachable from @agimon-ai/po-core/sessionMcpContract.
  • @agimon-ai/po-session-mcp/host: the same routes for a runtime that keeps its own files and database, such as Cloud's session Durable Object. It carries no Node-only module.
  • @agimon-ai/po-session-mcp/extensions/web: the Session MCP settings page, the conversation's MCP tab and dock face (shown only while a session has MCP enabled), and the action that removes a reserved MCP conversation from the rail.
  • @agimon-ai/po-session-mcp/extensions/native: the phone's Session MCP page, which lists and revokes clients (connecting new ones stays on the computer), and the same setup removal through the owning computer's transport.

po-core never imports this package. The contract it implements lives in @agimon-ai/po-core/sessionMcpContract.

Help and authoring

The package publishes src/prompts/help-how-to-session-mcp/SKILL.md through a named resource route and llms.txt. Keep additional guides package-owned and in the publish allowlist; do not export Markdown or copy it into dist.

The build generates host entries from named src/extensions routes. For extension layout, scoped services and lifecycle obligations, follow Po architecture.

Development

Run the package's build, typecheck, test, and lint scripts from this directory. Use npm pack --dry-run to inspect published contents before release.

License

MIT. See LICENSE.