Nei MCP Server

nei mcp server

Local serverstdio

What is the Nei MCP Server?

nei mcp server

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
sync_nei_project强制从远程 NEI 平台同步最新的项目数据,并更新本地缓存。当怀疑本地数据不是最新,或需要获取最近刚刚变更的后端接口、数据模型信息时,应首先调用此工具。
search_interfaces_by_uri根据接口定义的 URI(接口路径)模糊搜索 NEI 项目中的接口资源。
search_interfaces_by_url根据 NEI 接口详情链接中的 pid 和 id 精确搜索接口资源,例如 http://nei.example.com/interface/detail/?pid=10135&id=13015。
search_interfaces_by_name根据接口名称模糊搜索 NEI 项目中的接口资源。
search_groups_by_name根据分组名称搜索 NEI 项目中的业务分组。

How to install the Nei MCP Server

{
  "mcpServers": {
    "nei-mcp-server": {
      "command": "npx",
      "args": [
        "tsx",
        "/PATH/TO/YOUR_PROJECT/src/index.ts"
      ],
      "env": {
        "SERVER_URL": "xxx",
        "PROJECT_ID": "xxx"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
SERVER_URLDeclared in the maintainer’s client configuration.Check documentation
PROJECT_IDDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Nei to sync nei project.”
  • “Use Nei to search interfaces by uri.”
  • “Use Nei to search interfaces by url.”

Frequently asked questions

nei mcp server Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.