MCP tools
Every tool the HeyBrain MCP server exposes to agents: what it does, its parameters, what it returns and its limits.
The server at https://mcp.heybrain.io/mcp speaks MCP over Streamable HTTP. It is stateless: send JSON-RPC as POST; GET returns 405. It exposes tools only, no resources or prompts. Read-only tools carry the readOnlyHint annotation.
Every call runs as the person behind the connection. HeyBrain checks their workspace role, the permissions of each source and your governance rules on every call, so two people can get different results from the same tool.
| Group | Tools |
|---|---|
| Knowledge | search_documents, ask_brain, list_documents, read_document |
| Knowledge graph | search_knowledge_graph, get_knowledge_graph, save_to_knowledge_graph |
| Files | list_files, get_file_info, download_file, upload_file, delete_file |
| Context, skills and plugins | get_agent_context, list_skills, get_skill, list_plugins, get_plugin |
| Sharing | get_share_targets, share_session, list_shared_sessions, get_shared_session_context |
| Account | get_my_usage, list_connectors |
Knowledge#
Search, list and read the documents the caller can access.
search_documents#
Keyword and phrase search across every document the caller can access. Reads only.
Parameters
querystringRequiredWhat to look for.
limitinteger1 to 25. Default 20.
Returns: Matching documents with id, title, topic, status, last update and a snippet, plus more_available.
ask_brain#
One grounded, cited answer to a question, built only from knowledge the caller can access. Uses AI credits. Reads only.
Parameters
questionstringRequiredUp to 100,000 characters.
approval_ticketstring (UUID)Only after a previous call was held for approval. Pass the ticket from that response to retry once it is approved. Each ticket works once, within 24 hours.
Returns: The answer with its citations.
Note: Limited to 10 calls a minute per person.
list_documents#
Documents newest first, metadata only. Reads only.
Parameters
limitinteger1 to 200. Default 50.
offsetintegerDefault 0.
category_idstringOnly documents in this category.
Returns: documents with id, title, topic, category, status, last update and size, plus more_available and the next offset. A DRAFT or PENDING status means the document is not approved yet.
read_document#
One document’s full text and metadata. Reads only.
Parameters
doc_idstringRequiredA document
idfrom search or list results.
Returns: The document.
Knowledge graph#
The entities and relationships HeyBrain extracts from your knowledge.
search_knowledge_graph#
Search entities and relationships. May use AI credits. Reads only.
Parameters
querystringRequiredUp to 4,000 characters.
Returns: Matching entities and relationships.
get_knowledge_graph#
The graph for one view, limited to what the caller is cleared to see. Reads only.
Parameters
lensstringliving(default),ecosystem,source,category,personorproduct.topintegerHow many nodes. Default 100.
Returns: Nodes and edges.
save_to_knowledge_graph#
Save durable facts to the knowledge graph. Recorded in the audit ledger. Changes data. Browser sign-in connections need the brain.write scope.
Parameters
contentstring (Markdown)RequiredThe facts to save.
topicstringOptional topic.
approval_ticketstring (UUID)Only after a previous call was held for approval. Pass the ticket from that response to retry once it is approved. Each ticket works once, within 24 hours.
Returns: The save result.
Files#
Uploaded files in storage. Uploaded files are separate from knowledge documents.
list_files#
Uploaded files, a page at a time. Reads only.
Parameters
pageintegerStarts at 1.
page_sizeintegerDefault 100, maximum 500.
Returns: Files and a “Showing X of N” line.
get_file_info#
Metadata for one file. Reads only.
Parameters
file_idstring (UUID)RequiredThe file id.
Returns: File metadata.
download_file#
A file’s content. Text comes back inline; binary files come back as a summary. Reads only.
Parameters
file_idstringRequiredThe file id.
Returns: The text, or a summary of a binary file. The hosted server never writes to your disk.
upload_file#
Upload a file or folder from the machine the agent runs on. Changes data. Browser sign-in connections need the brain.write scope.
Parameters
file_pathstringRequiredPath to the file or folder.
Returns: action_required with one shell command and its expiry. The agent runs that command to upload the files; nothing is uploaded until it does.
delete_file#
Delete one uploaded file. Changes data. Browser sign-in connections need the brain.write scope.
Parameters
file_idstringRequiredThe file id.
approval_ticketstring (UUID)Only after a previous call was held for approval. Pass the ticket from that response to retry once it is approved. Each ticket works once, within 24 hours.
Returns: A confirmation with the deleted file.
Context, skills and plugins#
Who the agent is acting for, and the playbooks and plugins it may use.
get_agent_context#
Who the connection acts for (name, email, workspace), plus its skills with their full text and its plugins. Agents usually call it first. Reads only.
No parameters.
Returns: identity, subject, skills, plugins and topicSlugs.
list_skills#
The skills available to the caller, without their text. Reads only.
No parameters.
Returns: skills with slug, name, version, category and description.
get_skill#
One skill’s full Markdown. Reads only.
Parameters
slugstringRequiredFrom
list_skills.
Returns: The skill.
list_plugins#
The plugins available to the caller. Reads only.
No parameters.
Returns: Plugins without install configuration.
get_plugin#
One plugin, with how to install it on each supported tool. Reads only.
Parameters
slugstringRequiredFrom
list_plugins.
Returns: The plugin and its hostSupport install details.
Sharing#
Hand a session writeup to a teammate, and pick up writeups shared with you.
get_share_targets#
Active members of your organization who can receive a share. Reads only.
No parameters.
Returns: Members as email and name, excluding you.
share_session#
Share a Markdown writeup with an active member of your organization. Changes data. Browser sign-in connections need the brain.write scope.
Parameters
emailstringRequiredFrom
get_share_targets.session_titlestringRequiredUp to 200 characters.
session_contextstring (Markdown)RequiredThe writeup.
approval_ticketstring (UUID)Only after a previous call was held for approval. Pass the ticket from that response to retry once it is approved. Each ticket works once, within 24 hours.
Returns: The share.
list_shared_sessions#
Writeups shared with you, newest first. Reads only.
No parameters.
Returns: id and title for each.
get_shared_session_context#
The full Markdown of one shared writeup. Reads only.
Parameters
session_idstringRequiredFrom
list_shared_sessions.
Returns: id, title and context.
Account#
Usage and sources for the person behind the connection. These two tools work only with a workspace key, not a browser sign-in connection.
get_my_usage#
Your spend and allowances this billing period. Reads only.
No parameters.
Returns: Usage. ai: null means you use your own model keys or have no limit.
list_connectors#
Sources you can connect, and how many you have connected. Reads only.
No parameters.
Returns: Each source marked ready, plan_locked or coming_soon, with your connection counts.
Listed but not available#
Your client may list capture_document, update_document and update_session_log. Saving documents and session logs from agents is paused, so these tools do not save anything. Use save_to_knowledge_graph, or add knowledge in the web app.
See Errors for what a failed call returns and Plans and limits for call limits.
Last checked against the product on November 25, 2026.