User Guide
CLI & MCP server for AI tools
Connect the eewby command line and Model Context Protocol server to Cursor, Claude Desktop and scripts with a personal access token.
Overview
eewby includes a first-party command-line interface and a Model Context Protocol (MCP) server. Both use the same API as the web and iOS apps, so they respect your workspace, your project access and your plan limits.
- Use the CLI to script routine work: create projects and to-dos, post updates, upload files and read activity.
- Use the MCP server to let an AI coding assistant such as Cursor or Claude Desktop read and update your projects through 23 safe, validated tools.
Every CLI command prints readable output by default and structured JSON with --json for scripts and agents.
Setup walkthrough
- Sign in on the web and choose CLI & MCP setup from your menu (`/settings/cli`). The public CLI & MCP page shows the same guided walkthrough with copy-ready snippets for Cursor, Claude Desktop, Claude Code, VS Code and Windsurf.
- In CLI & MCP Personal Access Tokens, enter a label such as “Cursor MCP” and create a token. It starts with
eewby_pat_ and expires after 90 days by default. - Copy the token right away. It is shown once, and eewby only stores a fingerprint of it.
- Add eewby to your tool’s MCP configuration, for example
.cursor/mcp.json for Cursor or claude_desktop_config.json for Claude Desktop, as shown below. - Restart the tool and ask it to list your eewby projects to confirm it works.
{
"mcpServers": {
"eewby": {
"command": "npx",
"args": ["-y", "@eewby/cli", "mcp"],
"env": {
"EEWBY_API_TOKEN": "eewby_pat_your_token_here",
"EEWBY_API_URL": "https://eewby.com"
}
}
}
}
Note: Treat a personal access token like a password. Revoke it from the same token card the moment you no longer need it.
CLI quick reference
Sign in once, then work with your workspace from the terminal:
eewby auth login --token eewby_pat_...
eewby auth whoami
eewby workspaces list
eewby projects list --json
eewby projects create --name "Q1 Website Redesign"
eewby todos add <project-id> --list <list-id> --title "Ship it" --due 2026-12-10
eewby messages post <project-id> --title "Weekly update" --category fyi --body-file ./update.md
eewby files upload <project-id> ./diagram.png --notes "Updated diagram"
eewby schedule create <project-id> --title "Go-live review" --starts-at 2026-12-15T17:00:00Z
eewby activity --limit 20
eewby notifications list --unread
| Setting | Environment variable | Purpose |
|---|
| API address | EEWBY_API_URL | Defaults to https://eewby.com. |
| Token | EEWBY_API_TOKEN | A session token or a eewby_pat_ personal access token. |
| Workspace | EEWBY_WORKSPACE_ID | Targets a specific workspace for one command. |
| Config file | EEWBY_CONFIG_PATH | Where the CLI keeps saved credentials. |
What the MCP server exposes
The MCP server offers 23 tools covering workspaces and projects, to-dos, Message Board posts and comments, docs, schedule events, activity and your Inbox. Read-only tools are marked as such, and list tools are paginated so responses stay compact. It also publishes resources for your workspaces, projects and unread notifications.
Security
- A personal access token acts as you, with your access and no more.
- Tokens cannot create or revoke other tokens, and cannot perform sensitive actions such as exporting data, transferring ownership or deleting a workspace or account. Those need a signed-in browser or app session.
- Changing your password revokes every personal access token.
- Saved CLI credentials are only ever sent to the API address they were saved for.
Back to all guides · Start free