# SDK, CLI and MCP

> The @sypnia/app package, the app command and the MCP tools for agents.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://app.docs.sypnia.com/tools/

For agents: Tools: @sypnia/app (TypeScript SDK for the App API: projects, sessions and streaming messages, board, credits and ledger, limits, notifications), the app command (npx @sypnia/app: login for every Sypnia CLI, whoami, orgs, projects, sessions, credits, ledger, top-up opening the browser, open in the desktop app), MCP at https://mcp.app.sypnia.com (read projects, board, sessions, balance, ledger; create projects and sessions; never top up, spend or approve). All MIT.

Everything App does is in its [API](https://app.docs.sypnia.com/api). These three tools use it.

| Tool                                                       | For                                                                                 |
| ---------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| [`@sypnia/app`](https://app.docs.sypnia.com/tools/sdk)     | your own code: read the board, start a session, follow the ledger                   |
| [The `app` command](https://app.docs.sypnia.com/tools/cli) | your terminal: sign in once for every Sypnia command line, see projects and credits |
| [MCP](https://app.docs.sypnia.com/tools/mcp)               | other agents: read the board and the ledger, start sessions                         |

- [The SDK](/tools/sdk/): @sypnia/app: the App API from TypeScript, with streaming sessions.
- [The app command](/tools/cli/): Sign in once for every Sypnia command line, and see your projects, sessions and credits.
- [MCP for agents](/tools/mcp/): The App MCP server: projects, boards, sessions and the ledger, for other agents.
