LLM MCP Bridge
Enables interaction with Ollama's local LLM server through OpenAI-compatible API, providing tools for model listing, chat, benchmarking, and quality evaluation.
Provides tools for interacting with OpenAI's API, including chat, model management, performance benchmarking, coherence evaluation, and quality reporting across different task types.
Click on "Install 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., "@LLM MCP Bridgechat prompt="Explain quantum computing in simple terms" model="gpt-4" temperature=0.8"
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.
LLM MCP Bridge 🌉
Un servidor MCP (Model Context Protocol) agnĂłstico para cualquier API compatible con OpenAI. Permite analizar y evaluar la calidad de modelos LLM.
🎯 Proveedores Soportados
Cualquier servidor que implemente la OpenAI API:
Proveedor | URL Base TĂpica |
LM Studio |
|
Ollama |
|
vLLM |
|
LocalAI |
|
llama.cpp |
|
OpenAI |
|
Azure OpenAI |
|
Together.ai |
|
Groq |
|
Anyscale |
|
Related MCP server: Polybrain MCP Server
🛠️ Herramientas MCP Disponibles
Herramienta | DescripciĂłn |
| Obtiene lista de modelos (JSON) |
| Verifica conexiĂłn con el servidor |
| Lista modelos (formato legible) |
| Chat con métricas de rendimiento |
| Benchmark con mĂşltiples prompts |
| EvalĂşa consistencia del modelo |
| Test en diferentes áreas |
| Compara mĂşltiples modelos |
| Reporte completo de calidad |
Parámetros Configurables en Chat
Todas las herramientas aceptan baseURL y apiKey opcionales para override de conexiĂłn.
Parámetro | Descripción | Default |
| Texto a enviar al modelo | requerido |
| ID del modelo | modelo por defecto |
| Máximo de tokens | 512 |
| Temperatura (0-2) | 0.7 |
| Nucleus sampling (0-1) | - |
| Top K sampling | - |
| PenalizaciĂłn repeticiĂłn | - |
| PenalizaciĂłn presencia | - |
| PenalizaciĂłn frecuencia | - |
| Secuencias de parada | - |
| Prompt de sistema | - |
đź“‹ Requisitos
Node.js >= 18
Un servidor LLM con API compatible con OpenAI
🚀 Instalación
cd llm-mcp-bridge
npm install
npm run build⚙️ Configuración en VS Code
Añade a tu archivo mcp.json de VS Code:
LM Studio (local)
{
"servers": {
"llm-local": {
"type": "stdio",
"command": "node",
"args": ["/ruta/a/llm-mcp-bridge/dist/index.js"],
"env": {
"LLM_BASE_URL": "http://localhost:1234/v1"
}
}
}
}Ollama
{
"servers": {
"ollama": {
"type": "stdio",
"command": "node",
"args": ["/ruta/a/llm-mcp-bridge/dist/index.js"],
"env": {
"LLM_BASE_URL": "http://localhost:11434/v1"
}
}
}
}OpenAI
{
"servers": {
"openai": {
"type": "stdio",
"command": "node",
"args": ["/ruta/a/llm-mcp-bridge/dist/index.js"],
"env": {
"LLM_BASE_URL": "https://api.openai.com/v1",
"LLM_API_KEY": "sk-..."
}
}
}
}Groq
{
"servers": {
"groq": {
"type": "stdio",
"command": "node",
"args": ["/ruta/a/llm-mcp-bridge/dist/index.js"],
"env": {
"LLM_BASE_URL": "https://api.groq.com/openai/v1",
"LLM_API_KEY": "gsk_..."
}
}
}
}MĂşltiples proveedores
{
"servers": {
"llm-lmstudio": {
"type": "stdio",
"command": "node",
"args": ["/ruta/a/llm-mcp-bridge/dist/index.js"],
"env": {
"LLM_BASE_URL": "http://localhost:1234/v1"
}
},
"llm-ollama": {
"type": "stdio",
"command": "node",
"args": ["/ruta/a/llm-mcp-bridge/dist/index.js"],
"env": {
"LLM_BASE_URL": "http://localhost:11434/v1"
}
},
"llm-openai": {
"type": "stdio",
"command": "node",
"args": ["/ruta/a/llm-mcp-bridge/dist/index.js"],
"env": {
"LLM_BASE_URL": "https://api.openai.com/v1",
"LLM_API_KEY": "sk-..."
}
}
}
}đź”§ Variables de Entorno
Variable | DescripciĂłn | Default |
| URL del servidor LLM |
|
| API Key (requerida para servicios cloud) | - |
đź“– Ejemplos de Uso
Verificar conexiĂłn
@llm_statusObtener modelos (JSON)
@llm_get_modelsChat con métricas
@llm_chat prompt="Explica qué es machine learning" temperature=0.5 maxTokens=256Chat con otro servidor (override)
@llm_chat prompt="Hola" baseURL="http://localhost:11434/v1"Benchmark
@llm_benchmark prompts=["Hola", "¿Qué hora es?", "Cuenta hasta 10"]Reporte de calidad
@llm_quality_reportComparar modelos
@llm_compare_models prompt="Escribe un haiku sobre la luna"🏗️ Estructura del Proyecto
llm-mcp-bridge/
├── src/
│ ├── index.ts # Servidor MCP principal
│ ├── llm-client.ts # Cliente OpenAI-compatible
│ └── tools.ts # Definiciones de herramientas MCP
├── dist/ # Código compilado
├── package.json
├── tsconfig.json
└── README.md📊 Métricas de Calidad
El servidor analiza:
Latencia: Tiempo total de respuesta (ms)
Tokens/segundo: Velocidad de generaciĂłn
Coherencia: Consistencia entre mĂşltiples ejecuciones
Capacidades: Rendimiento en diferentes tipos de tareas
Razonamiento
ProgramaciĂłn
Creatividad
Conocimiento factual
Seguir instrucciones
🤝 Contribuir
¡Las contribuciones son bienvenidas! Abre un issue o pull request.
đź“„ Licencia
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to connect to and chat with multiple LLM models (OpenAI, OpenRouter, custom endpoints) with conversation history management and model switching capabilities.3112MIT
- Alicense-quality-maintenanceEnables benchmarking of Large Language Model APIs by measuring performance metrics such as generation throughput, prompt throughput, and Time To First Token (TTFT) with configurable concurrency levels and parameters.1
- AlicenseAqualityCmaintenanceProbe LLM API endpoints and report health metrics including time to first token, latency, and throughput.42MIT
Related MCP Connectors
LLM chat, text summarization and AI image generation
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Universal AI API Orchestrator — 1,554 tools, 96 services. One install.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ramgeart/llm-mcp-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server