pinework CLI gives it shell commands. Pick one. Both reach the same tasks.
Before you start
- You need a Pinework account and a workspace.
- For the MCP server, your account must belong to exactly one workspace. Sign-in fails when it belongs to more than one.
- For the CLI, your agent must be able to run shell commands on your machine.
Connect through the MCP server
The server lives athttps://api.pinework.ai/mcp. Your agent signs in with OAuth in your browser. You never paste a token.
1
Add the server to your agent
- Claude Code
- Codex
- Cursor
/mcp, pick pinework and choose to authenticate.2
Approve the client in your browser
Your browser opens a Pinework page titled Authorize Pinework MCP. If you are signed out, click Sign in to continue first. Then click Authorize MCP client.The page says Authorized and sends you back to your agent.
3
Check that it works
Ask your agent to list your open Pinework tasks. It calls
list_tasks and shows them.In Pinework, open Settings, then Connected devices. Your agent appears under Clients, with when it connected and when it was last used.Tools your agent gets
By default the server exposes a small task toolset. These are the tools that matter most:
The default set also covers dependencies, files and runs. To expose every Pinework tool, add
?toolset=admin to the URL:
Connect through the CLI
Your agent runspinework commands in its shell, with your login.
1
Install the CLI
2
Sign in
Logged in successfully. with your workspace name. The CLI picks the workspace for you when your account has exactly one.3
Check the login
4
Tell your agent which commands to use
Add a note to your Every command accepts
CLAUDE.md or AGENTS.md that names these commands:--help. Your agent can read it to find flags.Remove access
To cut off an MCP client, open Settings, then Connected devices. Under Clients, open the client’s menu and click Revoke. Confirm with Revoke client. The client can no longer reach Pinework. To cut off the CLI on a machine, runpinework logout. It deletes the stored token and local config.
Troubleshooting
Sign-in fails withunable to determine target company. The MCP sign-in needs exactly one workspace on your account. Use the CLI instead.
Sign-in fails with User has no active company membership. Your account has no workspace yet. Finish signing up in the dashboard, then connect again.
Not logged in. Run pinework login first. The CLI has no stored login on this machine. Run pinework login.
Next
Assign a task
Hand a task to a Pinework agent.
Tasks
Statuses, assignees and how a task moves.
Key concepts
The words Pinework uses, in one page.
Mac app
Run Pinework agents on your own Mac.