Developer documentation
Connect assistants over MCP
Zunous MCP server for Claude, ChatGPT, Gemini and any compatible client: address, OAuth 2.1 authorization, and each brain's tools and resources.
MCP (Model Context Protocol) is the open standard an AI assistant uses to work with external tools. Zunous exposes each brain as an MCP server: the assistant reads its instructions, searches its knowledge, queries its memory and checks its permissions before proposing an action.
Connection details
| Item | Value |
|---|---|
| Address | https://mcp.zunous.com/mcp (the same for every brain) |
| Transport | Streamable HTTP, stateless |
| Authorization | OAuth 2.1 with PKCE and dynamic client registration (/register) |
| Permission (scope) | cerebro |
| Metadata | /.well-known/oauth-authorization-server and /.well-known/oauth-protected-resource/mcp |
The token decides which brain answers: one connection is one brain. To use two brains, add the connector twice with different names (for example "Zunous sales" and "Zunous collections").
How authorization works
- You add the connector in your assistant with the address above. You don't need a Client ID or Client Secret: the assistant registers itself.
- The assistant opens the Zunous Connect a brain screen.
- You type the organization, the brain and the access key (see Authentication) and click Authorize.
- You return to the assistant with the connector active.
The screen is available in Spanish, English and Portuguese, and shows the name of the app requesting access and the address it returns to. If you don't recognize the app, don't authorize it.
Clients
Claude (claude.ai and desktop app)
Customize → Connectors → Add custom connector, name Zunous and the server address. On Claude Team or Enterprise, an Owner adds it once in Organization settings → Connectors and each person clicks Connect.
Claude Code
claude mcp add --transport http zunous https://mcp.zunous.com/mcpThen, inside Claude Code, type /mcp, choose zunous and complete the authorization in the browser.
ChatGPT
In Settings, turn on Developer mode (depending on the version, it's under Security or Apps → Advanced). Then create an app or connector with the server address and OAuth authentication. ChatGPT's menus change often: look for "Developer mode", "Apps" or "Connectors".
Gemini CLI
In ~/.gemini/settings.json:
{
"mcpServers": {
"zunous": {
"httpUrl": "https://mcp.zunous.com/mcp",
"oauth": { "enabled": true }
}
}
}Your own client
Any MCP client that speaks Streamable HTTP and OAuth 2.1 works. With the official TypeScript SDK:
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
const transport = new StreamableHTTPClientTransport(new URL("https://mcp.zunous.com/mcp"), {
authProvider: myOAuthProvider, // implements OAuthClientProvider: registration, PKCE and tokens
});
const client = new Client({ name: "my-app", version: "1.0.0" });
await client.connect(transport);
const { tools } = await client.listTools();If your integration doesn't need a conversational assistant, the REST API is simpler: it uses the key directly.
Tools
Every brain exposes the same tools. What changes is each one's knowledge, skills, memory and permissions.
| Tool | What it does | Read-only |
|---|---|---|
instrucciones_del_rol | Returns the role's instructions. The assistant calls it at the start | Yes |
listar_habilidades | Lists the skills with their goal | Yes |
obtener_habilidad | Returns a skill's step-by-step procedure (id) | Yes |
buscar_conocimiento | Searches the role's knowledge and your company's documents (consulta, k 1–20, origen oficio or cliente) and returns fragments with citations. If the company has a team of brains, what the teammates hold comes at the end, with their name (equipo: false turns it off) | Yes |
recordar | Queries the brain's memory (consulta, sujeto, tipo, k 1–50) | Yes |
guardar_memoria | Saves a fact, an event or a learning | No |
relacionar | Saves a relationship between two entities (person, company, product) | No |
red_de_memoria | Returns the network of entities and relationships (entidad, limite 1–200) | Yes |
olvidar | Deletes a memory by id or all memories about a sujeto | No (destructive) |
verificar_accion | Says whether an action is allowed, needs approval or is forbidden under your company's policy | Yes |
estado | The brain's version and the status of its knowledge sources | Yes |
equipo | The other brains in your company: who each one is, what it handles and which systems it has connected. With brain it returns that teammate's full card. Always listed; if the brain is the only one in the company, it says so | Yes |
consultar_companero | Consults another brain in your company and returns its answer as data. With pregunta it searches that brain's knowledge; with accion and parametros it requests a read-only lookup in one of its systems, if the company opened them. No AI is used and nothing is changed | Yes |
guardar_archivo | Saves a file to deep memory (text, base64 or a public URL; up to 10 MB) and copies it to the "Zunous" folder in your Drive if it's connected | No |
abrir_archivo | Opens a saved file | Yes |
listar_archivos | Lists the files in deep memory | Yes |
The parameters are the same as in the equivalent REST API endpoints.
Resources and prompts
- Resource
cerebro://<brain>/identidad: the role's instructions in Markdown. - Resources
cerebro://<brain>/conocimiento/<ruta>: each document in the role's expert knowledge. - Prompt
rol: loads the role's instructions as the first message.
How to use it well
- The assistant should call
instrucciones_del_rolat the start andbuscar_conocimientobefore answering about the company. Good clients do this on their own, following the server's instructions. - Before proposing an action that changes something outside (send, create, charge), the assistant calls
verificar_accion. In Connected Mode the brain doesn't act on its own: it proposes and the person decides. - Your company's documents arrive marked as untrusted content: the brain uses them as information and never follows instructions written inside them.
- If the token stops working (the key was rotated or the brain was canceled), the server responds
401withWWW-Authenticate: Bearer error="invalid_token"and the assistant asks you to authorize again.
For the non-technical people in your company there is a step-by-step guide with screenshots of each assistant; your administrator provides it as a PDF.
Something unclear? Write to us at hello@zunous.com.