Stream your context into AI dev tools
Connect Claude, Claude Code, Cursor and Codex to your PJT AI workspace.
01What is MCP?#
MCP (Model Context Protocol) is a standard that lets AI apps work with data in other systems. PJT AI runs its own remote MCP servers, so there is nothing to install. There are two ways to connect. They differ in sign-in, server URL and what the AI can do:
| Method | For | Server URL | Sign-in | What the AI can do |
|---|---|---|---|---|
| PJT connector | Claude (web, desktop, mobile), ChatGPT | https://mcp.pjt.ai/mcp | Sign in with your PJT account and approve permissions (OAuth) | Read, plus create and update work — 15 tools (11 read, 4 write) |
| Agent token | Claude Code, Cursor, Codex | https://mcp.pjt.ai | A pjta_… token issued in PJT | Read-only — 7 tools |
pjt-agent start).02Connect Claude (PJT connector)#
The PJT connector signs Claude in with your PJT account. You approve it once, and Claude then acts as you, with your existing PJT role and no more.
Server URL
https://mcp.pjt.ai/mcp
1. Add the connector
In Claude, open Customize → Connectors. If PJT is listed in the connector directory, choose PJT. Otherwise choose Add custom connector and paste the server URL above, including the /mcp path.
2. Sign in and approve
Select Connect. Claude opens the PJT sign-in page, then a consent screen that shows the app asking for access and the permissions it requests (listed below). Select Allow to finish. If you are already signed in to PJT, you go straight to the consent screen.
3. Use it in a chat
Turn on PJT for a chat from + → Connectors, then ask, for example: “Which of my PJT tasks are overdue this week?”
03Connector tools · permissions#
You grant these permissions on the consent screen. A tool works only when the connection has its permission and your PJT role allows the action, under the same rules as the PJT web app.
| Permission | What it allows |
|---|---|
workspace:read | See your workspaces and spaces, your own PJT account, and the members you can assign work to |
project:read | Read projects and their progress |
project:write | Create projects (within your plan's project limit) |
task:read | Read and filter tasks |
task:write | Create and update tasks, including cancelling a task or removing its assignee |
plan:import | Validate a development plan and import it as phases, epics and tasks (Starter plan and above) |
Read tools (11)
| Tool | What it does |
|---|---|
pjt_get_current_user | The PJT account this connection acts as, and your role in each workspace |
pjt_list_workspaces | Workspaces you belong to, with your role in each |
pjt_list_workspace_members | Members you can assign tasks to (names and roles; email addresses are not returned) |
pjt_list_spaces | Spaces in a workspace |
pjt_list_projects | Projects in a workspace, filtered by space or status |
pjt_get_project | One project: status, dates, progress and a link to open it in PJT |
pjt_get_project_progress | Task counts by status, overdue tasks and the progress rate |
pjt_list_tasks | Tasks in a project, filtered by status, priority, assignee or due date |
pjt_get_task | One task: description, status, assignee, dates and a link to open it in PJT |
pjt_get_plan_schema | The PJT plan format, with an example |
pjt_validate_plan | Checks a plan and previews what an import would create. Nothing in your workspace changes |
Write tools (4)
| Tool | Permission | What happens |
|---|---|---|
pjt_create_project | project:write | Creates a project. Needs the Owner, Admin or Manager role and counts toward your plan's project limit |
pjt_create_task | task:write | Creates a task. The assignee is notified, and Slack, webhook, Google Calendar and client email integrations run where your workspace has set them up. Sent messages can't be recalled |
pjt_update_task | task:write | Changes a task's title, description, status (including cancelling), priority, assignee or dates, with the same notifications as editing in PJT |
pjt_import_plan | plan:import | Imports a plan previewed with pjt_validate_plan: only that exact preview, once, within 30 minutes |
04Data handling#
What the connector shares and what PJT keeps:
- PJT receives only the tool name and the values Claude sends for that call, such as a project id or a task title. PJT does not receive your Claude conversation.
- Tool results contain PJT data you can already see: names, statuses, dates, descriptions and PJT links. They are sent to the AI app you connected and handled under that provider's terms. Member email addresses are not included.
- When the connector creates a task or changes its title or description, PJT writes a short AI summary of the task, just as it does in the web app. The summary is generated by PJT's AI model providers and uses a small amount of your workspace's AI credits.
- For security, PJT logs each tool call: who made it, which app, which tool, the result and the time. Request and response content is not logged.
- So that retries are safe, the result of each change is kept for 7 days (3 days if it failed) and then deleted. A plan preview expires after 30 minutes and is deleted 7 days later.
- Disconnecting ends the app's access. Changes already made stay in PJT and in its history.
05Disconnect · troubleshooting#
You can disconnect from either side. Reconnecting asks for your approval again.
- In PJT: Settings → Integrations → AI dev tools → Connected AI apps, then Disconnect next to the app. Its access ends from its next request.
- In Claude: Customize → Connectors → PJT → Disconnect.
Troubleshooting
- Can't reach the server: check that the URL is exactly
https://mcp.pjt.ai/mcp, including/mcp. The address without/mcpis for agent tokens only. - Claude says a permission is missing: the connection was approved with fewer permissions. Connect again and approve every permission on the list.
- “The PJT connection is no longer valid”: the connection was removed in PJT or your account changed. Connect again from Claude.
- The sign-in page says the request expired: start again from Connect in Claude.
- A tool says you don't have access: your PJT role doesn't allow that action in that workspace or project. Ask a workspace admin.
- Plan import isn't available: importing plans needs the Starter plan or above.
- Still stuck? Email
[email protected].
06Connect Claude Code (agent token)#
Claude Code connects with an agent token and gets the read-only tools listed below. To create or update work from Claude, use the PJT connector in the Claude apps.
Requirement: only the Anthropic claude CLI. No PJT npm install is needed.
1. Issue a token
Go to AI Integrations → “Connect” on a tool card in your workspace and issue a token (pjta_…). Right after issuing, the screen shows registration snippets per tool with the token filled in (the token is shown only once).
2. Register — one line
Replace pjta_xxx with your token and paste it into the terminal.
claude mcp add --transport http pjt-workspace https://mcp.pjt.ai \ --header "Authorization: Bearer pjta_xxx"
3. Verify
$ claude mcp list pjt-workspace ✓ connected $ claude > show me the recent documents in this workspace [pjt-workspace] get_workspace_snapshot → 8 documents
claude mcp list shows pjt-workspace and you see the tool-call log in a conversation, you're connected.Tools available with an agent token:
| Tool | What it does |
|---|---|
list_workspaces | My workspace list (start here when you don't know the ID) |
get_project | Project basics (id or publicId p_xxx) |
list_project_tasks | Task list (status filter available) |
get_task | Task details |
get_document | Document details (includes content) |
list_workspace_documents | Workspace document list |
get_workspace_snapshot | Workspace bundle (recent documents, etc.) |
07Connect Cursor#
Add the following to ~/.cursor/mcp.json. It uses the same token as Claude Code.
{
"mcpServers": {
"pjt-workspace": {
"url": "https://mcp.pjt.ai",
"headers": {
"Authorization": "Bearer pjta_xxx"
}
}
}
}pjt-workspace tools then appear in the list.08Connect Codex#
Codex does not support remote MCP natively yet, so mcp-remote bridges it. Add this to ~/.codex/config.toml.
[mcp_servers.pjt-workspace] command = "npx" args = ["-y", "mcp-remote", "https://mcp.pjt.ai", "--header", "Authorization: Bearer pjta_xxx"]
npx, so you need Node.js 18+ locally. Once Codex supports remote MCP, this becomes as simple as the Cursor setup.09Access scope#
Both methods show only what your PJT account can already see in PJT:
| Item | PJT connector | Agent token |
|---|---|---|
| Data | Workspaces, spaces, members, projects and tasks | Workspaces, projects, tasks and documents |
| Changes | Create projects and tasks, update tasks and import plans, as your role allows | None (read-only) |
| Client accounts | Shared projects and their client-visible tasks, read-only | Not available |
| Plan | Plan import needs Starter or above | Needs a plan that includes AI integrations |
10Security · permissions#
- Every request acts as your own PJT account, and PJT checks your role on the server for each one
- PJT connector: you approve permissions on a consent screen and can disconnect at any time. Sign-in tokens are renewed automatically and replaced on every renewal, and your PJT password is never shared with the AI app
- Agent token: read-only. It reuses the Claude Code agent token (pjta_), with no separate key. Revoke or reissue it per agent. It is shown only once, so reissue it if you lose it
- Encrypted in transit and at rest (TLS 1.3 + AES-256)
- Tool calls made through the PJT connector are recorded in an audit log, without request or response content
- Not used for AI training. Data ownership stays with the workspace