Algora MCP服务器
MCP(模型上下文协议)服务器,使AI代理可以直接访问Algora的开源赏金平台。使用Claude Desktop、Cursor、Windsurf或任何兼容MCP的客户端来发现、搜索和分析开放奖金。
它的作用
AI代理可以调用五种工具:
| 工具 | 它做什么 |
|---|---|
list_bounties | 使用过滤器浏览开放奖金(组织、金额、技术) |
get_org_bounties | 获取特定组织(cal.com、suabase等)的所有奖金 |
search_bounties | 跨标题、描述、存储库的关键字搜索 |
get_top_bounties | 按奖励排序的最高价值开放奖金 |
get_bounty_stats | 汇总统计数据:总价值,按技术,按组织 |
需求
- Node.js 18+
- 无需API密钥-Algora的公共API已打开
快速开始
git clone https://github.com/idapixl/algora-mcp-server
cd algora-mcp-server
npm install
npm run buildClaude桌面配置
添加 claude_desktop_config.json:
{
"mcpServers": {
"algora": {
"command": "node",
"args": ["/absolute/path/to/algora-mcp-server/dist/index.js"]
}
}
}光标/风帆配置
添加到MCP设置中:
{
"algora": {
"command": "node",
"args": ["/absolute/path/to/algora-mcp-server/dist/index.js"]
}
}代理交互示例
寻找高价值的TypeScript赏金:
“向我展示TypeScript中价值200美元以上的开放奖金”
代理人将致电 get_top_bounties({ tech: "typescript", min_amount: 200 }) 并返回格式化的结果。
查看特定组织:
“项目发现有什么奖金?”
呼叫 get_org_bounties({ org: "projectdiscovery" }).
按域搜索:
“查找与MCP或模型上下文协议相关的赏金”
呼叫 search_bounties({ keyword: "MCP" }).
市场概况:
“Algora上所有开放奖金的总价值是多少?”
呼叫 get_bounty_stats({}) 以及按技术和组织分类的退货计数、总数、平均值和明细。
工具参考
list_bounties
| 参数 | 类型 | 默认值 | 说明 | ||
|---|---|---|---|---|---|
org | string | -- | 组织段塞(例如。, "cal", "supabase") | ||
status | "open" | "completed" | "all" | "open" | 赏金状态 |
limit | number | 20 | 每页结果(1-100) | ||
cursor | string | -- | 分页光标 | ||
min_amount | number | -- | 最低美元金额 | ||
max_amount | number | -- | 最高美元金额 | ||
tech | string | -- | 技术过滤器(例如。, "typescript") |
get_org_bounties
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
org | string | 是 | Algora URL中的组织段塞 |
status | string | 否 | 默认值: "open" |
limit | number | 否 | 默认值:50 |
search_bounties
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
keyword | string | 是 | 搜索词 |
tech | string | 否 | 技术堆栈筛选器 |
min_amount | 编号 | 否 | 最低美元 |
limit | number | 否 | 默认值:30 |
get_top_bounties
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
tech | string | -- | 技术过滤器 |
min_amount | 数字 | 100 | 最低美元 |
limit | number | 10 | 返回多少 |
get_bounty_stats
| 参数 | 类型 | 说明 |
|---|---|---|
org | string | 组织范围。全部省略。 |
发展
npm run dev # Run with tsx (no build step)
npm run build # Compile TypeScript
npm run typecheck # Type check without emitting建筑
服务器使用stdio传输(标准MCP约定)——没有HTTP服务器,没有端口,没有配置。它通过stdin/stdout与MCP客户端通信,并连接到Algora的公共API(无需身份验证)。
这 @algora/sdk tRPC客户端处理API调用。本地过滤应用于内存中API本机不支持的功能(关键字搜索,最小/最大数量)。
许可证
麻省理工学院
