Skip to main content
Glama

MCP-API工具包

MCP-APIKit 是一个专为 Windsurf IDE 集成设计的微服务控制平面 (MCP) 服务器。它从 Eolink OpenAPI 获取 API 信息并将其提供给 IDE 的 MCP 客户端,从而实现开发环境中 API 的无缝集成和管理。

特征

  • 连接到 Eolink OpenAPI 以检索 API 规范

  • 将 API 信息公开为 MCP 资源

  • 提供 API 发现和探索工具

  • 支持 Windsurf IDE 中的 API 测试和集成

  • 实现模型上下文协议 (MCP) 以实现标准化通信

Related MCP server: MCP-FEISHU

安装

# Clone the repository
git clone https://github.com/yourusername/mcp-apikit.git
cd mcp-apikit

# Install dependencies
pnpm install

# Build the project
pnpm run build

配置

在根目录中创建一个.env文件,其中包含以下变量:

EOLINK_API_KEY=your_eolink_api_key
EOLINK_BASE_URL=https://api.eolink.com
SPACE_ID=your_space_id
PROJECT_ID=your_project_id

用法

启动服务器

pnpm start

服务器将在您的.env文件中指定的端口上启动(默认值:3000)。

调试

npx @modelcontextprotocol/inspector node dist/index.js

从 Windsurf IDE 连接

pnpm build

在您的 Windsurf IDE 设置中,添加一个具有以下配置的新 MCP 服务器:

    "mcpServers": {
      "apikit": {
        "command": "node",
        "args": [
          "/Users/{userName}/Documents/mcp-apikit/dist/index.js"
        ],
        "env": {}
      }
    }

API 资源

MCP-APIKit 服务器公开以下资源:

  • api://projects - 列出所有 API 项目

  • api://projects/{projectId} - 获取特定项目的详细信息

  • api://projects/{projectId}/apis - 列出项目中的所有 API

  • api://projects/{projectId}/apis/{apiId} - 获取特定 API 的详细信息

工具

该服务器提供以下工具:

  • search-apis - 在所有项目中搜索 API

  • test-api - 使用自定义参数测试 API 端点

  • import-api - 将 API 规范从 Eolink 导入到您的项目

发展

# Run in development mode with hot reloading
npm run dev

执照

麻省理工学院

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Appeared in Searches

Latest Blog Posts

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/scarqin/mcp-apikit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server