MCP tools reference
Every tool Entropix offers your coding agent, what it does and who may call it.
Entropix offers your coding agent 15 tools over its MCP endpoint. Eight read; seven change something on the portal. Each runs as you, through your personal access token, so it can do only what your role allows. This page lists every tool: what it does, what you pass, what comes back, who may call it and which plugin skill uses it.
https://portal.entropixs.com/mcp
Any role reads · Member Admin change
Before you start
Connect your editor with a personal access token. See Connect Claude Code or Cursor. You rarely call these tools by name: the plugin's skills call them for you, and your coding agent also picks them from their descriptions.
All tools at a glance
| Tool | What it does | Changes | Who | Used by |
|---|---|---|---|---|
list_agents | Lists your organisation's agents. | Nothing | Any role | ask-agents, build-agent, add-repo, suggest-rule, review-local |
get_agent | Reads one agent: its main skill, files and repositories. | Nothing | Any role | ask-agents, build-agent, suggest-rule, review-local, build-prd |
read_agent_file | Reads one file of an agent. | Nothing | Any role | ask-agents, build-agent, suggest-rule, review-local, build-prd |
search_knowledge | Searches every agent's know-how. | Nothing | Any role | ask-agents, build-prd |
get_repo | Reads one repository's approved reference and skill. | Nothing | Any role | ask-agents, build-prd |
get_prd | Reads one PRD, its criteria and its linked merge requests. | Nothing | Any role | build-prd, review-local |
list_prds | Lists your organisation's PRDs. | Nothing | Any role | build-prd |
get_review_items | Reads the items a person sent back on a review. | Nothing | Any role | fix-review |
report_fix | Reports one item as fixed or disputed. | A report | Member | fix-review |
suggest_rule | Suggests a rule to an agent's maintainers. | A suggestion | Member | suggest-rule, build-agent |
create_agent | Creates an empty agent. | A new agent | Admin | build-agent |
put_main_skill_text | Replaces the hand-written part of an agent's main skill. | Live know-how | Admin | build-agent |
put_agent_skill | Creates or replaces one skill and its files. | Live know-how | Admin | build-agent |
add_repository | Adds a repository to an agent. | A repository link | Admin | add-repo, build-agent |
submit_repository_draft | Submits a repository's reference and skill for approval. | A draft | Admin | build-agent |
Tools that read
These eight tools change nothing. Every role can call them, viewers included. They return only approved content: a repository's reference and skill are not offered until a person approves them.
list_agents
Lists every agent in your organisation, except the portal's background-job agents. Takes no input.
Returns each agent's name, description, how many skills it has and how many approved repositories.
get_agent
Reads one agent in full. Read its main skill first and follow it.
| Input | What to pass |
|---|---|
name | The agent's exact name, from list_agents. |
Returns the main_skill (the hand-written part, then one line per skill, approved repository, tool, memory and rule); files, every file of the agent's tree with its size; and repositories, every repository added to the agent with its status, whether it is approved, the revision a draft needs, the last scan error and any change a person asked for.
An agent's files are laid out like this:
<agent>/SKILL.md the main skill
<agent>/rules.md the agent's rules
<agent>/references/<repo>.md a repository's facts
<agent>-<repo>/SKILL.md how to work in that repository
<agent>-<skill>/SKILL.md a skill the team wrote, with its files beside it
read_agent_file
Reads one file of an agent's tree, byte for byte.
| Input | What to pass |
|---|---|
agent | The agent's name. |
path | The file's path exactly as get_agent, a main skill line or a search result gives it, for example platform/references/kubewatch.md. |
search_knowledge
Searches every agent's main skill, skills, skill files and approved repositories for a word or phrase.
| Input | What to pass |
|---|---|
query | A word or phrase. |
Returns up to 20 results, each an agent, a path and a snippet around the match. A snippet is a pointer: read the file before relying on it.
get_repo
Reads one repository as your organisation holds it.
| Input | What to pass |
|---|---|
repository | Its SSH address: git@host:group/repo.git or ssh://git@host[:port]/group/repo.git. |
Returns its status (scanning, scan_failed, ready_to_review, approved, approved_reference_only or update_ready), approved (whether approved content exists, whatever the status says), the commit it was approved at, the approved reference and skill with its "when to use" line, the repository's own agents_md as approved, and the agents that hold it. Where agents_md is present, it wins over the reference.
get_prd
Reads one PRD: everything a coding agent needs to build it.
| Input | What to pass |
|---|---|
prd | PRD-7, 7, or the PRD's id from a /runs/… link. |
Returns:
number,title,status(drafting,ready,shippedorcancelled),version(0 while the first draft is written) and theagentthat writes it.repositoriesit changes, each with its name, SSH address and default branch, andrepositories_chosen: false when nobody chose them and they are only what the first draft read.document, the current version's whole text, and apart from it the agent'sreview_notes, which are things to check, not requirements.journeys,requirements,acceptance_criteria(each traced to its requirement and journey),open_questionsand the chosenapproach.linked_changes: every linked merge request, newest first, with its state (openormerged), review status, verdict, review page and the PRD version it was reviewed against.review_url, the PRD's page on the portal.
An unknown number answers no PRD numbered 7 in this organisation. See Build a PRD.
list_prds
Lists your organisation's PRDs, to find one to build or the number a merge request should name.
| Input | What to pass |
|---|---|
status | Optional: drafting, ready, shipped or cancelled (completed also means shipped). Leave it out for every PRD. |
Returns each PRD's number, title (PRD-12 until the agent names it), status and version.
get_review_items
Reads what a person sent back on a review, so you can fix it.
| Input | What to pass |
|---|---|
review | The merge request: repo!7, owner/repo!7, repo#7, its web address, or a review id. |
Returns the review's round, its state, the head commit it reviewed, its page and:
items: the findings a person marked To fix, each with its id (F-2), severity (will_break,should_fixornote), path and line, title, issue, suggested fix and any report already made. A finding that rests on live data an agent read is markedlive; a security finding carries its CWE, OWASP category and scenario. Items are listed only while the state issent_back.acceptedandnot_an_issue: findings a person marked Accept the risk or Not an issue, with the reason. Leave them alone.whats_left: on a requirement round, what is still missing against the PRD's criteria.fix_command: the/entropix:fix-reviewcommand for this merge request.
When a short name matches more than one repository, it asks you to use owner/repo!<n>. See Fix a review and review again.
Tools that change things
These seven tools write to the portal. Each needs a member's or an admin's token, and each call is written to the audit log under your name. None of them approves anything, and none changes code.
report_fix
Records one item of a sent-back review as fixed or disputed. A report is a claim, not a verdict: the next round, which your push starts, checks it. Needs a Member or Admin token. Sending the same report again replaces the earlier one.
| Input | What to pass |
|---|---|
review | The merge request, as for get_review_items. |
item | The item's id, for example F-2. |
status | fixed or disputed. |
note | Up to 1,000 characters. Required when disputed: say why. |
commit | The commit that fixes it, 7 to 40 hex characters. |
test | The test that proves it, as path:line. |
It works only on the round that was sent back, and only for an item a person marked To fix. It returns the round, when it was recorded, and what to do next, for example push to start round 3.
suggest_rule
Suggests a rule for an agent's maintainers, or an admin, to approve or dismiss on the portal. It is never active until a person approves it. Needs a Member or Admin token.
| Input | What to pass |
|---|---|
agent | The agent the rule is for. |
repository | Optional: the SSH address of one of the agent's repositories. The rule then belongs to that repository and reaches every agent that holds it. |
kind | flag (raise a finding when this is not followed) or dont_flag (known and accepted; do not raise it). |
text | One checkable sentence on one line, up to 300 characters. |
why | Optional: why the team holds it, up to 600 characters. |
applies_to | Optional: up to 10 path patterns, for example internal/http/**. |
words | Optional: the person's own words, shown to the maintainer beside it. |
Returns its reserved label (R-31), status pending, the owner, a receipt to repeat word for word, and the suggestion's page. An agent or repository can have up to 30 suggestions waiting. See Rules.
create_agent
Creates an empty agent and returns its page. Needs an Admin token.
| Input | What to pass |
|---|---|
name | Lowercase letters and digits joined by single hyphens, up to 40 characters. It is also the agent's folder name in a session. |
description | One line, up to 200 characters, naming the area the agent covers. |
The agent starts with no know-how. Fill it with the next three tools, then choose its model, tools and channel on its setup page. See Set up a new agent.
put_main_skill_text
Replaces the hand-written part of an agent's main skill, whole. It is live at once. Needs an Admin token.
| Input | What to pass |
|---|---|
agent | The agent's name. |
text | The whole hand-written part in Markdown, up to 64 KiB. Leave out the sections Entropix maintains; a text holding their markers is refused. |
Returns the whole main skill as sessions now receive it, and warnings naming any text a rendered page would hide, such as HTML. A text with warnings is already live: fix it and put it again.
put_agent_skill
Creates a skill, or replaces the one with that name, with its reference files, in one step: all or nothing. It is live at once. Needs an Admin token.
| Input | What to pass |
|---|---|
agent | The agent's name. |
name | The skill's name: lowercase letters and digits joined by single hyphens, up to 64 characters. It cannot be the name of one of the agent's repositories. |
text | The skill's body in Markdown, with no frontmatter. |
when_to_use | Optional: the one-line trigger shown in the main skill, starting "Use when", up to 300 characters. Leave it out to keep the current line; for a new skill, the portal then writes one. |
clear_when_to_use | Optional: true hands the line back to the portal to write. Not with when_to_use. |
files | Optional: reference files, each a path relative to the skill's folder (up to 200 bytes) and its whole content. Up to 64 files, 256 KiB each and 2 MiB together. |
prune_files | Optional: true deletes the skill's files that files does not name. |
Returns whether it was created, its path, its "when to use" line and who wrote it, its files and any warnings. See Main skill and skills.
add_repository
Adds a repository to an agent by its SSH address, or links your organisation's existing repository with that address. A new repository is queued for the portal's scan. Needs an Admin token.
| Input | What to pass |
|---|---|
agent | The agent's name. |
ssh_url | The repository's SSH address. |
description | Optional: one line, up to 500 bytes, with no |. Kept only when your organisation did not already have the repository. |
Returns whether it existed, its status, whether approved content exists, its revision and its page under the agent, where a person approves the scan. See Repositories.
submit_repository_draft
Submits a reference and a repository skill your session wrote, as a draft for a person to approve on the repository's page. It never approves anything. Needs an Admin token.
| Input | What to pass |
|---|---|
agent | The agent that holds the repository. |
repository | The repository's SSH address. |
revision | The revision get_agent or add_repository gave you, unchanged. |
scanned_commit | The full commit id of the default branch you read. |
default_branch | The default branch's name. For information only; it never changes the branch the portal records. |
agents_md | The repository's root AGENTS.md at that commit, or empty when there is none. |
reference | The facts, in Markdown, each tagged [verified] with its evidence or [inferred]. |
skill | The repository skill in Markdown, opening with its When to use: line. |
Each document can be up to 256 KiB. The draft lands as ready_to_review, or update_ready beside content already approved. It cancels a portal scan still waiting and replaces a draft awaiting review. If the repository changed since you read its revision, the draft is refused: read it again.
How it works
- One address, one token. Every call goes to your portal's
/mcpwith your token inAuthorization: Bearer. Each call checks the token again: not revoked, not expired, your account and organisation enabled. - Your role decides. A tool your role cannot use answers with the reason, for example
changing agents needs an organisation adminorreporting a fix on a review's item needs a member or an admin. - Hints for your editor. Each tool tells your editor what kind it is: read-only (the eight read tools); adds something (
create_agent,add_repository,suggest_rule); replaces something, marked destructive (put_main_skill_text,put_agent_skillandsubmit_repository_draft); or safe to repeat (report_fix). Your editor may use these to decide when to ask you first. - Only your organisation. Every tool sees only your organisation's agents, PRDs and reviews. Another organisation's PRD or review is not found.
- Request size. A request can be up to 4 MiB.
- Agents on the portal have their own tools. These 15 are for your coding agent. Agents that chat or run goals on the portal use built-in tools and your tool servers instead.
What you can and can't do
- Read any agent, file, repository, PRD and review item, with any role.
- Report fixes and suggest rules, as a member.
- Create agents and write their know-how, as an admin.
- Submit a repository draft written by your own session's model.
- Approve a repository, a rule or a review over these tools.
- Change or submit a PRD. A PRD changes in its chat, and a merge request is its submission.
- Read content still waiting for approval.
- Set an agent's model, tools or channel.
- Change code or push. Your coding agent does that on your machine.
Troubleshooting
| You see | What it means |
|---|---|
A 401 ending — mint a personal access token at …/account and connect with it | Your token is missing, expired or revoked. Make a new one. See Revoke a token and Connect Claude Code. |
no PRD numbered 7 in this organisation | Wrong number, or another organisation's PRD. Call list_prds. |
A message ending use owner/repo!<n> | The short repository name is ambiguous. Use the full name. |
… already has 30 suggested rules waiting — review those first | A maintainer or an admin decides some of the waiting suggestions first. |
this agent already has a repository named "…" | Another repository on the agent ends in the same name. |