vex-mcp-server

vex-mcp-server

Enables to access VEX Robotics Competition data including teams, events, rankings, skills scores, and forum via RobotEvents API.

Category
访问服务器

README

VEX MCP Server

NPM Version NPM Downloads License: MIT Node.js Version VEX Robotics

A Model Context Protocol (MCP) server for VEX Robotics Competition data using the RobotEvents API. This server enables Claude Desktop (and other MCP clients) to access comprehensive VEX competition data including teams, events, rankings, and skills scores.

Features

  • search-teams: Search for VEX teams by number, name, organization, or location
  • get-team-info: Get detailed information about a specific team
  • get-team-awards: Get all awards won by a specific team throughout their competitive history
  • search-events: Search for VEX events by name, date, season, or program level
  • get-event-details: Get detailed information about a specific event
  • get-event-awards: Get award information for VEX events including winners and details
  • get-team-rankings: Get team rankings and performance at events
  • get-skills-scores: Get robot skills scores for teams
  • search-forum: Search the VEX Forum for topics and posts
  • get-forum-topic: Get detailed information about a forum topic with posts
  • get-forum-post: Retrieve a single forum post by ID
  • get-forum-user: Get user profile information from the forum
  • list-forum-categories: List all available forum categories
  • get-latest-forum-topics: Get the latest topics from the forum
  • analyze-match-opponents: Analyze teammates and opponents for all matches at an event, showing their recent award history

🚀 Quick Start (1-Minute Setup!)

Prerequisites

  • Node.js 18.0.0 or higher
  • A RobotEvents API token (free registration required)

⚡ Method 1: NPM Installation (Recommended)

One-line installation:

npm install -g vex-mcp-server

Get your RobotEvents API token:

  1. Visit https://www.robotevents.com/api/v2
  2. Click "Request API Access" and fill out the form
  3. Once approved, copy your JWT token

That's it! 🎉 You can now use vex-mcp-server directly in Claude Desktop.

🛠️ Method 2: Development Installation

For developers who want to modify the code:

  1. Clone the repository:

    git clone https://github.com/yangjack8192/vex-mcp-server.git
    cd vex-mcp-server
    
  2. Install and build:

    npm install
    npm run build
    

Usage with Claude Desktop

🎯 Super Simple Configuration (NPM Installation)

Location of config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json

Configuration (NPM version):

{
  "mcpServers": {
    "vex-robotics": {
      "command": "vex-mcp-server",
      "env": {
        "ROBOTEVENTS_TOKEN": "your-actual-jwt-token-here"
      }
    }
  }
}

🛠️ Development Configuration

Configuration (Development version):

{
  "mcpServers": {
    "vex-robotics": {
      "command": "node",
      "args": ["/absolute/path/to/vex-mcp-server/build/index.js"],
      "env": {
        "ROBOTEVENTS_TOKEN": "your-actual-jwt-token-here"
      }
    }
  }
}

📝 Setup Notes:

  • Replace your-actual-jwt-token-here with your real RobotEvents API token
  • Restart Claude Desktop after making configuration changes
  • NPM installation = No paths needed! 🎉

Using the Server

Once configured, you can ask Claude questions like:

  • "Find VEX teams in California"
  • "Search for robotics events in Texas this season"
  • "Get rankings for team 12345 at their last event"
  • "Show me the skills scores for teams at the World Championship"
  • "Analyze all my matches at event 12345 to see who my opponents are"
  • "Help me scout my upcoming matches - show me opponent awards for team 10085A at event RE-VRC-24-1234"

Supported Programs

  • VRC: VEX Robotics Competition (High School)
  • VIQC: VEX IQ Challenge (Elementary/Middle School)
  • VEXU: VEX U (College)

⚠️ Breaking Changes in v2.0.0

Important: If you're upgrading from v1.x, please note these breaking changes:

  • Removed region parameter from search-events tool (due to format inconsistencies)
  • Removed program parameter from search-events tool (not supported by API)

Migration: Update your queries to use alternative parameters like name, level, or season for event filtering.

API Tools Reference

Tool Description Parameters
search-teams Find teams by number, name, or organization number, name, organization, program, grade, country
get-team-info Get detailed team information team_id or team_number (required)
get-team-awards Get all awards won by a team team_id or team_number (required), season, event
search-events Find events by name, date, or level name, start, end, season, level, eventTypes
get-event-details Get detailed event information event_id (required)
get-event-awards Get award information for events event_id (required), team, winner
get-team-rankings Get team rankings at events team_id, event_id, season
get-skills-scores Get robot skills scores team_id, event_id, season
search-forum Search VEX Forum for topics and posts query, category, user, order, before, after, max_results
get-forum-topic Get a forum topic with posts topic_id, max_posts, include_raw
get-forum-post Get a single forum post post_id
get-forum-user Get forum user profile username
list-forum-categories List all forum categories None
get-latest-forum-topics Get latest forum topics category_slug, category_id, page, max_results
analyze-match-opponents Analyze match opponents and teammates with their award history team_id or team_number, event_id or event_sku

Match Analysis Tool Details

The analyze-match-opponents tool helps you scout and prepare for competition matches by showing you the award history of your teammates and opponents.

Use Case

Perfect for pre-competition preparation:

  1. Look up all your scheduled matches at an upcoming event
  2. See which teams you'll be paired with and against
  3. Review each team's recent award history
  4. Plan strategy based on opponent competitive background

Parameters

  • team_id or team_number: Your team (either ID like 123456 or number like "10085A")
  • event_id or event_sku: The event to analyze (either ID like 54321 or SKU like "RE-VRC-24-1234")

What You Get

For each match, the tool shows:

  • Match information: Name and scheduled time
  • Your Alliance: Your teammate teams and their recent awards
  • Opponent Alliance: Opposing teams and their recent awards

Awards are displayed with event context (e.g., "Excellence Award (World Championship, VRC 2024-2025)") to give you a complete picture of each team's competitive history.

Example Usage

User: "Analyze my matches for team 10085A at event 54321"

Returns:
- List of all matches
- For each match:
  - Teammate teams with their recent awards
  - Opponent teams with their recent awards
  - Award details including event name and season

Example Output

## Match Q1
Time: 2024-03-15 10:30:00

### Your Alliance (10085A)
**Teammates**:
- 12345B Team Rocket
  - Recent awards: Excellence Award (State Championship, VRC 2024-2025); Tournament Champions (Regional Qualifier, VRC 2024-2025)

### Opponent Alliance
- 99999C Blue Devils
  - Recent awards: Design Award (Signature Event, VRC 2024-2025); Robot Skills Champion (State Championship, VRC 2023-2024)
- 88888D Green Machine
  - No recent awards found

Troubleshooting

Common Issues

"Error: Cannot find module" or "Command failed"

  • Ensure you've run npm run build after installation
  • Check that the path in Claude Desktop config points to the correct build/index.js file

"Authentication failed" or "Invalid token"

  • Verify your RobotEvents API token is correct and active
  • Make sure the token is properly set in environment variables or .env file
  • Check that your API access has been approved by RobotEvents

"No events found" or "Search failed"

  • The server uses a hybrid search approach (web search + API)
  • Some searches may take a few seconds to complete
  • Try different search terms or be more specific

Claude Desktop not recognizing the server

  • Restart Claude Desktop after configuration changes
  • Check the JSON syntax in your configuration file
  • Ensure the file path uses forward slashes, even on Windows

Debug Mode

To see detailed debug logs:

node build/index.js 2>&1 | grep DEBUG

Support

  • NPM Package: https://www.npmjs.com/package/vex-mcp-server
  • Issues: Report bugs at GitHub Issues
  • VEX Community: Discuss at VEX Forum
  • RobotEvents API: Documentation at https://www.robotevents.com/api/v2

Updates

NPM users (recommended):

npm update -g vex-mcp-server

Development users:

git pull origin main
npm run build

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Test your changes thoroughly
  4. Submit a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选