Logotipo de Mcp.Links

Mcp.Links

Comunidad
sheng-jie

Mcp.Links 是一个基于 .NET 9.0 构建的模型上下文协议(MCP)聚合器,能够将多个 MCP 服务器集成到统一平台中,提供 Web 管理界面,支持多种协议(stdio、HTTP、SSE),并内置 MCP 商店用于发现和管理各种 AI 工具和服务。

Editorsheng-jie
RepositorioMcp.Links
IdiomaC#
Forks
6
Estrellas
16
Herramientas disponibles
0
Tipo de transportestreamable-http
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Mcp.Links ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés de la comunidad en el repositorio

    16 estrellas y 6 forks en el repositorio enlazado.

简体中文 | English

Mcp.Links

A powerful Model Context Protocol (MCP) aggregator built with .NET 9.0 that enables seamless integration and management of multiple MCP servers. This project provides both HTTP and command-line interfaces for aggregating various MCP servers into a unified platform.

🚀 Features

  • Multi-Protocol Support: Aggregates MCP servers via stdio, HTTP, and SSE protocols
  • Web Management Interface: Intuitive Blazor-based UI for managing MCP servers and client applications
  • MCP Store: Built-in marketplace for discovering and installing pre-configured MCP servers
  • Authentication: Built-in API key authentication for secure access
  • Real-time Inspector: Monitor and inspect MCP server communications
  • Client App Management: Configure different client applications with specific MCP server access
  • Tool Aggregation: Seamlessly combine tools from multiple MCP servers
  • Docker Support: Ready-to-deploy containerized solution
  • Multi-environment Support: Configurable for development and production environments

📦 Installation & Usage

⚡ Quick Start

Get started quickly using the pre-built Docker image:

bash
# Run with default configuration
docker run -p 8080:8080 ghcr.io/sheng-jie/mcp-links:v0.4

# Run with custom configuration files
docker run -p 8080:8080 \
  -v $(pwd)/mcp.json:/app/mcp.json \
  -v $(pwd)/client-apps.json:/app/client-apps.json \
  ghcr.io/sheng-jie/mcp-links:v0.4

The application will be available at http://localhost:8080 with the MCP endpoint at /mcp.

📋 Prerequisites

  • .NET 9.0 SDK
  • Node.js (for running Node-based MCP servers)
  • Python 3.x with uv/uvx (for Python-based MCP servers)

1. HTTP Server Mode (Recommended)

Run the web-based management interface:

bash
dotnet run --project src/Mcp.Links.Http/Mcp.Links.Http.csproj

The server will start on http://localhost:5146 with the MCP endpoint available at /mcp.

Visit http://localhost:5146/mcp/env-check to check if your local environment is satisfied.

2. Configuration

MCP Servers Configuration (mcp.json)

json
{
  "mcpServers": {
    "fetch": {
      "enabled": true,
      "type": "stdio",
      "command": "uvx",
      "args": ["mcp-server-fetch"],
      "env": {
        "node-env": "dev",
        "port": "3300"
      }
    },
    "time": {
      "enabled": true,
      "type": "stdio", 
      "command": "uvx",
      "args": ["mcp-server-time", "--local-timezone=Asia/Shanghai"]
    },
    "microsoft-learn": {
      "enabled": false,
      "type": "http",
      "url": "https://learn.microsoft.com/api/mcp"
    }
  }
}

Client Applications Configuration (client-apps.json)

json
{
  "mcpClients": [
    {
      "appId": "vscode",
      "appKey": "your-api-key-here",
      "name": "VS Code",
      "description": "VS Code MCP client",
      "mcpServerIds": ["fetch", "time"]
    }
  ]
}

3. Build and Deploy with Docker

Build and run with Docker:

bash
# Build the image
docker build -t mcp-links .

# Run the container
docker run -p 8080:8080 \
  -v $(pwd)/mcp.json:/app/mcp.json \
  -v $(pwd)/client-apps.json:/app/client-apps.json \
  mcp-links

4. Custom Configuration File

Specify a custom configuration file:

bash
dotnet run --project src/Mcp.Links.Http/Mcp.Links.Http.csproj --mcp-file=/path/to/custom-mcp.json

🔧 Supported MCP Server Types

Stdio Servers

  • Python-based: Using uvx or pip installed packages
  • .NET-based: Using dnx command with .NET tools
  • Node.js-based: Using npx or globally installed packages

HTTP Servers

  • RESTful MCP servers with standard HTTP endpoints
  • Custom authentication header support

SSE (Server-Sent Events)

  • Real-time streaming MCP servers
  • Event-based communication

🎯 Use Cases

  • AI Development: Aggregate multiple AI tools and services into a single MCP interface
  • Enterprise Integration: Centralize various business tools and APIs
  • Development Workflow: Combine code analysis, documentation, and deployment tools
  • Research Platform: Integrate data analysis, visualization, and machine learning tools
  • Rapid Prototyping: Quickly discover and integrate MCP servers from the built-in store
  • Multi-client Management: Configure different tool sets for various AI clients (VS Code, Cursor, Claude Desktop)

🔒 Security Features

  • API Key Authentication: Secure access control for client applications
  • Client-specific Server Access: Granular permissions for different client applications
  • Environment Isolation: Separate configurations for different environments
  • Request Validation: Built-in request validation and error handling

🌐 Web Interface Features

The web management interface provides:

  • Server Management: Add, edit, disable/enable MCP servers
  • MCP Store: Browse and install MCP servers from a curated marketplace featuring 40+ pre-configured servers including:
    • AI Services: Time conversion, web search (Brave, Perplexity, Zhipu), image generation (EverArt, MiniMax)
    • Development Tools: GitHub/GitLab integration, Figma context, browser automation (Playwright, Puppeteer)
    • Database Access: PostgreSQL, Redis, Neon database management
    • Content & Communication: Slack integration, email sending (Mailtrap), note-taking (Flomo)
    • Location Services: Google Maps, Baidu Maps, Amap Maps with geocoding and routing
    • Specialized Tools: Blender 3D modeling, sequential thinking, AWS knowledge base retrieval
  • Real-time Monitoring: View server status and communication logs
  • Tool Inspector: Browse available tools from all connected servers
  • Client App Management: Configure API keys and server access for different clients
  • Configuration Editor: Direct editing of JSON configuration files
  • Internationalization: Support for multiple languages (English, Chinese)

📊 Monitoring & Debugging

  • Health Checks: Monitor the status of all connected MCP servers
  • Request Logging: Track all MCP communications for debugging
  • Error Handling: Comprehensive error reporting and recovery
  • Performance Metrics: Monitor response times and server performance

🚀 Development & Extension

Adding New MCP Servers

  1. Update your mcp.json configuration
  2. Restart the application or use hot-reload
  3. Verify connectivity through the web interface

Custom Transport Types

The system supports extending with custom transport implementations by implementing the transport interfaces in the core library.

🤝 Contributing

Contributions are welcome! Please feel free to submit pull requests, report issues, or suggest new features.

📄 License

This project is licensed under the terms specified in the LICENSE.txt file.


Built with ❤️ using .NET 9.0, AntBlazor, and the MCP C# SDK

Instalación

TypingMind
Requisitos:

Node.js 18+

{
  "mcpServers": {
    "sheng-jie-mcp-links": {
      "command": "npx",
      "args": [
        "-y",
        "Mcp.Links"
      ]
    }
  }
}

Usa el MCP de Mcp.Links con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Mcp.Links, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se conecta en TypingMind mediante la URL de un servidor MCP alojado de forma remota.

Añade la URL de un servidor MCP

Usa esta opción si Mcp.Links ya está alojado en un servidor remoto o si tu equipo quiere un conector compartido al que puedan acceder varios usuarios.

1

Abre Conectores MCP

En TypingMind, ve a Plugins, abre Conectores MCP y elige Añadir URL.

  1. Abre TypingMind en tu navegador.
  2. Ve a Plugins.
  3. Abre Conectores MCP.
  4. Haz clic en Añadir URL.
Formulario de TypingMind para añadir la URL de un servidor MCP personalizado
2

Pega la URL del servidor

Introduce la URL de tu servidor en el campo URL del servidor. Añade un nombre de conexión, una descripción, un icono, cabeceras HTTP personalizadas o la configuración del cliente OAuth si el servidor los requiere.

  1. Pega la URL de tu servidor en el campo URL del servidor.
  2. Introduce un nombre para la conexión de Mcp.Links.
  3. Añade una descripción y un icono si quieres que sea más fácil de identificar.
  4. Añade cabeceras HTTP personalizadas o los datos del cliente OAuth si el servidor requiere autenticación.
3

Crea la conexión

Haz clic en Crear conexión, vuelve a la lista de plugins y comprueba que la nueva conexión MCP esté activa.

  1. Haz clic en Crear conexión.
  2. Vuelve a la lista de conectores MCP.
  3. Comprueba que la conexión de Mcp.Links aparezca como activa.
  4. Actualiza la lista de plugins si la conexión no aparece de inmediato.
4

Cambia de modelo sin volver a conectar MCP

Inicia un chat con tu modelo preferido, activa las herramientas de Mcp.Links desde Plugins y cambia de modelo cuando lo necesites. La conexión MCP seguirá disponible en el espacio de trabajo de TypingMind.

  1. Inicia un nuevo chat en TypingMind.
  2. Selecciona el modelo de IA que quieras usar.
  3. Activa las herramientas de Mcp.Links desde Plugins.
  4. Pide al modelo que use la herramienta cuando sea necesario.
  5. Cambia a otro modelo de IA y reutiliza la misma conexión MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Mcp.Links para ayudarme con esta tarea?
Mcp.Links
Claro. Lo he leído.
Esto es lo que he encontrado con Mcp.Links.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Mcp.Links?

Mcp.Links es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas externas y acceder a información de contexto de fuentes externas. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Mcp.Links con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Mcp.Links con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el servidor MCP Mcp.Links con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves API y herramientas MCP en un solo espacio de trabajo. Con Mcp.Links conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu trabajo con los chats en TypingMind.

¿Cómo conecto el servidor MCP Mcp.Links a TypingMind?

Puedes conectar Mcp.Links en TypingMind añadiendo la URL de su servidor MCP remoto. Esto resulta útil si quieres una conexión MCP remota disponible desde tu espacio de trabajo de TypingMind.

¿Qué herramientas ofrece el servidor MCP Mcp.Links en TypingMind?

Mcp.Links ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves API con TypingMind para usar el servidor MCP Mcp.Links?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves API, prompts y configuración MCP. Si Mcp.Links requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇