Skip to main content
Glama
Violett MCP Server

Violett MCP Server

by luis0794

Violett MCP Server

Servidor MCP (Model Context Protocol) completo basado en el ejemplo de simpleStreamableHttp.ts del typescript-sdk oficial.

Características

Este servidor MCP incluye:

🔧 Herramientas (Tools)

  • fetch_url: Realiza peticiones HTTP GET para obtener contenido de URLs

  • post_data: Envía datos mediante peticiones HTTP POST

💡 Prompts

  • summarize_url: Genera un resumen del contenido de una URL

  • analyze_api: Analiza la estructura de respuesta de una API

📊 Recursos (Resources)

  • stream://example: Recurso de ejemplo con streaming de datos

  • http(s)://...: Soporte para recursos HTTP dinámicos

Related MCP server: OpenAPI MCP Server

Instalación

npm install

Compilación

npm run build

Uso

Modo desarrollo (TypeScript directo)

npm run dev
# o específicamente para MCP:
npm run mcp

Modo producción (JavaScript compilado)

npm start

Integración con Clientes MCP

Para usar este servidor desde un cliente MCP, puedes usar la configuración incluida en mcp-config.json:

{
  "mcpServers": {
    "violett-mcp-server": {
      "command": "npx",
      "args": ["-y", "ts-node", "src/examples/single-node-server.ts"],
      "cwd": ".",
      "env": {}
    }
  }
}

Ejemplo de uso

Una vez conectado, el servidor proporciona herramientas para:

  1. Obtener contenido web:

    • Usar la herramienta fetch_url con parámetro url

  2. Enviar datos a APIs:

    • Usar la herramienta post_data con parámetros url y data

  3. Generar prompts inteligentes:

    • summarize_url: Para resumir contenido de una URL

    • analyze_api: Para analizar respuestas de API

Estructura del proyecto

violett-mcp-server/
├── src/
│   └── examples/
│       └── single-node-server.ts    # Servidor MCP principal
├── dist/                            # JavaScript compilado
├── mcp-config.json                  # Configuración para clientes MCP
├── package.json
└── README.md

Desarrollo basado en el SDK oficial

Este servidor está basado en el ejemplo simpleStreamableHttp.ts del Model Context Protocol TypeScript SDK.

Para más información sobre MCP, consulta la documentación oficial.

Available Tools

2 tools
fetch_urlB

Fetch content from a URL via HTTP GET request

Inputs: url (required).

post_dataC

Send data via HTTP POST request

Inputs: url (required), data (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: fetch_url performs HTTP GET requests to retrieve content, while post_data performs HTTP POST requests to send data. There is no overlap or ambiguity between them, as they target different HTTP methods and actions.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern: fetch_url and post_data. The naming is predictable and readable, with no deviations in style or convention, making it easy for agents to understand their functions.

    Tool Count2/5

    With only 2 tools, the server feels thin for a general-purpose HTTP client. While it covers basic GET and POST operations, it lacks other common HTTP methods (e.g., PUT, DELETE, PATCH) and related utilities (e.g., headers, authentication), making it under-scoped for typical HTTP tasks.

    Completeness2/5

    The tool surface is severely incomplete for an HTTP server. It only supports GET and POST, missing essential operations like PUT, DELETE, PATCH, and configuration tools for headers or authentication. This will cause agent failures when more complex HTTP interactions are needed.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol Server that enables LLMs to interact with and execute REST API calls through natural language prompts, supporting GET/PUT/POST/PATCH operations on configured APIs.
      6
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that provides secure curl command execution capabilities, allowing AI assistants to make HTTP requests with configurable parameters and built-in security protections.
      4
      -
    • A
      license
      D
      quality
      D
      maintenance
      A Model Context Protocol server that enables LLMs to explore and interact with API specifications by providing tools for loading, browsing, and getting detailed information about API endpoints.
      4
      14
      MIT