Connect Claude Code or Cursor
Make a personal access token, add Entropix as an MCP server and install the plugin.
Your coding agent, Claude Code or Cursor, can work with Entropix from your editor. It reads your team's agents and know-how, reviews your branch, builds PRDs, fixes reviews that were sent back and, for admins, builds agents. It connects to the portal's MCP endpoint with a personal access token that acts as you. This page shows how to make the token, connect your editor and install the Entropix plugin.
Before you start
- You have an account in the organisation. Every role, viewers included, can make a token. What the token can do depends on your role (see What a token can do).
- Claude Code or Cursor is installed on your machine.
- To build PRDs and fix reviews, your own SSH key can clone and push the repositories.
Open Your coding agent
- Choose Account & tokens in the sidebar.
- Under Your coding agent, choose Your coding agent →. Or go straight to /account/coding-agent.
- Pick the tab for your editor: Claude Code or Cursor.
Many pages also have a From your editor box with the command for that page. Until your editor is connected, the box also shows the setup commands and links to Your coding agent → and Cursor →.
Connect Claude Code
The Connect Claude Code panel has three numbered parts. Each shows Done when it is finished; 2. Install the plugin ticks only when a connection reports the plugin's version, which the Cursor plugin does; Claude Code does not, so on Claude Code that step never shows Done.
- Make a token. Under 1. Make a token, enter a Name (it starts as laptop), pick Expires in 30, 90 or 365 days (90 to start with) and choose Create token.
- Copy it. A Your new token panel shows the token and says Copy it now — shown once. Below it is the full connect command with your token already filled in.
- Install the plugin. Under 2. Install the plugin, run the two commands shown:
If the page says The plugin is not offered from this portal yet., skip this. The connect command alone gives your session every Entropix tool; you only miss the skills.claude plugin marketplace add <your organisation's marketplace> claude plugin install entropix@entropix - Connect the portal. Run the connect command in a terminal. Its shape is:
Use the command from the page: it has your portal's own address.claude mcp add --transport http --scope user entropix \ https://portal.entropixs.com/mcp \ --header "Authorization: Bearer <your token>" - Start a session. Open Claude Code. 3. Seen from your editor ticks when your editor connects, and shows your client and when it was last seen. Until then it says Not yet. Start a session in your editor; this ticks when it connects.
The command uses --scope user, so Entropix works in every folder, including the folders PRD builds clone into (~/entropix/prd-<n>/). Claude Code stores the token in ~/.claude.json, never in a file a project commits.
Keep the token secret. Anyone who has it can read your organisation's know-how as you. Do not put it in a repository, and do not paste it into a chat. If it leaks, revoke it at once (see Revoke a token).
Connect Cursor
- On the Cursor tab, make a token under 1. Make a token. The new token panel says Paste it into Cursor as ENTROPIX_TOKEN.
- Install Entropix from your team marketplace in Cursor.
- In Cursor's dashboard, under Plugins, set two variables:
ENTROPIX_URL, the portal's address as the page shows it, with no trailing slash; andENTROPIX_TOKEN, your token. - Start a session. 3. Seen from your editor ticks when it connects.
The Cursor plugin tells the portal its version. When it is older than the portal's, step 3 says Plugin 0.31.0 is old: update to 0.33.0.
What you can do from the editor
The page's What you can do from the editor section shows seven flows, each with a command you can copy. Each is a skill in the plugin; see The plugin's skills for the details.
| Flow | Command | Who | What happens |
|---|---|---|---|
| Ask your agents | /entropix:ask-agents how do we roll back payments-api? | Any role | Finds the agent that knows, reads only the skills it points to, and answers citing the files it read. |
| Build an agent | /entropix:build-agent from our runbooks folder | Admin | Creates the agent and its main skill, adds skills and repositories from your files, and ends with a link to its setup. |
| Add a repository | /entropix:add-repo payments | Admin | Asks which agent and which SSH address, and links the repository. A person approves the scan on the repository's page. |
| Suggest a rule | /entropix:suggest-rule payments | Member | Drafts one checkable sentence with you and suggests it to the agent's maintainers. It is never active until a person approves it. |
| Review your branch | /entropix:review-local | Any role | Reviews your branch's diff with the reviewer agent's know-how and rules. Writes nothing to the portal. |
| Fix a review | /entropix:fix-review payments-api!42 | Member | Reads the items marked to fix, makes one commit per item, runs the tests and pushes. The portal shows them fixed and the next round starts. |
| Build a PRD | /entropix:build-prd PRD-12 | Any role | Reads the PRD and the agents' know-how, builds on prd-12/…, ticks each criterion and opens the merge request naming PRD-12. |
The fold What the plugin can call (15 tools) lists the tools in three groups: 8 that read, 2 that members can use to change things, and 5 for admins. See MCP tools reference.
These tools are for your coding agent. Agents that chat on the portal have their own built-in tools instead. See Built-in tools.
What a token can do
A token acts as you, with your role. It can do nothing you could not do in the portal.
| Your role | What your coding agent can do |
|---|---|
| Viewer | Read agents, know-how, repositories, PRDs and review items. |
| Member | All of that, plus suggest rules and report fixes on a review. |
| Admin | All of that, plus create agents, write their main skill and skills, add repositories and submit repository drafts. |
A tool your role cannot use answers with the reason, for example changing agents needs an organisation admin.
Revoke a token
- Open Account & tokens. The Personal access tokens panel lists your tokens with when each was created, when it expires, when it was last used and by which client.
- Choose Revoke on the token.
- Confirm. The page asks Revoke laptop? The coding session using it stops and offers Revoke or Keep.
The page says Token revoked. The next call from that editor fails, and the session stops working. Revoked tokens stay listed under Show revoked.
- You can revoke your own tokens. An admin can revoke anyone's on People. See Invite people and set roles.
- When you change your password, Also revoke my personal access tokens (coding sessions stop) is ticked by default. See Sign up and sign in.
- A token stops working on its own when it expires, when your account is disabled, or when your organisation is disabled.
The MCP endpoint
Your coding agent talks to one address: your portal's address followed by /mcp, for example https://portal.entropixs.com/mcp. It speaks MCP (Model Context Protocol) over HTTPS.
- Only tokens. The endpoint accepts only a personal access token in the
Authorization: Bearerheader. It ignores your browser's sign-in, and the portal's pages never accept a token. - Checked every call. Each call checks that the token is not revoked or expired and that your account and organisation are enabled.
- Recorded. The portal records which client connected, which is how step 3 ticks. Every call that changes something is written to the audit log.
- Read-only on code. Nothing over this endpoint changes code. Your coding agent changes code on your machine, and you push it.
- Not public. The MCP endpoint is not a webhook. It is kept to the networks your developers use and is never put behind a public tunnel. If your editor cannot connect from where you are, ask your admin. See Webhooks and public endpoints.
What you can and can't do
- Make as many tokens as you need, one per machine, each with its own name.
- Pick an expiry of 30, 90 or 365 days.
- Use the tools without the plugin, through the connect command alone.
- Revoke a token at any time.
- Use Claude Code and Cursor with the same organisation.
- See a token again after you leave the page. Make a new one.
- Make a token that never expires, or extend one.
- Give a token more rights than your role has.
- Sign in to the portal's pages with a token.
- Use one token for another organisation.
Troubleshooting
| You see | What it means |
|---|---|
A 401 that ends — mint a personal access token at …/account and connect with it | The token is missing, wrong, expired or revoked, or your account or organisation is disabled. Make a new token and run the connect command again; it replaces the old entropix entry. Then start a new session. |
This account is disabled. Ask an admin of your organisation. | Your account was disabled. An admin can turn it back on. |
A 403 saying this portal answers /mcp at … — use that address | Your editor uses a different address for the portal. Use the address shown. |
a token needs a name | Give the token a name. |
| Not yet. Start a session in your editor stays after you connected | Start a new session in your editor. In Claude Code, check that entropix appears in your MCP servers. |