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: personal-gmail-mcp

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)

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables AI agents to interact with Gmail for classifying messages, extracting action items, and performing batch inbox triage. It supports automated labeling, smart replies, and task creation for external platforms like Linear, Jira, and Todoist.
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables managing Gmail inbox and Google Calendar through MCP, with tools for email operations and calendar events.
    6 npm
    AGPL 3.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables Gmail operations via IMAP/SMTP with app password authentication, including sending, reading, searching, and managing labels.
    89 npm
    MIT