Logo: Mcp.Links

Mcp.Links

Communautéit
sheng-jie

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

Editeursheng-jie
RepositoryMcp.Links
SproochC#
Forks
6
Stären
16
Disponibel Tools
0
Transporttypstreamable-http
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Mcp.Links bitt MCP-Funktiounen un, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • Disponibel Tools: 0

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an deem MCP-Client ze konfiguréieren, deen Dir am léifste benotzt.

  • Interessi vun der Communautéit um Open-Source-Projet

    Zuele vum verlinkte Repository – Stären: 16, Forks: 6.

简体中文 | 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

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

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

Mcp.Links MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Mcp.Links verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun verbënnt sech an TypingMind iwwer d'URL vun engem gehoste MCP-Server.

Eng MCP-Server-URL derbäisetzen

Benotzt dës Optioun, wann Mcp.Links schonn op engem externe Server gehost gëtt oder Är Ekipp ee gemeinsame Connector wëllt, op dee méi Benotzer kënne zougräifen.

1

MCP-Connectoren opmaachen

Gitt an TypingMind op „Plugins“, maacht „MCP-Connectoren“ op a wielt dann „URL derbäisetzen“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Gitt op „Plugins“.
  3. Maacht „MCP-Connectoren“ op.
  4. Klickt op „URL derbäisetzen“.
TypingMind-Formulaire, fir eng benotzerdefinéiert MCP-Server-URL derbäizesetzen
2

Déi kopéiert Server-URL asetzen

Gitt Är Server-URL am Feld „Server-URL“ an. Setzt e Verbindungsnumm, eng Beschreiwung, e Symbol, benotzerdefinéiert HTTP-Headeren oder OAuth-Clientastellungen derbäi, wann de Server se erfuerdert.

  1. Setzt Är Server-URL an d'Feld „Server-URL“ an.
  2. Gitt en Numm fir d'Verbindung mat Mcp.Links an.
  3. Wann Dir d'Verbindung méi einfach erëmerkenne wëllt, setzt eng Beschreiwung an e Symbol derbäi.
  4. Setzt benotzerdefinéiert HTTP-Headeren oder OAuth-Clientdetailer derbäi, wann de Server eng Authentifizéierung erfuerdert.
3

D'Verbindung erstellen

Klickt op „Verbindung erstellen“, gitt dann zeréck op d'Plugin-Lëscht a kontrolléiert, ob déi nei MCP-Verbindung aktiv ass.

  1. Klickt op „Verbindung erstellen“.
  2. Gitt zeréck op d'Lëscht vun de MCP-Connectoren.
  3. Kontrolléiert, ob d'Verbindung mat Mcp.Links als aktiv ugewise gëtt.
  4. Aktualiséiert d'Plugin-Lëscht, wann d'Verbindung net direkt ugewise gëtt.
4

Modeller wiesselen, ouni MCP nei ze verbannen

Start e Chat mat Ärem bevorzugte Modell, aktivéiert d'Tools vun der Integratioun Mcp.Links ënner „Plugins“ a wiesselt bei Bedarf op en anere Modell. D'MCP-Verbindung bleift am TypingMind-Aarbechtsberäich disponibel.

  1. Start en neie Chat an TypingMind.
  2. Wielt de KI-Modell, deen Dir benotze wëllt.
  3. Aktivéiert d'Tools vun der Integratioun Mcp.Links ënner „Plugins“.
  4. Biet de Modell, d'Tool ze benotzen, wann néideg.
  5. Wiesselt op en anere KI-Modell a benotzt déiselwecht MCP-Verbindung weider.
TypingMind-Chat mat aktivéierten MCP-Tools an engem ausgewielte KI-Modell
Kënnt Dir mir mat Mcp.Links bei dëser Aufgab hëllefen?
Mcp.Links
Jo. Ech hunn et gelies.
Dat hunn ech mat Mcp.Links fonnt.

Heefeg gestallte Froen

Fir wat gëtt den MCP-Server Mcp.Links benotzt?

Mcp.Links ass en MCP-Server, deen et kompatibele KI-Clienten erlaabt, op extern Tools a Kontextinformatioune zouzegräifen. An TypingMind kënnt Dir dësen MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Mcp.Links MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Mcp.Links mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni den MCP-Server fir all Modell separat anzeriichten.

Firwat Mcp.Links MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Mcp.Links verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Ären Aarbechtsoflaf beim Chatten an TypingMind organiséieren.

Wéi verbannen ech Mcp.Links MCP mat TypingMind?

Dir kënnt Mcp.Links mat TypingMind verbannen, andeems Dir d'URL vu sengem gehosten MCP-Server derbäisetzt. Dat ass nëtzlech, wann Dir eng Remote-MCP-Verbindung wëllt, op déi Dir vun Ärem TypingMind-Aarbechtsberäich aus zougräife kënnt.

Wéi eng Tools stellt Mcp.Links MCP an TypingMind zur Verfügung?

Mcp.Links stellt MCP-Funktioune zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agente zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Mcp.Links MCP ze benotzen?

Nee. TypingMind ass nom Local-first-Prinzip opgebaut a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Mcp.Links eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir deen MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇