
Feishu API
from NINGyv179
Fetches API information from Feishu OpenAPI for seamless integration and management within an IDE.
MCP-FEISHU
MCP-FEISHU is a microservice control plane (MCP) server designed specifically for Windsurf IDE integration. It fetches API information from Feishu OpenAPI and provides it to the IDE's MCP client, enabling seamless API integration and management within your development environment.
Features
- Connects to Feishu 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
API Resources
The MCP-FEISHU server exposes the following resources:
api://projects- List all API projectsapi://projects/{projectId}- Get details for a specific projectapi://projects/{projectId}/apis- List all APIs in a projectapi://projects/{projectId}/apis/{apiId}- Get details for a specific API
Tools
The server provides the following tools:
get_defect_link- Get the link to a specific defectget_recently_updated_defect_list- Get a list of recently updated defects
Development
# Run in development mode with hot reloading
npm run dev# Clone the repository
# git clone https://github.com/yourusername/mcp-feishu.git
# cd mcp-feishu
# Install dependencies
pnpm install
# Build the project
pnpm run buildBefore it works, you'll need: APP_IDAPP_SECRETTABLE_IDAPP_TOKEN
Installation
# Clone the repository
# git clone https://github.com/yourusername/mcp-feishu.git
# cd mcp-feishu
# Install dependencies
pnpm install
# Build the project
pnpm run buildUsage
Starting the Server
pnpm startDebug
npx @modelcontextprotocol/inspector node dist/index.jsConnecting from Windsurf IDE
pnpm buildIn your Windsurf IDE settings, add a new MCP server with the following configuration:
"mcpServers": {
"feiShuServer": {
"command": "node",
"args": ["/Program Files/project/mcp-feishu/dist/index.js"],
"env": {
"APP_ID": "",
"APP_SECRET": "",
"TABLE_ID": "",
"APP_TOKEN": ""
}
}
}No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
License
MIT