VulnGPT MCP服务器
🔐 用于Puch AI黑客马拉松集成的生产就绪MCP服务器
特性
- 承载令牌身份验证
- 电话号码验证(印度格式:919876543210)
- 生产安全(CORS、速率限制、错误处理)
- 健康检查和监测
- MCP协议支持
快速部署

局部测试
pip install -r requirements.txt
python main.py服务器在上运行http://localhost:8000
API终点
GET /health-健康检查POST /validate-令牌验证(需要Bearer令牌)GET /docs-API文件
环境变量
PORT-服务器端口(默认值:8000)HOST-服务器主机(默认值:0.0.0.0)
Puch AI集成
连接到Puch AI:
/mcp connect https://your-server-url.railway.app your_bearer_token不记名代币(生产更新)
USER_DATABASE = {
"your_token_here": "919876543210",
"another_token": "918765432109",
}