Eventbrite MCP Server

by ibraheem4
Verified

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.

Integrations

  • Allows searching for events, retrieving event details, accessing venue information, and listing event categories through the Eventbrite API.

Eventbrite MCP 服务器

这是一个模型上下文协议 (MCP) 服务器,提供与 Eventbrite API 交互的工具。它允许 AI 助手搜索活动、获取活动详情、检索场地信息等。

特征

  • 根据各种标准(地点、日期、类别等)搜索事件
  • 获取有关特定事件的详细信息
  • 检索场地信息
  • 获取事件类别列表

安装

来自 NPM

npm install -g @ibraheem4/eventbrite-mcp

来自源

  1. 克隆此存储库
  2. 安装依赖项:
    npm install
  3. 构建项目:
    npm run build

发展

以开发模式运行

npm run dev

这将监视源文件中的变化,重建项目,并自动重启服务器。

运行 MCP 服务器

您可以使用提供的运行脚本运行 MCP 服务器:

./run.sh

这将使用超级网关启动 MCP 服务器。

与 Inspector 一起运行

要使用 Inspector 运行 MCP 服务器,您可以使用:

npm run inspector

这将启动 Inspector,它提供了一个用于测试 MCP 服务器的 Web 界面。Inspector 的访问地址为http://localhost:5173

手动运行

您可以使用以下方式手动运行 MCP 服务器:

npx -y supergateway --port 1337 --stdio "./build/index.js"

或者简单地使用提供的运行脚本:

./run.sh

测试

# Run all tests npm test # Run tests in watch mode npm run test:watch # Run tests with coverage npm run test:coverage # Run integration tests npm run test:integration # Test the API directly npm run test:api

配置

要使用此 MCP 服务器,您需要:

  1. Eventbrite 开发者门户获取 Eventbrite API 密钥
  2. 通过以下方式之一设置您的 API 密钥:
    • 在项目根目录中创建一个.env文件(从.env.example复制):
      EVENTBRITE_API_KEY=your_eventbrite_api_key_here
    • 或者将其作为环境变量提供:
      export EVENTBRITE_API_KEY=your_eventbrite_api_key_here
    • 或者在 MCP 设置文件中进行配置(见下文)
  3. 测试您的 API 密钥:
    ./test-api-key.js
  4. 在 MCP 设置文件中配置 MCP 服务器

对于克劳德桌面应用程序

将以下内容添加到您的~/Library/Application Support/Claude/claude_desktop_config.json文件(在 macOS 上):

{ "mcpServers": { "eventbrite": { "command": "npx", "args": ["-y", "@ibraheem4/eventbrite-mcp"], "env": { "EVENTBRITE_API_KEY": "your-eventbrite-api-key" }, "disabled": false, "autoApprove": [] } } }

对于 Claude 开发者环境

将以下内容添加到您的~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json文件(在 macOS 上):

{ "mcpServers": { "eventbrite": { "command": "npx", "args": ["-y", "@ibraheem4/eventbrite-mcp"], "env": { "EVENTBRITE_API_KEY": "your-eventbrite-api-key" }, "disabled": false, "autoApprove": [] } } }

快速入门

如果您已经从源代码安装,则可以使用提供的运行脚本:

./run.sh

这将构建项目并启动 MCP 服务器。

可用工具

搜索事件

根据各种标准搜索 Eventbrite 活动。

参数:

  • query (字符串,可选):搜索事件的查询
  • location (对象,可选):要搜索的位置
    • latitude (数字,必需):纬度坐标
    • longitude (数字,必填):经度坐标
    • within (字符串,可选):距离(例如,“10km”,“10mi”)
  • categories (字符串数组,可选):要过滤的类别 ID
  • start_date (字符串,可选):ISO 格式的开始日期(例如,'2023-01-01T00:00:00Z')
  • end_date (字符串,可选):ISO 格式的结束日期(例如,'2023-12-31T23:59:59Z')
  • price (字符串,可选):按“免费”或“付费”事件进行过滤
  • page (数字,可选):分页的页码
  • page_size (数字,可选):每页结果数(最多 100 条)

获取事件

获取有关特定 Eventbrite 活动的详细信息。

参数:

  • event_id (字符串,必需):Eventbrite 事件 ID

获取类别

获取 Eventbrite 活动类别列表。

无需任何参数。

获取场地

获取有关特定 Eventbrite 场地的信息。

参数:

  • venue_id (字符串,必需):Eventbrite 场地 ID

可用资源

活动详情资源

URI 模板: eventbrite://events/{eventId}

获取有关特定 Eventbrite 活动的详细信息。

示例用法

配置完成后,您可以要求 Claude 使用 Eventbrite MCP 工具:

  • “搜索下周末在纽约举行的音乐活动”
  • “获取 ID 为 123456789 的 Eventbrite 活动的详细信息”
  • “Eventbrite 上有哪些类别的活动?”
  • “告诉我有关 ID 为 987654321 的场地的信息”

执照

麻省理工学院

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

该服务器为 AI 助手提供了与 Eventbrite API 交互的工具,允许用户搜索活动、获取活动详情、检索场地信息以及列出活动类别。

  1. Features
    1. Installation
      1. From NPM
      2. From Source
    2. Development
      1. Running in Development Mode
      2. Running the MCP Server
      3. Running with Inspector
      4. Running Manually
      5. Testing
    3. Configuration
      1. For Claude Desktop App
      2. For Claude Developer Environment
      3. Quick Start
    4. Available Tools
      1. search_events
      2. get_event
      3. get_categories
      4. get_venue
    5. Available Resources
      1. Event Details Resource
    6. Example Usage
      1. License
        ID: ev69dbqhrk