Cover image
Try Now
2025-03-18

从MCP服务器获取API文档信息

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

MCP-APIKit

MCP-APIKit is a microservice control plane (MCP) server designed specifically for Windsurf IDE integration. It fetches API information from Eolink OpenAPI and provides it to the IDE's MCP client, enabling seamless API integration and management within your development environment.

Features

  • Connects to Eolink OpenAPI to retrieve API specifications
  • Exposes API information as MCP resources
  • Provides tools for API discovery and exploration
  • Supports API testing and integration within Windsurf IDE
  • Implements the Model Context Protocol (MCP) for standardized communication

Installation

# 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

Configuration

Create a .env file in the root directory with the following variables:

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

Usage

Starting the Server

pnpm start

The server will start on the port specified in your .env file (default: 3000).

Debug

npx @modelcontextprotocol/inspector node dist/index.js

Connecting from Windsurf IDE

pnpm build

In your Windsurf IDE settings, add a new MCP server with the following configuration:

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

API Resources

The MCP-APIKit server exposes the following resources:

  • api://projects - List all API projects
  • api://projects/{projectId} - Get details for a specific project
  • api://projects/{projectId}/apis - List all APIs in a project
  • api://projects/{projectId}/apis/{apiId} - Get details for a specific API

Tools

The server provides the following tools:

  • search-apis - Search for APIs across all projects
  • test-api - Test an API endpoint with custom parameters
  • import-api - Import an API specification from Eolink to your project

Development

# Run in development mode with hot reloading
npm run dev

License

MIT

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    2 (1)
    Avatar
    user_ACHBKR9L
    2025-04-15

    OpenSumi is an incredible open-source project that's essential for developers looking to streamline their workflow. Created by opensumi, this tool offers a seamless coding experience with robust features and support. With its easy-to-navigate interface and comprehensive documentation provided at https://mcp.so/server/core/opensumi, it's perfect for both beginners and advanced users alike. The helpful welcome message guides you right from the start, making your development process simpler and more efficient. Highly recommend checking it out!