FTC Platform MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FTC Platform MCP Serverget applications for event 2024"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FTC Platform MCP Server
A standalone Model Context Protocol (MCP) server for the FTC Platform that provides AI tools by proxying requests to the main platform's REST API.
Architecture
This MCP server runs independently from the main Next.js application and communicates with it via HTTP API calls:
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Claude AI │───▶│ MCP Server │───▶│ Vercel API │
│ (MCP Client) │ │ (This App) │ │ (ftc-platform) │
└─────────────────┘ └─────────────────┘ └─────────────────┘Related MCP server: mcp_sdk_eyra_accelerator_v19
Why Separate Deployment?
Vercel Limitations: Vercel Functions don't support WebSocket servers required for MCP
Long-lived Connections: MCP sessions are persistent and bidirectional
Independent Scaling: MCP server can scale separately from the main app
Clean Architecture: Separation of concerns between web app and AI tools
Available Tools
test_connection - Verify MCP server and API connectivity
get_event_applications - Fetch all applications for an event with complete data
get_event_evaluations - Get completed evaluations with scores and statistics
get_evaluation_criteria - Get scoring criteria categorized for AI understanding
get_application_questions - Get application question structure and metadata
Environment Variables
Create a .env file from .env.example:
cp .env.example .envRequired variables:
VERCEL_API_BASE_URL- Base URL of your deployed FTC Platform APIMASTRA_API_KEY- API key for authenticating with the Vercel API
Development
Prerequisites
Node.js 20+
Access to the FTC Platform API endpoints
Local Development
Install dependencies:
npm installSet up environment variables:
cp .env.example .env
# Edit .env with your actual valuesStart development server:
npm run devTest the connection:
# In another terminal, test via stdio
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}' | npm run devDeployment
Fly.io (Recommended)
Install Fly CLI:
curl -L https://fly.io/install.sh | shLogin and create app:
fly auth login
fly apps create ftc-platform-mcpSet environment variables:
fly secrets set VERCEL_API_BASE_URL="https://your-app.vercel.app/api/mastra"
fly secrets set MASTRA_API_KEY="your-secret-key"Deploy:
fly deployDocker (Alternative)
# Build
docker build -t ftc-platform-mcp .
# Run locally
docker run -p 3001:3001 \
-e VERCEL_API_BASE_URL="https://your-app.vercel.app/api/mastra" \
-e MASTRA_API_KEY="your-secret-key" \
ftc-platform-mcpClaude Configuration
After deploying, configure Claude to use your MCP server:
// .mcp.json
{
"mcpServers": {
"ftc-platform": {
"type": "stdio",
"command": "ssh",
"args": [
"your-server.fly.dev",
"node",
"/app/dist/server.js"
],
"env": {
"NODE_ENV": "production"
}
}
}
}API Authentication
The MCP server authenticates with the Vercel API using the same MASTRA_API_KEY that the main platform uses. This provides:
Reuse of existing auth - No changes needed to Vercel API
Server-to-server security - API key is stored securely on the MCP server
Access control - Same permissions as the main platform
Project Structure
src/
├── server.ts # Main MCP server implementation
├── lib/
│ └── api-client.ts # HTTP client for Vercel API calls
└── types/
└── index.ts # TypeScript type definitions
# Deployment configs
├── Dockerfile # Docker container definition
├── fly.toml # Fly.io deployment config
└── README.md # This fileMonitoring
Health Checks
HTTP endpoint:
http://your-app:3001/healthFly.io automatically monitors and restarts unhealthy instances
Logs
# Fly.io logs
fly logs
# Docker logs
docker logs container-idTroubleshooting
Common Issues
Connection Failed
Check
VERCEL_API_BASE_URLis correct and accessibleVerify
MASTRA_API_KEYis valid
Tool Execution Errors
Check Vercel API is responding correctly
Verify eventId parameters are valid UUIDs
MCP Client Issues
Ensure Claude has the correct MCP server configuration
Check stdio communication is working properly
Debug Mode
Set environment variable for verbose logging:
NODE_ENV=development npm run devThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/positonic/ftc-platform-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server