
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
sarvamai/sarvam-mcp는 MCP 서버 후보로 수입 https://github.com/sarvamai/sarvam-mcp.
개요
sarvamai/sarvam-mcp는 MCP 서버 후보로 수입 https://github.com/sarvamai/sarvam-mcp.
개요(AI 번역)
공식 Sarvam MCP 서버. 모든 공개 Sarvam API - STT, TTS, 번역, Transliterate, 언어 ID, 텍스트 분석, LLM (30B / 105B), Vision Document Intelligence, 발음 Dictionaries - 일류 MCP 도구로 모든 MCP-aware 클라이언트 (Claude Desktop, Claude Code, Cursor, Windsurf, Zed)는 0 보일러판으로 Sarvam을 호출 할 수 있습니다.
크로스 플랫폼 파이썬 패키지: ** macOS, 윈도우, 리눅스** (Python 3.11+).
퀵스타트
##1. API 키 받기
dashboard.sarvam.ai/key-management에 로그인하고 API 키 복사 (sk_...).
2. MCP 클라이언트에 추가
MCP config JSON으로 붙여넣기:
sk_...를 실제 API 키로 바꾸십시오.
pip install sarvam-mcp]를 통해 설치하면 콘솔 스크립트를 직접 사용할 수 있습니다.
##3. Config 파일 위치
| 고객 | 편의점 |
|—|||
|Cursor | ~/.cursor/mcp.json (macOS/Linux) · [T4] (Windows) |
|Claude Desktop | [T5] (macOS) · [T6] (Windows) |
|Claude Code | [T7]] (그런 설정 [T8]] env var) |
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
sarvam-mcp
Official Sarvam MCP server. Exposes every public Sarvam API — STT, TTS, Translate, Transliterate, Language ID, Text Analytics, LLM (30B / 105B), Vision Document Intelligence, Pronunciation Dictionaries — as first-class MCP tools so any MCP-aware client (Claude Desktop, Claude Code, Cursor, Windsurf, Zed) can call Sarvam with zero boilerplate.
Cross-platform Python package: macOS, Windows, and Linux (Python 3.11+).
Quickstart
1. Get your API key
Sign up or log in at dashboard.sarvam.ai/key-management and copy your API key (sk_...).
2. Add to your MCP client
Paste this into your MCP config JSON:
{
"mcpServers": {
"sarvam": {
"command": "uvx",
"args": ["sarvam-mcp"],
"env": {
"SARVAM_API_KEY": "sk_..."
}
}
}
}
Replace sk_... with your actual API key.
If you’ve installed via pip install sarvam-mcp, you can use the console script directly:
{
"mcpServers": {
"sarvam": {
"command": "sarvam-mcp",
"env": {
"SARVAM_API_KEY": "sk_..."
}
}
}
}
3. Config file locations
| Client | Config path |
|---|---|
| Cursor | ~/.cursor/mcp.json (macOS/Linux) · %USERPROFILE%\.cursor\mcp.json (Windows) |
| Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) · %APPDATA%\Claude\claude_desktop_config.json (Windows) |
| Claude Code | claude mcp add sarvam -- uvx sarvam-mcp (then set SARVAM_API_KEY env var) |
| Windsurf | Cascade settings → MCP servers |
| Zed | settings.json → context_servers |
Alternative: credentials file
Instead of setting SARVAM_API_KEY in the JSON config, you can store it in ~/.sarvam/credentials:
api_key = sk_...
The server checks SARVAM_API_KEY env var first, then falls back to ~/.sarvam/credentials.
Install
# Option A: run directly (no install needed)
uvx sarvam-mcp
# Option B: install globally
pip install sarvam-mcp
Tools
All defaults below reflect the latest non-deprecated models.
| Tool | What it does | Default model |
|---|---|---|
sarvam_stt_transcribe |
Audio file → transcript (5 modes, including English via mode=translate) |
saaras:v4 |
sarvam_stt_realtime |
Mono WAV → realtime transcript | saaras:v3-realtime |
sarvam_tts_speak |
Text → audio file | bulbul:v3, bulbul:v4-flash |
sarvam_tts_stream |
Text → streamed audio | bulbul:v3, bulbul:v4-flash |
sarvam_translate |
Cross-language text translate | mayura:v1 |
sarvam_document_translate |
Whole document, layout preserved | — |
sarvam_transliterate |
Script conversion | — |
sarvam_identify_language |
Language + script detect | — |
sarvam_text_analytics |
Typed Q&A over text | — |
sarvam_llm_complete |
Chat completions | sarvam-105b |
설치
uvx sarvam-mcp설정
{
"mcpServers": {
"sarvam": {
"command": "uvx",
"args": ["sarvam-mcp"],
"env": {
"SARVAM_API_KEY": "sk_..."
}
}
}
}