There is no separate sign-up. The MCP server uses the same token as the REST API, so usage is billed and rate-limited on your Sunbird account. Tools marked billed below run inference; the lookup tools are free.
Quick Start
1
Get a token
Sign in at api.sunbird.ai and create a token under API keys. See Authentication for details. Keep it private — it is the only credential the server needs.
2
Add the server to your client
Pick your client under Connecting a Client.
3
Make a free call first
Ask your agent to run
sunbird_check_connection to confirm the token, then sunbird_list_languages to see the language codes, before making a billed call such as a translation.Connecting a Client
- Claude Code
- Cursor
- Python
- MCP Inspector
.mcp.json:https://mcp.sunbird.ai/mcp and send the Authorization: Bearer header. The server authenticates with Sunbird tokens rather than OAuth, so use the header form.
Tools
Each tool wraps an endpoint documented in the API Reference.
The full tool guide is at mcp.sunbird.ai. Your client also shows each tool’s parameter and output schema once the server is connected.
Example Prompts
Once the server is connected, ask your agent in plain language — it picks the tool:- “Check my Sunbird connection.” →
sunbird_check_connection - “Translate ‘How are you?’ into Luganda.” →
sunbird_translate_text - “Which Sunbird voices are available for Runyankole?” →
sunbird_list_voices - “Read this sentence aloud in Luganda with the Namuli voice.” →
sunbird_generate_speech - “Transcribe the Acholi audio at this URL.” →
sunbird_transcribe_audio
Limits
Language codes are ISO 639-3 (for example
lug, ach, nyn, teo, swa, eng). See Supported Languages, or call sunbird_list_languages for the current list.
Good to Know
- Invalid tokens are rejected with
401before any tool runs. If your token is rejected, create a new one and runsunbird_check_connectionagain. - The first inference call can be slow. After the upstream model has been idle, the first translation or chat can take a couple of minutes while it warms up; later calls take a few seconds. MCP Inspector gives up after 60 seconds by default, so raise its request timeout if you see a timeout on a first call.
- Billed tools are not retried automatically after an ambiguous failure such as a timeout, to avoid double charges. The call may still have completed, so check before retrying.
- Chat is non-streaming over MCP, and always uses
sunflower-9b. - Voices are speaker names scoped by language. Pass both
voiceandlanguageto the speech tools — see Languages and Voices.
Self-hosting and Discovery
The server is open source. To run it yourself over stdio or HTTP (uv, Docker, or Cloud Run), see the repository. For automated discovery, the hosted server publishes a Server Card at/mcp/server-card and an AI Catalog at /.well-known/ai-catalog.json. The same connection details are available in machine-readable form under info.x-mcp-server in the API’s OpenAPI document.
