MCP.so
ログイン

ApiFox MCP Server

@wangmhaha

基本情報

カテゴリ

その他

トランスポート

stdio

作者

wangmhaha

ApiFox MCP Server について

基于MCP协议的获取ApiFox接口信息的服务

ApiFox MCP Server の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ApiFox MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is ApiFox MCP Server?

ApiFox MCP Server is a server built on the Model Context Protocol (MCP) for fetching and managing API interface information from ApiFox. It is designed for developers using Cursor; by configuring the MCP service, the server retrieves interface module data and returns it to the large language model, enabling Cursor to implement business logic based on the interface details.

How to use ApiFox MCP Server?

Install and run via npx with your ApiFox API key and project ID: npx @wangmhaha/apifox-mcp-server@latest --apifox-api-key=<your-apifox-api-key> --project=<your-project-id>. Configure the MCP service in Cursor using either SSE mode (pointing to http://localhost:3000/sse) or a local JSON configuration with the --local flag and environment variables APIFOX_API_KEY and PROJECT_ID. Alternatively, clone the repository, run pnpm install and pnpm build, then start with pnpm start:http.

Key features of ApiFox MCP Server

  • Fetches ApiFox interface information via the MCP protocol
  • Supports both HTTP service and CLI command-line usage
  • Developed in TypeScript for type safety
  • Configurable through environment variables

Use cases of ApiFox MCP Server

  • Integrate ApiFox interface data into Cursor for AI-assisted development
  • Automate retrieval of API spec details to power business logic in code generation
  • Manage and organize ApiFox project interfaces programmatically

よくある質問

1

How do I obtain my ApiFox API key?

Provide your ApiFox API key through the `--apifox-api-key` command-line argument or the `APIFOX_API_KEY` environment variable.

2

How do I specify the project?

Set the project ID via the `--project` command-line argument or the `PROJECT_ID` environment variable.

3

What runtime environments are supported?

The server can be run in HTTP service mode (started via npx or local build) or in CLI mode (using the `--local` flag). It requires Node.js and TypeScript.

4

Can I change the default listening port?

Yes. Set the `PORT` environment variable; the default is 3000.

5

Does the server depend on any external services?

It depends on the ApiFox platform for API keys and project data. No database is required locally.

コメント

「その他」の他のコンテンツ