Platform control plane — REST API, MCP server, OAuth 2.1
  • TypeScript 99.8%
  • Dockerfile 0.1%
  • Shell 0.1%
Find a file
Vinnie Esposito 25cc287f59
Some checks failed
build-and-deploy / build (push) Failing after 38m26s
feat: add game server MCP tools for live status and leaderboards
Registers list_game_servers, get_game_server_status, get_game_leaderboard
tools that query the game-dashboard service for real-time game data.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-23 13:15:30 -05:00
.forgejo/workflows deploy: stamp deployment with public registry hostname 2026-04-20 18:28:40 -05:00
k8s fix: replace espodev.com with espoautos.com across all configs 2026-04-22 09:50:40 -05:00
scripts bootstrap: initial push of op-api 2026-04-20 18:13:27 -05:00
src feat: add game server MCP tools for live status and leaderboards 2026-04-23 13:15:30 -05:00
.gitignore bootstrap: initial push of op-api 2026-04-20 18:13:27 -05:00
.trigger bootstrap: initial push of op-api 2026-04-20 18:13:27 -05:00
bun.lock runtime(elysia): pass explicit node adapter for non-Bun runtime 2026-04-20 18:46:40 -05:00
Dockerfile runtime(dockerfile): switch app runtime from Bun to node:20-bookworm 2026-04-20 18:41:34 -05:00
package.json runtime(elysia): pass explicit node adapter for non-Bun runtime 2026-04-20 18:46:40 -05:00
README.md fix: replace espodev.com with espoautos.com across all configs 2026-04-22 09:50:40 -05:00
tsconfig.json bootstrap: initial push of op-api 2026-04-20 18:13:27 -05:00

op-api

Platform control-plane. Serves:

  • REST API under /api/v1/* (Elysia + OpenAPI at /swagger)
  • OAuth 2.1 authorization server for MCP clients at /oauth/* and /.well-known/oauth-authorization-server
  • MCP over streamable HTTP at POST /mcp

MCP admin tools (create_app, delete_app, create_preview, delete_preview) provision apps end-to-end: Forgejo repo from system/template, per-app DB/S3/OAuth, Flux registry entry, initial CI trigger.

Deployed via Forgejo Actions → in-cluster registry → Flux.

bun install
FORGEJO_URL=http://localhost:3000 \
FORGEJO_ADMIN_TOKEN=xxx \
PLATFORM_DOMAIN=espoautos.com \
SERVICE_PREFIX=op- \
bun src/index.ts

REST and MCP auth: Authorization: Bearer <forgejo-token>. Admin tools require the bearer to belong to a Forgejo site-admin OR a member of the system org.