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.
관련 서버
Alpha Vantage MCP Server
스폰서Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Simple Loki MCP Server
An MCP server for querying Loki logs via logcli.
AppDeploy
AppDeploy lets you deploy a real, full-stack web app directly from an AI chat and turn your AI conversations into live apps, without leaving the chat or touching infrastructure.
AppleScript MCP
Execute AppleScript on macOS
Locust MCP Server
An MCP server for running Locust load tests. Configure test parameters like host, users, and spawn rate via environment variables.
MCP DevTools
A development tools server for Git management, file operations, AI-assisted editing, and terminal execution, integrable with AI assistants and code editors.
SpecBridge
Automatically generates MCP tools from OpenAPI specifications by scanning a folder for spec files. No configuration is needed and it supports authentication via environment variables.
Windows Command Line MCP Server
Enables AI models to interact with the Windows command-line safely and efficiently.
PixelLab
Generate and manipulate pixel art using the PixelLab API.
Web3 MCP
Interact with multiple blockchains including Solana, Ethereum, THORChain, XRP Ledger, TON, Cardano, and UTXO chains.
IMAGIN.studio API Docs
Semantic search over IMAGIN.studio vehicle imagery API documentation, CDN configuration, and integration guides.