Skip to main content
Glama

Ops MCP Server

Real MCP (Model Context Protocol) WebSocket server for Gmail operations management. This connects to Agent Builder and provides tools for fetching ops reports and managing tasks.

Quick Start

1. Setup

# Install dependencies
npm install

# Copy and configure environment
cp .env.example .env
# Edit .env and add your AI_SECRET_TOKEN

2. Run locally

npm start
# Server runs on ws://localhost:3334

3. Deploy to Railway

  1. Push to GitHub:

git init
git add .
git commit -m "Initial MCP server"
git remote add origin https://github.com/johnohhh1/ops-mcp-server.git
git push -u origin main
  1. Connect Railway to your GitHub repo

  2. Add environment variable: AI_SECRET_TOKEN

  3. Deploy! You'll get a URL like wss://ops-mcp-server.up.railway.app

4. Connect to Agent Builder

In OpenAI Agent Builder:

  • Tools → Add → MCP

  • URL: wss://your-railway-app.up.railway.app

  • Tools auto-discover: fetch_ops_report and mark_task_done

Related MCP server: Gmail MCP Server

Architecture

Agent Builder
     ↓ (MCP WebSocket)
This MCP Server
     ↓ (HTTPS + Bearer)
Your Vercel API (my-ops-runner)
     ↓
Gmail (future)

Available Tools

  • fetch_ops_report - Gets HotSchedules 911 items and Brinker deadlines

  • mark_task_done - Marks a task complete by ID

Environment Variables

  • AI_SECRET_TOKEN - Your secret token (must match Vercel)

  • PORT - WebSocket port (default 3334)

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables managing Gmail inbox and Google Calendar through MCP, with tools for email operations and calendar events.
      18 npm
      AGPL 3.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Gmail operations via IMAP/SMTP with app password authentication, including sending, reading, searching, and managing labels.
      313 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Gmail operations such as reading, sending, searching, and managing emails, threads, labels, and drafts via MCP tools.
      1
      MIT