MCP-Saptiva
MCP-Saptiva is a Model Context Protocol server for interacting with Saptiva AI's models and tools through Claude Code.
Chat (
saptiva_chat): Converse with Saptiva AI models — Turbo (fast), Cortex (reasoning), Ops (RAG/web search), Legacy (tool-compatible), and KAL (Mexican legal context) — with configurable parameters like temperature, max tokens, and top-p.Step-by-Step Reasoning (
saptiva_reason): Use Saptiva Cortex for complex math, logic, and multi-step analysis with visible chain-of-thought output.OCR (
saptiva_ocr): Extract text from images via URL or base64 encoding, useful for document processing and receipt scanning.Text Embeddings (
saptiva_embed): Generate semantic embedding vectors for similarity search, clustering, and RAG applications.Batch Embeddings (
saptiva_batch_embed): Efficiently generate embeddings for multiple texts in a single call.List Models (
saptiva_list_models): Retrieve all available models with their capabilities, descriptions, and pricing.Help & Docs (
saptiva_help): Access guides, examples, cURL commands, and Saptiva Agents SDK information across various topics.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP-Saptiva use Saptiva Cortex to solve this complex logic puzzle"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP-Saptiva
MCP (Model Context Protocol) server para interactuar con los LLMs y herramientas de Saptiva AI.
Instalación para Claude Code
Paso 1: Obtén tu API Key
Ve a https://lab.saptiva.com/ y copia tu API key.
Paso 2: Configura Claude Code
Abre tu terminal y ejecuta:
# Crear el directorio si no existe
mkdir -p ~/.claude
# Crear/editar el archivo de configuración
nano ~/.claude/settings.jsonPega esta configuración (reemplaza TU_API_KEY):
{
"mcpServers": {
"saptiva": {
"command": "npx",
"args": ["-y", "github:saptiva-ai/MCP-Saptiva"],
"env": {
"SAPTIVA_API_KEY": "TU_API_KEY"
}
}
}
}Paso 3: Reinicia Claude Code
Cierra y vuelve a abrir Claude Code. El MCP estará disponible.
Paso 4: Verifica que funciona
En Claude Code, pregunta:
¿Qué modelos de Saptiva tengo disponibles?Claude debería usar saptiva_list_models y mostrarte los modelos.
Herramientas Disponibles
Herramienta | Descripción |
| Chat con cualquier modelo de Saptiva |
| Razonamiento paso a paso con Cortex |
| Extraer texto de imágenes |
| Generar embeddings de texto |
| Embeddings de múltiples textos |
| Ver modelos disponibles y precios |
| Documentación y ejemplos |
Temas de Ayuda
Usa saptiva_help con estos temas:
quick_start → Inicio rápido
chat_example → Ejemplo de chat completo
reasoning_example → Usar Cortex para razonamiento
ocr_example → Extraer texto de imágenes
embedding_example → Generar embeddings
all_tools → Lista de herramientas
curl_examples → Comandos cURL
agents_sdk → Saptiva Agents SDK (Python)Modelos Disponibles
Modelo | Ideal para | Precio (por M tokens) |
Saptiva Turbo | Respuestas rápidas | $0.20 / $0.60 |
Saptiva Cortex | Razonamiento complejo | $0.30 / $0.80 |
Saptiva Ops | RAG, búsqueda web | $0.20 / $0.60 |
Saptiva OCR | Extracción de texto de imágenes | $0.15 / $0.50 |
Saptiva Embed | Vectorización semántica | $0.01 / - |
Saptiva KAL | Contexto legal México | $0.20 / $0.60 |
Ejemplos de Uso en Claude Code
Chat simple
Pregúntale a Saptiva Turbo: ¿Cuál es la capital de Francia?Razonamiento
Usa saptiva_reason para resolver: Si tengo 5 manzanas y como 2, ¿cuántas quedan?OCR
Extrae el texto de esta imagen: [URL de imagen]Embeddings
Genera el embedding de "Inteligencia artificial"Instalación Local (Desarrollo)
Si quieres modificar el MCP:
# Clonar
git clone https://github.com/saptiva-ai/MCP-Saptiva.git
cd MCP-Saptiva
# Instalar y construir
npm install
npm run build
# Configurar API key
cp .env.example .env
# Edita .env y agrega tu SAPTIVA_API_KEY
# Probar
node test-comprehensive.mjsPara usar tu versión local, cambia la config:
{
"mcpServers": {
"saptiva": {
"command": "node",
"args": ["/ruta/a/MCP-Saptiva/dist/index.js"],
"env": {
"SAPTIVA_API_KEY": "TU_API_KEY"
}
}
}
}Links
Saptiva Agents SDK - Framework Python para agentes
License
MIT
Available Tools
7 toolssaptiva_batch_embedA
Generate embeddings for multiple texts at once. More efficient than calling saptiva_embed multiple times.
Inputs: texts (required).
saptiva_chatC
Send a chat completion request to Saptiva AI models. Supports multiple models including Saptiva Turbo (fast), Cortex (reasoning), Legacy (tool-compatible), and more.
Inputs: messages (required), model, max_tokens, temperature, +1 more.
saptiva_embedB
Generate semantic embeddings for text using Saptiva Embed model. Useful for similarity search, clustering, and RAG applications.
Inputs: text (required).
saptiva_helpA
🎓 GUÍA PARA PRINCIPIANTES - Muestra ejemplos de peticiones y respuestas de la API de Saptiva.
Temas disponibles:
quick_start: Inicio rápido con ejemplo básico
chat_example: Ejemplo completo de chat con request/response
reasoning_example: Ejemplo de razonamiento con Cortex
ocr_example: Ejemplo de extracción de texto de imágenes
embedding_example: Ejemplo de generación de embeddings
all_tools: Lista de todas las herramientas disponibles
curl_examples: Ejemplos en cURL para usar directamente
agents_sdk: Información sobre Saptiva Agents SDK para construir agentes
Inputs: topic.
saptiva_list_modelsB
List all available Saptiva AI models with their capabilities, descriptions, and pricing.
Inputs: no named parameters.
saptiva_ocrB
Extract text from images using Saptiva OCR model. Supports both URLs and base64 encoded images. Great for document processing, receipt scanning, and image text extraction.
Inputs: image_url (required), prompt.
saptiva_reasonA
Use Saptiva Cortex for complex reasoning tasks. Shows the model's chain-of-thought reasoning process along with the final answer. Best for math, logic, analysis, and multi-step problems.
Inputs: question (required), context, max_tokens.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose: batch_embed and embed handle embeddings at different scales, chat and reason are for different types of model interactions, ocr is for image text extraction, list_models provides metadata, and help is for documentation. No overlap or ambiguity exists between these functions.
All tools follow a consistent 'saptiva_' prefix with descriptive snake_case names (e.g., saptiva_chat, saptiva_embed, saptiva_ocr). This pattern is uniform across all 7 tools, making them predictable and easy to identify.
With 7 tools, this server is well-scoped for an AI model service, covering core functionalities like chat, reasoning, embeddings, OCR, model listing, and help. Each tool earns its place without being overwhelming or insufficient for the domain.
The tool set covers key operations for an AI platform: chat, reasoning, embeddings (single and batch), OCR, model discovery, and help. A minor gap is the lack of tools for managing resources (e.g., deleting or updating models), but core workflows are well-supported.
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
MCP server for building and testing AI agents with multi-model experimentation and insights.
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
The CustomGPT.ai MCP server is a fully managed, RAG-powered endpoint that connects large language models with private knowledge bases and external data sources. It provides tools for retrieval-augmented generation queries (send_message), data ingestion (upload_file), and source listing, enabling AI agents to query private documents like PDFs with high accuracy and real-time citations.