Endpoint
https://mcp.chatbase.co/api/mcpAuthentication
OAuth 2.1, with no API key to create or paste
The endpoint is not a page to open in your browser. Add it to an MCP client, and the client opens the sign-in page for you.
Claude and ChatGPT
Add Chatbase under Settings → Connectors → Add custom connector, using the endpoint above, then approve access when prompted.Claude Code, Codex, Cursor and other clients
Point the client at the endpoint. Do not add anAuthorization header. The client negotiates OAuth on its own and opens the sign-in page for you.
- Claude Code
- Codex
- Cursor
- Other JSON clients
/mcp and choose Authenticate.How sign-in works
1
Your client registers itself
The first time a client connects, it registers with Chatbase automatically using Dynamic Client Registration. You do not create anything in advance.
2
You approve access in the browser
Chatbase shows a consent screen listing the workspace and exactly which permissions the app is asking for. You choose the workspace and approve or deny.
3
The client receives a token
Access is granted to that one client, for that one workspace, limited to the permissions you approved.
Chatbase never shows an app more than your own role allows. If you cannot delete sources, no app you approve can delete them either, even if it asks.
Token lifetime
Permissions
Chatbase groups permissions by resource and verb. An app requests a set, and you approve or deny the whole request.
Delete permissions are shown on the consent screen but are not selected by default. Approve them only if the app genuinely needs to remove data.
A client only sees the tools its permissions cover. A short tool list usually means a narrow approval rather than a missing feature. Ask the assistant to call
chatbase_whoami, which reports the workspace and the exact permissions in use.
What the assistant can do
The server exposes 26 tools:chatbase_whoami, which every connected app can call to report its own access, plus 25 grouped by area.
Agents
Agents
List and inspect agents, create and clone them, update configuration, toggle auto-retrain, and send a chat message to an agent.
chatbase_list_agents · chatbase_get_agent · chatbase_create_agent · chatbase_clone_agent · chatbase_update_agent · chatbase_update_agent_auto_retrain · chatbase_delete_agent · chatbase_chatSources
Sources
Add, edit and remove the knowledge an agent is trained on. Every change takes effect immediately, with no separate training step.
chatbase_list_sources · chatbase_get_source · chatbase_get_sources_summary · chatbase_create_source · chatbase_update_source · chatbase_delete_sourceConversations
Conversations
Export conversations for analysis, and update conversation metadata.
chatbase_export_conversations · chatbase_update_conversationHelp desk
Help desk
Search, read and update tickets, post replies, and inspect teams and statuses.
chatbase_list_tickets · chatbase_search_tickets · chatbase_get_ticket · chatbase_create_ticket · chatbase_update_ticket · chatbase_list_ticket_messages · chatbase_create_ticket_message · chatbase_list_ticket_statuses · chatbase_list_helpdesk_teamsManage connected apps
Every app you approve appears in your workspace under Settings → General → Connected apps, showing what it can access and when it last obtained a token. Select Revoke to cut off access. It takes effect on the app’s very next request, even if its current token has not expired. The app must ask for your approval again before it can reconnect.An app’s name is chosen by the app itself when it registers, and Chatbase cannot verify it. Treat the name as a label, not as proof of identity, and revoke anything you do not recognise.
Troubleshooting
The client says the server needs authentication
The client says the server needs authentication
Expected before you sign in. Trigger your client’s authentication step (
/mcp in Claude Code, codex mcp login chatbase in Codex) and approve the consent screen.A tool the assistant needs is missing
A tool the assistant needs is missing
The approval was narrower than the task requires. Ask the assistant to call
chatbase_whoami to see the permissions in use, then revoke the app under Connected apps and reconnect, approving the permissions it needs.If a permission is missing from the consent screen entirely, your own role does not include it. An administrator has to grant it to you first.A source is not live yet
A source is not live yet
Sources train as soon as they are written, but the work runs in the background. A new source reports
untrained until it is live, then trained, or failed if it did not land. An edited one reports updated while it re-trains. Ask the assistant to re-read the source rather than assuming the write finished the job.Responses do not stream
Responses do not stream
Streaming is not available over MCP.
chatbase_chat always returns the complete response in one message.