PJT AIPJT AI/MCP
Getting startedAPI
MCP integration
What is MCP?Connect Claude (PJT connector)Connector tools · permissionsData handlingDisconnect · troubleshootingConnect Claude Code (agent token)Connect CursorConnect CodexAccess scopeSecurity · permissions
MCP integration guide

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:

MethodForServer URLSign-inWhat the AI can do
PJT connectorClaude (web, desktop, mobile), ChatGPThttps://mcp.pjt.ai/mcpSign in with your PJT account and approve permissions (OAuth)Read, plus create and update work — 15 tools (11 read, 4 write)
Agent tokenClaude Code, Cursor, Codexhttps://mcp.pjt.aiA pjta_… token issued in PJTRead-only — 7 tools
ⓘ
Which one should I use?
In the Claude apps, use the PJT connector: it is the only way to create or update work, and you never copy a token. In coding tools, use an agent token. Claude Code can't use the PJT connector yet, because PJT accepts sign-in only from the Claude and ChatGPT web apps. Neither method is the same as running tasks with PJT Agent (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

text
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?”

✓
Changes need your approval
The 4 tools that change PJT data are marked as write tools, so Claude asks you before running them unless you chose to always allow that tool. Every change is recorded in PJT history as made by an AI app, and retrying the same request never applies it twice.

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.

PermissionWhat it allows
workspace:readSee your workspaces and spaces, your own PJT account, and the members you can assign work to
project:readRead projects and their progress
project:writeCreate projects (within your plan's project limit)
task:readRead and filter tasks
task:writeCreate and update tasks, including cancelling a task or removing its assignee
plan:importValidate a development plan and import it as phases, epics and tasks (Starter plan and above)

Read tools (11)

ToolWhat it does
pjt_get_current_userThe PJT account this connection acts as, and your role in each workspace
pjt_list_workspacesWorkspaces you belong to, with your role in each
pjt_list_workspace_membersMembers you can assign tasks to (names and roles; email addresses are not returned)
pjt_list_spacesSpaces in a workspace
pjt_list_projectsProjects in a workspace, filtered by space or status
pjt_get_projectOne project: status, dates, progress and a link to open it in PJT
pjt_get_project_progressTask counts by status, overdue tasks and the progress rate
pjt_list_tasksTasks in a project, filtered by status, priority, assignee or due date
pjt_get_taskOne task: description, status, assignee, dates and a link to open it in PJT
pjt_get_plan_schemaThe PJT plan format, with an example
pjt_validate_planChecks a plan and previews what an import would create. Nothing in your workspace changes

Write tools (4)

ToolPermissionWhat happens
pjt_create_projectproject:writeCreates a project. Needs the Owner, Admin or Manager role and counts toward your plan's project limit
pjt_create_tasktask:writeCreates 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_tasktask:writeChanges a task's title, description, status (including cancelling), priority, assignee or dates, with the same notifications as editing in PJT
pjt_import_planplan:importImports a plan previewed with pjt_validate_plan: only that exact preview, once, within 30 minutes
ⓘ
What the connector can't do
There are no delete tools, and the connector can't reach billing, payments or workspace settings. Client accounts can read only the projects shared with them and their client-visible tasks, and can't change anything.

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 /mcp is 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.

bash
claude mcp add --transport http pjt-workspace https://mcp.pjt.ai \
  --header "Authorization: Bearer pjta_xxx"

3. Verify

bash
$ claude mcp list
pjt-workspace  ✓ connected

$ claude
> show me the recent documents in this workspace

[pjt-workspace] get_workspace_snapshot → 8 documents
✓
Connection successful
If 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:

ToolWhat it does
list_workspacesMy workspace list (start here when you don't know the ID)
get_projectProject basics (id or publicId p_xxx)
list_project_tasksTask list (status filter available)
get_taskTask details
get_documentDocument details (includes content)
list_workspace_documentsWorkspace document list
get_workspace_snapshotWorkspace bundle (recent documents, etc.)

07Connect Cursor#

Add the following to ~/.cursor/mcp.json. It uses the same token as Claude Code.

json
{
  "mcpServers": {
    "pjt-workspace": {
      "url": "https://mcp.pjt.ai",
      "headers": {
        "Authorization": "Bearer pjta_xxx"
      }
    }
  }
}
ⓘ
Restart required
Save and restart Cursor — the 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.

toml
[mcp_servers.pjt-workspace]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.pjt.ai", "--header", "Authorization: Bearer pjta_xxx"]
ⓘ
Node.js required
The bridge runs through 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:

ItemPJT connectorAgent token
DataWorkspaces, spaces, members, projects and tasksWorkspaces, projects, tasks and documents
ChangesCreate projects and tasks, update tasks and import plans, as your role allowsNone (read-only)
Client accountsShared projects and their client-visible tasks, read-onlyNot available
PlanPlan import needs Starter or aboveNeeds 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