eolink-mcp
This server enables AI assistants to query and manage API documentation from an Eolink Apikit instance (SaaS or private deployment) via the Eolink Open API.
Read (Query) Tools:
List Projects (
eolink_list_projects): Retrieve all projects in the workspace — typically the required first step.List Groups (
eolink_list_groups): View the interface group/folder tree for a project, including nested subgroups.Search APIs (
eolink_search_apis): Fuzzy search for APIs by keyword (name, URL, or tag), group, or status.Find API by Path (
eolink_find_api_by_path): Precisely locate an API by URL path using exact or prefix matching.Get API Detail (
eolink_get_api_detail): Fetch the full definition of an API including request headers, query/path/body params, and response structure.Export OpenAPI (
eolink_export_openapi): Bulk-export an entire project or specific groups as an OpenAPI JSON document.
Write (Modify) Tools:
Create API (
eolink_create_api): Add a new HTTP API definition to a project.Update API (
eolink_update_api): Modify an existing API definition by its ID.Create Group (
eolink_create_group): Add a new interface group/folder within a project.
⚠️ Deletion of APIs is not supported via the Eolink Open API and must be done manually in the Eolink backend.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@eolink-mcpLook up the API endpoint /api/v1/login and give me its full definition"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
eolink-mcp
An MCP server that lets AI assistants (Claude Code, etc.) query API documentation from any Eolink Apikit instance — SaaS or private deployment — via the Eolink Open API.
安装
npm install -g @huberyhe/eolink-mcp # 推荐:全局安装,多实例无竞态
# 或
npx @huberyhe/eolink-mcp # 免安装直接运行(首次需下载)多个 Claude Code 实例同时冷启动时,npx 共用缓存可能偶现竞态导致
not found。全局安装可完全避免。
Related MCP server: Apifox MCP Server
提供的工具
查询(只读)
工具 | 用途 | project_id |
| 列出空间所有项目(第一步) | 不需要 |
| 列出指定项目的接口分组树 | 必填 |
| 按关键字/分组/状态模糊搜索接口(匹配名称/URL/Tag) | 必填 |
| 按 api_path 精确/前缀查找接口 | 必填 |
| 按 api_id 获取单个接口的完整定义(请求/响应参数) | 必填 |
| 导出整个项目为 OpenAPI JSON(兜底全量) | 必填 |
写入(会改动 Eolink 文档)
工具 | 用途 | project_id |
| 新增 HTTP 接口(不传 api_id) | 必填 |
| 修改已有接口(传 api_id) | 必填 |
| 新增接口分组 | 必填 |
⚠️ 写工具默认启用,AI 可直接增改接口文档。修改建议先
get_api_detail确认当前内容。Eolink Open API 不开放删除接口,删除请到 Eolink 后台手动操作。写操作经/index.php/入口,add_group使用 form-urlencoded 格式——这些差异已内置处理,使用者无需关心。参数类型param_type用数字(0=string 3=int 2=json 8=boolean 等)。
典型流程:list_projects → search_apis 或 find_api_by_path(带 project_id)→ get_api_detail。
按名称找用
search_apis;按 URL 找用find_api_by_path(exact等值 /prefix前缀),比模糊搜索更精准。
配置
变量 | 必填 | 说明 |
| 是 | Eolink 实例 Open API 地址,如 |
| 是 | Open API 令牌(对应请求头 |
| 是 | 工作空间 ID |
| 否 | 设 |
Claude Code
方式一:全局 bin(推荐,多实例安全)
npm install -g @huberyhe/eolink-mcp@1.1.0然后在 ~/.claude.json 的 mcpServers 中添加:
{
"mcpServers": {
"eolink": {
"command": "eolink-mcp",
"args": [],
"env": {
"EOLINK_BASE_URL": "https://your-eolink.example.com",
"EOLINK_TOKEN": "your-open-api-secret-key",
"EOLINK_SPACE_ID": "your-space-id"
}
}
}
}方式二:npx(免安装)
{
"mcpServers": {
"eolink": {
"command": "npx",
"args": ["-y", "@huberyhe/eolink-mcp"],
"env": { ... }
}
}
}npx 首次需下载,多实例冷启动偶现缓存竞态。长期使用推荐全局安装。
本地调试:可在配置中保留两条入口,正式用全局 bin,改代码后用 dist 直连:
"eolink": { "command": "eolink-mcp" }, // 日常
"eolink_test": { "command": "node", "args": ["dist/index.js"] } // 调试用 claude mcp list 查看连接状态。
其它 MCP 客户端
任何支持 stdio MCP server 的客户端都适用:command 为 eolink-mcp(全局安装)或 npx -y @huberyhe/eolink-mcp(免安装),env 同上。
获取凭证
在 Eolink 后台「空间设置 / 开放 API」处生成 Open API 令牌(即 Eo-Secret-Key);space_id 为工作空间标识;EOLINK_BASE_URL 为实例 Open API 根地址。
代理
访问 Eolink 实例(尤其私有化内网部署)常需经代理。本 server 自动读取 HTTP(S)_PROXY 环境变量;设 EOLINK_NO_PROXY=1 可禁用。
本地开发
git clone https://github.com/huberyhe/eolink-mcp.git && cd eolink-mcp
npm install && npm run build # 产物在 dist/index.js改代码后 npm run build,重启 MCP 即生效。可在 ~/.claude.json 中保留两条入口:
"eolink": { "command": "eolink-mcp" }, // 正式,走 npm
"eolink_test": { "command": "node", "args": ["dist/index.js"] } // 调试,改代码即生效测试用 MCP Inspector:
npx @modelcontextprotocol/inspector --cli --transport stdio \
-e EOLINK_BASE_URL=xxx -e EOLINK_TOKEN=xxx -e EOLINK_SPACE_ID=xxx \
--method tools/list -- node dist/index.jsLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAquality-maintenanceEnables AI assistants to access and search RAP2 API documentation, allowing users to query interface details, search APIs by keywords, and retrieve repository interfaces through natural language.Last updated77
- AlicenseAqualityCmaintenanceEnables AI assistants to fetch and understand API endpoint definitions from Apifox projects in real-time. Supports retrieving complete API specifications including request methods, parameters, headers, and response schemas to improve development efficiency and code generation quality.Last updated1273MIT
- Alicense-qualityDmaintenanceEnables AI tools to search and explore API documentation from Apidog projects or OpenAPI/Swagger specifications, providing endpoint details, schemas, and project statistics through natural language queries.Last updated9021ISC
- AlicenseAqualityDmaintenanceExposes Swagger/OpenAPI API documentation to AI models, enabling exploration, search, and interaction with endpoints, schemas, and execution of API calls.Last updated1452MIT
Related MCP Connectors
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
Curated knowledge API for AI agents - skill packs, semantic search, validated patterns.
Search @imqueue docs and scaffold typed services & clients from your AI coding agent.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/huberyhe/eolink-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server