drio
Open app

Model Context Protocol(MCP) 编程极速入门

Source

Model Context Protocol(MCP) 编程极速入门

Catalog onlyCatalog onlySTDIO

Overview

Model Context Protocol (MCP) is an innovative open-source protocol that redefines the interaction between large language models (LLMs) and external data sources and tools. It provides a standardized method for any large language model to easily connect to various data sources and tools, enabling seamless access and processing of information.

To use MCP, developers can initialize a project using the provided commands, set up a virtual environment, and install necessary dependencies. The protocol supports two types of transport protocols: stdio (standard input/output) and SSE (server-sent events). Developers can create servers and tools using Python and manage them through the MCP framework.

  • Standardized connection for AI models to various data sources and tools. - Support for multiple transport protocols. - Easy integration with Python projects. - Tools for debugging and visualizing server interactions.
  1. Developing AI applications that require real-time data access.
  2. Creating custom tools for specific data processing tasks.
  3. Integrating with existing AI frameworks like LangChain.

Add to your AI client

Use these steps to connect Model Context Protocol(MCP) 编程极速入门 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-chinese-getting-started-guide-liaokongvfx": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-chinese-getting-started-guide-liaokongvfx"
      ]
    }
  }
}

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-chinese-getting-started-guide-liaokongvfx": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-chinese-getting-started-guide-liaokongvfx"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-chinese-getting-started-guide-liaokongvfx": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-chinese-getting-started-guide-liaokongvfx"
      ]
    }
  }
}

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-chinese-getting-started-guide-liaokongvfx": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-chinese-getting-started-guide-liaokongvfx"
      ]
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-chinese-getting-started-guide-liaokongvfx": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-chinese-getting-started-guide-liaokongvfx"
      ]
    }
  }
}

Cline

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

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-chinese-getting-started-guide-liaokongvfx": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-chinese-getting-started-guide-liaokongvfx"
      ]
    }
  }
}

FAQ

What programming languages does MCP support?

MCP is primarily designed for Python, but it can be integrated with other languages through API calls.

Is MCP free to use?

Yes! MCP is an open-source project and is free for everyone to use.

How can I contribute to MCP?

Contributions are welcome! You can contribute by submitting issues or pull requests on the GitHub repository.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1889,"uuid":"0553c297-e953-4002-b109-e29946dddd22","name":"MCP-Chinese-Getting-Started-Guide","title":"Model Context Protocol(MCP) 编程极速入门","description":"Model Context Protocol(MCP) 编程极速入门","avatar_url":"https://avatars.githubusercontent.com/u/13622183?v=4","created_at":"$D2025-03-05T05:54:52.125Z","updated_at":"$D2025-03-12T10:21:17.612Z","status":"created","author_name":"liaokongVFX","author_avatar_url":"https://avatars.githubusercontent.com/u/13622183?v=4","tags":"ai,mcp,deepseek,mcp-server,modelcontextprotocol","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/liaokongVFX/MCP-Chinese-Getting-Started-Guide","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/liaokongVFX/MCP-Chinese-Getting-Started-Guide/raw/main/.assets/image-20250223214308430.png","type":null,"metadata":"{\"star\":\"1291\",\"license\":\"\",\"language\":null,\"is_official\":false,\"latest_commit_time\":\"2025-04-23 22:06:41\"}","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"}]]}]