Mcp.Links logo

Mcp.Links

Community
sheng-jie

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

Publishersheng-jie
RepositoryMcp.Links
LanguageC#
Forks
6
Stars
16
Available tools
0
Transport typestreamable-http
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Mcp.Links exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    16 stars and 6 forks from the linked repository.

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

Installation

TypingMind
Prerequisites:

Node.js 18+

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

Use Mcp.Links MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Mcp.Links is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP connects through a hosted MCP server URL in TypingMind.

Add an MCP server URL

Use this when Mcp.Links is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter your server URL in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste your server URL into the Server URL field.
  2. Enter a connection name for Mcp.Links.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the Mcp.Links connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the Mcp.Links tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the Mcp.Links tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Mcp.Links to help me with this task?
Mcp.Links
Sure. I read it.
Here is what I found using Mcp.Links.

Frequently asked questions

What is the Mcp.Links MCP server used for?

Mcp.Links is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Mcp.Links MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Mcp.Links with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Mcp.Links MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Mcp.Links connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Mcp.Links MCP to TypingMind?

Mcp.Links can be connected in TypingMind by adding its hosted MCP server URL. This is useful when you want a remote MCP connection that is available from your TypingMind workspace.

What tools does Mcp.Links MCP provide in TypingMind?

Mcp.Links exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Mcp.Links MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Mcp.Links requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇