Mcp.Linksのロゴ

Mcp.Links

コミュニティ
sheng-jie

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

公開者sheng-jie
リポジトリMcp.Links
言語C#
フォーク
6
スター
16
利用可能なツール
0
通信方式streamable-http
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Mcp.Linksは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 利用可能なツール(0個)

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースプロジェクトの注目度

    リンク先のリポジトリには16件のスターと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

インストール

TypingMind
前提条件:

Node.js 18+

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

Mcp.LinksのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Mcp.Linksに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 TypingMindでは、リモートでホストされているMCPサーバーのURLを使って、このMCPに接続します。

MCPサーバーのURLを追加

Mcp.Linksがすでにリモートでホストされている場合や、チームの複数のユーザーで1つのコネクタを共有したい場合は、この方法を使います。

1

MCPコネクタを開く

TypingMindで「プラグイン」に移動し、「MCPコネクタ」を開いて「URLを追加」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 「プラグイン」に移動してください。
  3. 「MCPコネクタ」を開いてください。
  4. 「URLを追加」をクリックしてください。
TypingMindの「カスタムMCPサーバーURLを追加」フォーム
2

サーバーURLを貼り付け

「サーバーURL」欄にお使いのサーバーURLを入力してください。サーバーで必要とされる場合は、接続名、説明、アイコン、カスタムHTTPヘッダー、OAuthクライアント設定を追加してください。

  1. 「サーバーURL」欄にお使いのサーバーURLを貼り付けてください。
  2. Mcp.Linksの接続名を入力してください。
  3. 接続を識別しやすくするには、説明とアイコンを追加してください。
  4. サーバーで認証が必要な場合は、カスタムHTTPヘッダーまたはOAuthクライアントの詳細情報を追加してください。
3

接続を作成

「接続を作成」をクリックし、プラグイン一覧に戻って、新しいMCP接続が有効になっていることを確認してください。

  1. 「接続を作成」をクリックしてください。
  2. MCPコネクタの一覧に戻ってください。
  3. Mcp.Linksの接続が「有効」と表示されていることを確認してください。
  4. 接続がすぐに表示されない場合は、プラグイン一覧を更新してください。
4

再接続せずにモデルを切り替え

お好みのモデルでチャットを開始し、「プラグイン」でMcp.Linksのツールを有効にしてください。必要に応じて別のモデルに切り替えられます。MCP接続は、TypingMindのワークスペースで引き続き利用できます。

  1. TypingMindで新しいチャットを開始してください。
  2. 使用するAIモデルを選択してください。
  3. 「プラグイン」でMcp.Linksのツールを有効にしてください。
  4. 必要に応じて、ツールを使うようモデルに依頼してください。
  5. 別のAIモデルに切り替えて、同じMCP接続を再利用してください。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Mcp.Linksを使ってこのタスクを手伝ってもらえますか?
Mcp.Links
はい、読みました。
Mcp.Linksで調べた結果をお伝えします。

よくある質問

Mcp.Links MCPサーバーは何に使いますか?

Mcp.Linksは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでは、複数のAIモデルでMcp.Links MCPを利用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでMcp.Linksを利用できます。

TypingMindでMcp.Links MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けのトップクラスのフロントエンドです。Mcp.Linksを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Mcp.Links MCPをTypingMindに接続するにはどうすればよいですか?

ホストされているMcp.LinksのMCPサーバーURLを追加すると、TypingMindに接続できます。TypingMindのワークスペースから利用できるリモートMCP接続が必要な場合に便利です。

TypingMindでMcp.Links MCPのどのようなツールを利用できますか?

Mcp.LinksはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Mcp.Links MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Mcp.Linksで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇