Elephant MCP tools
Elephant is one hosted MCP server at one endpoint. It speaks Streamable HTTP, signs in with OAuth 2.1, and offers ten tools in three groups. Reading is always on; saving and organising are switches the person turns on or off when they press Allow.
https://mcp.calypso.so/elephant/mcp
| Group | Scope | Consent switch | Tools |
|---|---|---|---|
| Read | elephant:read | Always on — it is what the connection is for | elephant-ask · elephant-search · elephant-list-buckets · elephant-open-source |
| Save | elephant:write | Save files and web pages | elephant-add-file · elephant-add-files · elephant-add-website · elephant-create-bucket |
| Organise | elephant:organise | Organise your buckets | elephant-rename-bucket · elephant-move-sources |
A client only sees the tools of the groups the person allowed, and the server's instructions say plainly what this connection can and cannot do. No tool deletes. Asked to delete, remove or forget a source or a bucket, the assistant calls no tool at all and points to the Elephant console at elephant.calypso.so, where sources and buckets are removed.
/elephant/builder/mcp, scope elephant:write, the four save tools) is
still served for connections made before the two servers became one. New connections use
/elephant/mcp and the Save files and web pages switch instead.Read tools
elephant-ask
Answers from your knowledge, with sources. Each call stands alone — put everything needed, including the subject of a follow-up, in the prompt.
| Argument | Type | Meaning |
|---|---|---|
prompt | string, required | The question, with any context or format the user asked for. |
buckets | string (≤ 5) | Answer only from these buckets, by id or slug from elephant-list-buckets. Omit it and Elephant finds the right buckets itself. |
model | string | One of the team's named agents, when the user names one. It then reads only its own buckets. Omit it to read every bucket. |
fileIds | string | Sources the answer must take into account. The answer may still draw on other sources. |
depth | fast · balanced · deep | How much work the answer is worth. fast: one stated fact, a few seconds. balanced: an explanation or summary, around 20 seconds. deep: several sources compared, or an answer someone will act on. Omit it for the agent's own default. |
Which buckets it reads. Without model, Elephant answers as
elephant-agent:mcp: every
active bucket you have, including one created a moment ago. When that is more buckets than one
answer reads, Elephant checks which ones hold matching evidence and answers from the five with
the most — see More than five buckets.
Depth. The reply ends by naming the depth it was answered at. Assistants are told to start at the lowest depth that fits and to go one step higher only when an answer is thin. A plan may cap depth; a reply answered lower than asked is the most that plan allows.
elephant-search
Matching passages and where they live, with no answer written — retrieval only, the same as the
Search API. Each result's text is one whole passage as the document has
it; quote, when present, is the line that matched most closely.
| Argument | Type | Meaning |
|---|---|---|
query | string, required | What to look for. |
buckets | string (≤ 5) | Bucket ids or slugs to search directly. Not together with agent. |
agent | string | Search only what one named agent can see. Not together with buckets. Omit both to search every bucket. |
maxResults | integer, 1–20 | The most passages to return (default 10) — a ceiling, not a target. |
depth | fast · thorough | fast (default) runs one search. thorough runs several in parallel and merges them. |
alsoSearchFor | string (≤ 2) | Other phrasings searched alongside query, written the way the document would say it. Makes the search thorough. |
elephant-list-buckets
Your buckets — folders of sources Elephant remembers — with names, slugs, file counts and the sources in each (id, name, type, ready).
| Argument | Type | Meaning |
|---|---|---|
includeSources | boolean | Name the sources in each bucket. Default true; false for counts only. moreSources: true means a bucket holds more than the ones named. |
includeArchived | boolean | Also list archived buckets. Default false. |
elephant-open-source
One source's details: name, type, size, the buckets it is in, and whether it is ready to answer from.
| Argument | Type | Meaning |
|---|---|---|
fileId | string, required | The source's file id, from elephant-list-buckets or a citation. |
verify | boolean | Double-check the indexing status with the index itself. Slower. |
It answers with id, title, filename, content_type, size_bytes, status, ready,
bucket_ids, created_at and updated_at. With verify, index_check says whether the index
holds the source. A source that could not be indexed carries a failure saying why, when
Calypso has an explanation it can show; otherwise status alone says it failed.
Save tools
Needs the Save files and web pages switch. Every add names its bucket — bucketIds,
bucketSlugs, or bucket as a shortcut for one slug — the same rule as the
Ingest API. createMissingBuckets: true creates buckets named by slug that do
not exist yet. Assistants confirm the destination bucket with the user before adding anything.
elephant-add-file
| Argument | Type | Meaning |
|---|---|---|
file, sourceUrl, or contentBase64 | exactly one | A file the user attached in ChatGPT (preferred); a public http(s) link Calypso fetches itself (up to 25 MB); or base64 bytes. |
filename, mimeType | string | Required with contentBase64; taken from the file otherwise. |
title, tags, metadata | optional | Shown title, tags, and extra fields stored with the source. |
idempotencyKey | string | A retry with the same key returns the first result instead of adding twice. |
waitForIndexing | boolean | Return only once the file is ready to answer from — use it when the user wants to ask about the file right away. |
elephant-add-files
1 to 100 items, each { filename, mimeType, contentBase64 } with an optional title and tags,
into one shared bucket destination or a destination per item. batchIdempotencyKey makes a
retry of the whole batch return the first result; waitForBatchReady waits until every file is
ready or has failed. For a single attached file, use elephant-add-file.
elephant-add-website
| Argument | Type | Meaning |
|---|---|---|
url | string, required | The page to add. https:// is assumed when left out. |
title | string | Use instead of the title Calypso writes. |
tagsHint | string | Comma-separated hint for the tags Calypso writes. |
preferredLanguage | string | Language for the title, summary and tags Calypso writes, e.g. en or es. |
idempotencyKey | string | A page you already have is refused as website_url_exists, unless the same key is sent again. |
elephant-create-bucket
| Argument | Type | Meaning |
|---|---|---|
name | string, required | The bucket's name. |
slug | string | Short id used to add to it later. Made from the name when left out; a slug already in use is refused as bucket_slug_exists. |
description | string | A note on what the bucket holds. |
idempotencyKey | string | A retry with the same key returns the first result. |
A new bucket needs no other setup: elephant-ask and elephant-search answer from it as soon
as its files finish indexing.
Organise tools
Needs the Organise your buckets switch. Nothing here deletes or re-uploads a file.
elephant-rename-bucket
Changes a bucket's name, its description, or both. Its sources, their indexing and its slug stay
as they are. Because a rename overwrites the old name and description, the tool is marked
destructive (destructiveHint: true), so clients such as ChatGPT ask you to confirm it.
| Argument | Type | Meaning |
|---|---|---|
bucket | string, required | The bucket to change, by id or slug. |
name | string | The new name. |
description | string | A new note on what the bucket holds. Pass at least one of name and description. |
elephant-move-sources
Moves sources from one bucket to another. Each source is added to the destination first and only then taken out of the bucket it came from, so it is never left without a bucket.
| Argument | Type | Meaning |
|---|---|---|
sourceIds | string, required (≤ 100) | The sources to move. |
fromBucket | string, required | The bucket they are in now, by id or slug. |
toBucket | string, required | The bucket they go to. It must exist. |
Each source comes back with what happened: moved, not_in_source_bucket, not_found,
not_added, or added_not_removed (now in both buckets). A moved source is searchable in its
new bucket once indexing there finishes, usually within a minute.
What the tools return
Every tool answers with the fields a person may read about their own knowledge, and only those. The records behind them also hold what only Calypso needs — which key added a file, where a source sits in the search index, task and request ids, the workspace id — and none of that is returned, in an answer or in an error message. A failed call still says what went wrong: the refusal code when the API gave one, and what to try next when there is something to try.
| Tool | Returns |
|---|---|
elephant-ask | The answer as text, a Sources list (name, page, file id or URL) and the depth it was answered at. |
elephant-search | query, depth and results: each with text, title, filename, file_id or url, a quote when one line stood out, and page or location when the document has one. On the hosted server, when the workspace has no ready source yet, it answers with the first-minute card as text instead, as elephant-ask does. |
elephant-list-buckets | buckets: each with id, name, slug, description, status, file_count, source_count and its sources (id, name, type, ready). |
elephant-open-source | The source's details, as listed under the tool above. |
elephant-add-file | file (the same details as elephant-open-source) and indexing_status. |
elephant-add-files | The batch id, status and counts, and files: each with client_file_id, file_id, status, and an error when it was refused. |
elephant-add-website | id, title, url, summary, tags, status and bucket_ids. |
elephant-create-bucket · elephant-rename-bucket | The bucket's id, name, slug, description and status. |
elephant-move-sources | bucket_id, from_bucket_id, moved, requested, and one entry per source in sources. |
The HTTP API is a separate surface for developers with a project key, and its responses carry more operational detail.
More than five buckets
One answer reads at most five buckets. When the buckets in scope are more than that:
- Elephant ranks every bucket by the words its name and description share with the question, then by how recently it changed.
- It runs a quick evidence check over the top twenty and keeps the five with the most matching passages among them.
- Buckets holding a source named in
fileIdsare kept first — the fewest buckets that hold all of them. If those sources are spread over more than five buckets, the answer is refused (attached_source_outside_scope) instead of leaving some out: name fewerfileIds, or ask about them separately. - The answer ends with a coverage line — Searched 5 of 8 buckets. Not searched: … — and the
assistant can ask again with
bucketsto choose them.
The evidence check is billed as tokens on the same answer, at its own model's price; it is never
counted as a second answer. A scope of five buckets or fewer is never checked. Over the API the
same coverage arrives as metadata._aicore.bucket_coverage.
When an answer cannot run as asked
Instead of a generic "not enough information", the tool says why and what to change. The cause
comes from metadata._aicore.answer_failure_code — the full list is in the
Error catalog. The common ones:
| Code | What the assistant is told |
|---|---|
bucket_outside_agent_scope | The agent named in model does not read one of the buckets. Ask without model, or name only that agent's buckets. |
attached_source_outside_scope | A source in fileIds is in a bucket that agent does not read. Ask without model. |
bucket_store_indexing_pending | Nothing in those buckets is indexed yet. Ask again in a minute. |
The prompt
elephant-get-started (/mcp__elephant__elephant-get-started in Claude Code) says what
Elephant can do on this connection right now and the next step. Empty account: add a first
source, wait for ready, ask something only your files know. Account with knowledge: how many
buckets and sources are ready, and three questions drawn from the bucket names.
Behaviour and limits
| Rule | What it means |
|---|---|
| Empty account says so | With no ready source, elephant-ask and elephant-search return the first-minute card instead of an answer, and never a guess. It stops the moment a source is ready; the inventory is read fresh, cached 20 seconds per caller. |
| Not covered means not covered | When the sources do not cover a question, the answer says so. Assistants are told to relay that, not to fill the gap from general knowledge. |
| Short, bound tokens | ES256 JWT, 15 minutes, audience = the endpoint URL. Clients refresh on their own. |
| Fair use | 120 requests per minute per caller. Over that: 429 with Retry-After. |
| Revocation is real | Disconnecting from API Keys revokes the grant's key; calls fail within a minute. |
| No state | No database, no sessions. Every request builds a fresh server for its caller. |
Run it locally
The same server ships on npm as
@calypsohq/elephant-mcp-server
for clients that want a local stdio process with a project API key:
Paste the key when the first command waits for it; it is not echoed or kept in your shell history:
read -rs CALYPSO_API_KEY && export CALYPSO_API_KEY && npx -y @calypsohq/elephant-mcp-server
Locally there is no consent step, so it publishes all ten tools and the key's own
capabilities decide what succeeds. --preset elephant keeps it
to the four read tools; --preset elephant-builder to the four save tools.
The server is open source: calypso-so/elephant-mcp.
