The MCP server is in beta: it offers three read-only tools and a
feedback tool that rates an
answer, and MITHUNAI does not yet connect to other MCP servers. Each text value in a tool result
(a passage, a title or an answer) is limited to 512 characters and line breaks arrive as \n
escapes, so a long answer is cut short. Use the HTTP API when you need the full
answer text.feedback, which records a rating of an answer you received and nothing else. None of them can change your knowledge, assistants or settings.
Connect a client
In the console, Integrations → MCP server shows the endpoint, the header to send and a request to try; there is nothing to switch on. You need:- The server URL:
https://app.mithunai.com/mithunai/api/v1/mcp, or/mithunai/api/v1/mcpon your MITHUNAI host. - An API key. Create a dedicated key with the Member role for each person or tool. See API keys.
- Claude Code
- Cursor
- VS Code
- Claude Desktop
Try it
Once connected, ask your client something that needs your documentation:Example prompt for an MCP client connected to MITHUNAI
What the server does not do
- One write, and only a rating.
feedbackstores a rating of an answer your own key received. No tool can add sources, change assistants or read settings, and an answer another key or person received cannot be rated: it is refused as not found. - No streaming.
ask_assistantreturns the complete answer in one response. - Temporary failures are tool errors. If the search index or model provider is unavailable, the tool returns an error result (
isError: true) the client can show or retry. Permission and authentication problems are refused outright. - No browser access. MCP clients run on desktops and servers; the endpoint does not accept cross-origin browser requests.
Permissions and limits
The tools see exactly what the API key’s role can read, inside your organisation. An assistant in another organisation is refused as not found, and a search that names another organisation’s collection returns no passages, so neither reveals what exists elsewhere. MCP requests count against the API key’s normal budget and also against a separate MCP budget of the same size. Each API key has its own budgets, so give each MCP client its own key and an agent calling tools in a loop cannot exhaust another key’s budget. Clients that call from the same network address still share that address’s budget. See Rate limits. Each answerask_assistant gives counts against your organisation’s monthly answer allowance, the same allowance the console, the widget and the API draw on. At the limit it is refused with 429 and the code quota_exceeded. search_knowledge and list_knowledge do not count.
For the wire protocol, see the MCP endpoint reference.