drio
Open app

分布式MCP Server

Source

Catalog onlyCatalog onlySTDIO

Overview

MCP Server is a Microsoft Copilot Plugin (MCP) server that provides various tools for querying information, including legal documents, Microsoft product licensing, weather data, and Azure pricing.

To use MCP Server, clone the repository, set up a virtual environment, install dependencies, and start the server. You can then access various endpoints for different functionalities.

  • Query legal information from Chinese Criminal Law - Access Microsoft product licensing details - Get weather alerts and forecasts for US locations - Query Azure pricing information - Count Chinese characters in a text string
  1. Legal professionals querying specific laws and regulations.
  2. Developers checking Microsoft product licensing information.
  3. Users obtaining weather forecasts for planning purposes.
  4. Businesses analyzing Azure pricing for budgeting.

Add to your AI client

Use these steps to connect 分布式MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-xuhaoruins": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-xuhaoruins"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-server-xuhaoruins": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-xuhaoruins"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-xuhaoruins": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-xuhaoruins"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-server-xuhaoruins": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-xuhaoruins"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-xuhaoruins": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-xuhaoruins"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-xuhaoruins": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-xuhaoruins"
      ]
    }
  }
}

FAQ

What technologies does MCP Server use?

MCP Server uses LlamaIndex for vector search, Azure OpenAI for language model capabilities, and MongoDB/Azure Cosmos DB for storage.

Is there a Docker deployment option?

Yes, MCP Server can be deployed using Docker for containerized environments.

What are the prerequisites for running MCP Server?

You need Python 3.12 or higher, MongoDB or Azure Cosmos DB, and Azure OpenAI API access.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3763,"uuid":"005712ba-f772-4b2c-9844-7ee3b5f7935e","name":"mcp-server","title":"分布式MCP Server","description":"","avatar_url":"https://avatars.githubusercontent.com/u/4555094?v=4","created_at":"$D2025-03-21T14:38:05.112Z","updated_at":"$D2025-03-21T14:45:43.714Z","status":"created","author_name":"xuhaoruins","author_avatar_url":"https://avatars.githubusercontent.com/u/4555094?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/xuhaoruins/mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"1\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-26 14:56:51\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]