nei mcp server
Connect Nei to Claude, Cursor or any other MCP client and it stops being a tab you switch to. nei mcp server. The nei mcp server is what makes that connection.
nei mcp server
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
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 项目中的业务分组。Configuration is passed through the environment: SERVER_URL, PROJECT_ID. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Nei's toolset — sync_nei_project, search_interfaces_by_uri, search_interfaces_by_url and 2 more — is a fair guide to whether it matches your workflow. It is maintained by leila-huang; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What 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 项目中的业务分组。 |
## mcp 使用指南
```bash
{
"mcpServers": {
"nei-mcp-server": {
"command": "npx",
"args": [
"-y",
"@leila329/nei-mcp-server"
],
"env": {
"SERVER_URL": "xxx",
"PROJECT_ID": "xxx"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| SERVER_URL | Endpoint or connection string the server talks to. | Yes |
| PROJECT_ID | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.