逆向 Windsurf IDE 的完整后端协议,封装成 Python SDK。 从 Language Server 二进制文件中提取了 13 个 gRPC 服务、560+ 个 RPC 方法, 涵盖用户管理、AI 模型调用、聊天补全、团队计费、MCP 插件、实验注入等全部功能。 基于 Connect-protocol(gRPC over HTTP/1.1 + JSON),零依赖,三行代码上手。
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"windsurf-grpc-api": {
"command": "cargo",
"args": [
"run",
"--",
"WindSurf-gRPC-API"
]
}
}
}
Run in terminal:
claude mcp add windsurf-grpc-api cargo run -- WindSurf-gRPC-API
Add to .cursor/mcp.json:
{
"mcpServers": {
"windsurf-grpc-api": {
"command": "cargo",
"args": [
"run",
"--",
"WindSurf-gRPC-API"
]
}
}
}