MCP 安装教程

最适合 AI 编码工作流的 MCP 服务

选择适合编码 Agent、IDE 助手、GitHub、文档、文件和数据库的 MCP 服务。

适合谁?

适合构建 Cursor、Codex、Claude 或 VS Code 编码工作流的开发者。

配置路径和示例

Depends on your AI client

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

安装步骤

1

Start with files and GitHub

Filesystem and GitHub MCP servers usually create the fastest coding value.

2

Add docs or search

Documentation and search servers help agents answer project questions.

3

Add database only when needed

Database MCP is powerful but should be reviewed for permissions and data access.

4

Prefer low-risk install commands

Avoid shell-pipe installers unless you fully trust the source.

常见问题

Too many tools

Start with 2-3 servers. Too many tools can slow down workflows.

Over-broad permissions

Limit filesystem and database access to the folders or databases you need.

FAQ

What should I install first?

Start with filesystem, GitHub, and docs/search before adding databases or browser automation.