sui-ops-bot-mcp

sui-ops-bot-mcp

MCP server for managing developer escalations: turns Slack messages into tracked issues in Google Sheets, with tools to post messages, check status, get weekly reports, mark solved, and ping.

Category
Visit Server

README

Sui Dev-Leads Ops Bot

Turns a Slack channel plus one Google Sheet (the "Open Questions" tab) into an always-organized developer-escalation tracker for Sui dev-relations leads.

Two entrypoints share the same sheet as the single source of truth, so IDs are consistent across every dev lead:

Entrypoint What it is What it does
Auto-tracker (sui_ops_bot.slackbot) Always-on Slack Socket Mode app Classifies new messages with an LLM, logs escalations to the sheet, tracks resolution with human-in-the-loop confirmation, serves status / open / aging reports.
MCP server (sui_ops_bot.mcpserver) FastMCP tools inside Claude Five natural-language tools for dev-leads: post_message, check_status, weekly_report, mark_solved, ping. Runs over stdio or token-gated HTTP.

Run either, or both. See docs/mcp.md for the MCP tool guide and docs/operations.md for deployment and day-to-day ops.

Classification taxonomy

Every escalation is classified on two independent axes (plus a priority). Both are LLM-classified: the auto-tracker does it automatically; the MCP post_message tool auto-classifies but lets the human override. They are written to two sheet columns (Product, Type) the bot auto-adds; the legacy Escalated To column is left untouched. The lists live in src/sui_ops_bot/config.py.

  • product (15): DeepBook, Walrus, Harbor, Seal, Nautilus, MemWal, Enoki, Slush, zkLogin, SDK, Bridge, Sui Core, Hashi, Program, Other
  • type (5): Question, Open PR, Bug, Feature Request, Communication
  • priority: High, Medium, Low

Quickstart

# 1. Install (editable, with the dev toolchain)
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"

# 2. Configure
cp .env.example .env          # fill in the values
#   plus a Google service-account json at secrets/service_account.json

# 3. Validate config (no side effects beyond token/sheet checks)
python -m sui_ops_bot.slackbot --check
python -m sui_ops_bot.mcpserver --check

# 4. Run
python -m sui_ops_bot.slackbot          # auto-tracker (long-running)
python -m sui_ops_bot.mcpserver         # MCP over stdio (launched by the client)

--diag runs live read-only diagnostics for the auto-tracker (Slack identity, channel membership, one classify call, sheet access).

How it works

  • Auto-log. A cheap local pre-filter drops chatter; substantive top-level messages go to Claude, which decides if a message is a new developer escalation and extracts the structured fields (summary, platform, product, type, priority). If yes, a row is appended and the bot posts an in-thread note with a deep link. React :x: to discard a false positive.
  • Resolve, human-in-the-loop. A thread reply on a tracked message, or a :white_check_mark: on it, triggers Claude to judge resolution. If it looks resolved, the bot proposes closure and asks the owner to confirm with a :white_check_mark:; the confirming reaction closes the row. Nothing is ever auto-closed.
  • Report. weekly_report (MCP) groups the open backlog by product and accepts product= / type= filters. The auto-tracker answers !status, !open, !aging in-channel.

The sheet holds the state: two classification columns (Product, Type) plus three infra columns (Slack Channel, Slack TS, Bot Refs) let the in-memory index be rebuilt on every boot, so redeploys on ephemeral hosts never lose tracking.

Layout

src/sui_ops_bot/   config, ids, logutil, classify, sheet, reports,
                   slack_client, slackbot (auto-tracker), mcpserver (MCP)
tests/             pytest on the pure logic (no network)
deploy/            Dockerfiles + docker-compose
docs/              MCP tool guide + operations
.claude/           SOP + git-standards + project context (CLAUDE.md at root)

Development

pytest            # unit tests on the pure logic (ids, taxonomy, reports)
ruff check .      # lint

The workflow (branch, TDD, review, ship) is documented in .claude/rules/SOP.md. Task tracking is GitHub Issues only.

Security

.env and everything under secrets/ are gitignored and must never be committed. All Slack, Anthropic, and MCP tokens plus the Google service-account json live only in the environment or a mounted file. The remote MCP HTTP endpoint refuses to start without MCP_HTTP_TOKEN and gates every request behind it.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured