# Base de Conhecimento — MCP server on mcp.ai > Your private knowledge base: upload documents (.md, .txt, .docx, PDF, images), the platform indexes everything semantically and the agent retrieves the relevant context on demand. Built for firms. Each base is isolated, content stays encrypted on the platform. You pay only for what you store. By: mcp.ai · official Page: https://new.mcp.ai/kb ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_kb?ms=1796396520000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## Install in your AI client (step by step) Link to paste in any client: https://api.mcp.ai/p_kb ### Claude 1. Copy the Base de Conhecimento link above (Copy button). 2. In Claude, Plugins → Add → Add custom connector: name Base de Conhecimento, paste the link and click Continue. Under Authentication, choose Sign in now and click Add. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Base de Conhecimento needs your account, the AI sends you a link to connect it: have Base name at hand. A label to identify this knowledge base (e.g. 5. Done: just ask in the chat. Open: https://claude.ai/plugins ### ChatGPT 1. Copy the Base de Conhecimento link above (Copy button). 2. In ChatGPT (web), Plugins → Add → Add custom MCP server: name Base de Conhecimento, paste the link, under Authentication choose OAuth or no authentication, check I understand, click Create as a plugin, then Sign in with Base de Conhecimento. 3. The first time, ChatGPT opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Base de Conhecimento needs your account, the AI sends you a link to connect it: have Base name at hand. A label to identify this knowledge base (e.g. 5. Done: just ask in the chat. Open: https://chatgpt.com/plugins ### Cursor 1. Copy the Base de Conhecimento link above (Copy button). 2. In Cursor, Settings → MCP → "Add new MCP server", paste the link and save. 3. The first time, Cursor opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Base de Conhecimento needs your account, the AI sends you a link to connect it: have Base name at hand. A label to identify this knowledge base (e.g. 5. Done: just ask in the chat. ### Claude Desktop 1. Copy the Base de Conhecimento link above (Copy button). 2. Added it in Claude? The connector lives in your account and shows up on Desktop. If not, Plugins → Add → Add custom connector, paste the link and choose Sign in now. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Base de Conhecimento needs your account, the AI sends you a link to connect it: have Base name at hand. A label to identify this knowledge base (e.g. 5. Done: just ask in the chat. ### Manus 1. Copy the Base de Conhecimento link above (Copy button). 2. Paste the link into a Manus chat and ask it to connect the MCP server. 3. The first time, Manus opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Base de Conhecimento needs your account, the AI sends you a link to connect it: have Base name at hand. A label to identify this knowledge base (e.g. 5. Done: just ask in the chat. ### Agents 1. Copy the Base de Conhecimento link above (Copy button). 2. Paste the link into your MCP-compatible agent (remote HTTP server). 3. The first time, agent opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Base de Conhecimento needs your account, the AI sends you a link to connect it: have Base name at hand. A label to identify this knowledge base (e.g. 5. Done: just ask in the chat. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/kb/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/kb/ Authorization: Bearer sk_live_… # create one at https://new.mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs Install guide (prompt + clients + REST), markdown: https://new.mcp.ai/kb/index.md How to use (MCP or REST), markdown: https://new.mcp.ai/kb/skill.md Postman collection (v2.1): https://new.mcp.ai/kb/postman.json ## Tools - kb_add_text(title: string, text: string, account?: string) — Adiciona um texto colado à base (vira um documento indexado e buscável). Útil pra notas, trechos, anotações. - kb_get_document(document_id: string, account?: string, document_ids?: string[]) — Metadados + status de um documento específico (sem o texto cru). - kb_ingest_url(url: string, filename?: string, account?: string) — Baixa um arquivo de uma URL (.md/.txt/.docx) e o indexa na base. Bom pra ingerir um documento remoto sem upload manual. - kb_list_accounts() — Lista as bases de conhecimento conectadas neste install. Retorna cada base com id, rótulo e um flag is_default (true quando só há uma — não precisa passar `account` nas outras tools). Com várias bases - kb_list_documents(account?: string) — Lista os documentos da base (id, nome, status, tamanho, nº de chunks). - kb_remove_document(document_ids: string[], account?: string) — Remove um ou mais documentos da base (apaga o original, os chunks e o índice). Aceita uma lista de ids. - kb_search(query: string, top_k?: integer, account?: string) — Busca semântica na base de conhecimento. Devolve os trechos (chunks) mais relevantes pra usar como contexto, com nome do arquivo de origem e score. Retrieval-only: você sintetiza a resposta a partir d ## Example prompts - "Search my base: what's the termination notice in the standard contract?" - "Add this note to the knowledge base" - "List the documents in my base" ## Links Docs: https://mcp.ai/docs/mcps/kb Website: https://mcp.ai/mcps/kb