Skip to main content
The Sunbird AI MCP server exposes the Sunbird AI API to AI agents and coding assistants through the Model Context Protocol (MCP). Once connected, an agent can translate, chat, transcribe audio, and generate speech in African languages by calling typed tools — no HTTP code required. The server is hosted, so there is nothing to install:
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

Or add it to a project’s .mcp.json:
Any other MCP client that supports Streamable HTTP with custom headers works the same way: point it at 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.
Treat the token like a password. Prefer an environment variable or your client’s secret storage over pasting it into a config file, and never commit a file that contains it.

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 401 before any tool runs. If your token is rejected, create a new one and run sunbird_check_connection again.
  • 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 voice and language to 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.