MCP Low-Level Server Streamable HTTP
A low-level MCP server implementation with streamable HTTP support, configured via environment variables.
Cómo crear un servidor MCP usando Low-Level Server y Streameable HTTP 🚀🖥️✨
Este es un servidor MCP basado en TypeScript que implementa un sistema sencillo de notas. Demuestra conceptos clave de MCP proporcionando:
- 📄 Recursos que representan notas de texto con URIs y metadatos
- 🛠️ Herramientas para crear nuevas notas
- 💡 Prompts para generar resúmenes de notas
Características 🌟
Recursos 📚
- 📑 Lista y accede a notas mediante URIs
note:// - 🏷️ Cada nota tiene título, contenido y metadatos
- 📝 Tipo MIME de texto plano para acceso sencillo al contenido
Herramientas 🧰
- ✍️
create_note- Crea nuevas notas de texto- 🏷️ Requiere título y contenido como parámetros obligatorios
- 💾 Almacena la nota en el estado del servidor
Prompts 🧠
- 📝
summarize_notes- Genera un resumen de todas las notas almacenadas- 📥 Incluye todos los contenidos de las notas como recursos embebidos
- 📤 Devuelve un prompt estructurado para la resumir con LLM
Desarrollo 👨💻👩💻
Instala las dependencias:
npm install
Compila el servidor:
npm run build
Inicia el servidor:
npm start
Instalación ⚙️
Para usar con Claude Desktop, añade la configuración del servidor:
En MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
En Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcp-low-level-server-streamable-http": {
"type": "http",
"url": "http://localhost:3001/mcp"
}
}
}
Debugging 🐞🔍
Como los servidores MCP se comunican por stdio, depurar puede ser complicado. Recomendamos usar el MCP Inspector 🕵️♂️, disponible como script de npm:
npm run inspector
El Inspector te dará una URL 🌐 para acceder a herramientas de depuración en tu navegador.
Servidores relacionados
Scout Monitoring MCP
patrocinadorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
patrocinadorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
CodeVF MCP
CodeVF MCP lets AI hand off problems to real engineers instantly, so your workflows don’t stall when models hit their limits.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
MockLoop
An AI-native API testing platform for generating scenarios, executing tests, and analyzing results.
plugged.in App
A web app for managing MCP servers, offering a unified interface to discover, configure, and utilize AI tools.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers, without authentication.
NetMind ParsePro
Parses PDF files from a URL into structured formats like JSON and Markdown.
Deliberate Reasoning Engine (DRE)
Transforms linear AI reasoning into structured, auditable thought graphs, enabling language models to externalize their reasoning process as a directed acyclic graph (DAG).
302AI Sandbox MCP Server
A code sandbox for AI assistants to safely execute arbitrary code. Requires a 302AI API key for authentication.
gget-mcp
An MCP server for the gget bioinformatics library, enabling standardized access to genomics tools and databases.
ContextKeeper
Provides perfect memory for AI-assisted development by capturing project context snapshots, enabling natural language search, evolution tracking, and code intelligence.