A
securityF
licenseA
qualityThis server integrates with the Ticketmaster API to provide AI agents with real-time concert and event data, enabling dynamic fetching and formatting for ease of interpretation.
Last updated -
1
2
uv
创建并激活虚拟环境:uv
安装依赖项:https://www.berghain.berlin/en/program/
中提取事件。events/
目录中的 JSON 文件。例如, events/berghain_events_YYYY-MM-DD.json
。scripts/create_table.py
脚本负责处理此事。运行它(如有必要,调整参数):scripts/load_data.py
脚本从 JSON 文件加载事件。app/core/config.py
(由load_data.py
导入)具有必要的配置。app/
目录中,并定义了端点(例如,在app/api/endpoints/events.py
中)。app/main.py
文件配置为启动 FastAPI 应用程序和 FastMCP 服务器,将 API 端点公开为 AI 模型的工具。检查app/main.py
中的custom_maps
以查看 GET 路由如何映射到RouteType.TOOL
。Dockerfile
确保您的Dockerfile
已正确配置以使用uv
并运行app/main.py
:
tu-region-aws
和tu-aws-account-id
替换为您的值。main.tf
、 variables.tf
、 outputs.tf
)位于目录(例如terraform/
)中。这些文件应该定义必要的 AWS 资源,例如 ECR 映像将使用的 AWS App Runner 服务,以及 DynamoDB 表(如果 Terraform 也管理它)。 Terraform 中的 App Runner 配置将需要引用上传到 ECR 的图像。https://<id-servicio>.<region>.awsapprunner.com
)。mcp_local.py
)将mcp_local.py
文件设置为项目的根目录
**重要提示:**使用您从 Terraform 输出中获得的 URL 更新mcp_local.py
中的mcp_server_url
变量。
从项目的根目录(或保存mcp_local.py
任何位置):
这将运行 PydanticAI 代理,它将尝试连接到您部署的 MCP 并执行查询。
麻省理工学院
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
该服务器允许 AI 代理通过 DynamoDB 支持的 FastAPI 服务查询和检索有关 Berghain 夜总会即将举行的活动的信息。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alejofig/mcp-berghain'
If you have feedback or need assistance with the MCP directory API, please join our Discord server