subspace-api
Provides an OAuth token exchange endpoint for Discord activities, enabling secure authentication for activity integration.
Acts as the OAuth 2.0 identity provider for token introspection and client authentication, securing the MCP server endpoints.
Integrates with AeroDataBox via RapidAPI to provide live flight status data for the flight tracker tool.
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., "@subspace-apiwhat's the weather in New York City?"
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.
subspace-api
subspace-api is an Express-based RESTful API and stateless Model Context Protocol (MCP) server.
If you are utilizing this API as provided and hosted by us, please be sure to abide by the TOS. Otherwise, you are free to clone and self-host provided you abide by the GNU GPLv3 license, and the TOS will not pertain to you.
Features
MCP Server — Stateless Model Context Protocol server over HTTP, secured with OAuth 2.0 bearer tokens
Weather tools — NWS alerts and forecasts via MCP
Stock quotes — Real-time stock data via MCP (powered by yahoo-finance2)
DC Metro (WMATA) — Rail incident reports and live arrival predictions; also exposed as MCP tools
Flight Tracker — Live flight status via AeroDataBox (RapidAPI); TRMNL plugin for e-ink display
Discord Activity — OAuth token exchange endpoint for Discord activities
Getting Started
With Docker (preferably compose)
Building your own image
docker compose build && docker compose up -dPulling from stable releases
docker compose pull && docker compose up -dManual build
npm run build && npm run startEnvironment Variables
Core (required)
Env var | Purpose |
| OAuth client ID for token introspection against your IdP |
| OAuth client secret for token introspection |
| Base URL of the Keycloak (or compatible) authentication server |
| Keycloak realm name used for both incoming clients and the MCP OAuth client |
| The resource server URL — incoming tokens must include this in their audience claim |
Core (optional)
Env var | Default | Purpose |
|
| Port the server listens on |
|
| Logging verbosity ( |
|
| API version prefix (not fully implemented) |
| — | Container timezone for log timestamps (e.g. |
TRMNL plugin settings
These are required if you are running TRMNL plugins (metro or flight tracker).
Env var | Required | Purpose |
| Yes | OAuth 2.0 client ID provided by TRMNL for your plugin |
| Yes | OAuth 2.0 client secret paired with |
| For metro plugin | WMATA API key for DC Metro arrival predictions and incidents |
| For flight plugin | OAuth 2.0 client ID for the TRMNL flight tracker plugin |
| For flight plugin | OAuth 2.0 client secret paired with |
| For flight plugin | RapidAPI key for AeroDataBox (live flight status data) |
| No | Path to SQLite database file (default: |
| No | Set to |
Discord activity settings (DEPRECATED ENDPOINT)
Env var | Purpose |
| Discord OAuth client ID for the activity token exchange endpoint |
| Discord OAuth client secret |
AI Disclosure
Parts of this project were assisted with Claude Code by having it provide examples for implementation. Some parts of the codebase were refactored by Claude Code suggestion to improve efficiency. Unless noted, the code base was largely written by hand. Some parts of implementing the OAuth 2.0 spec were assisted by LLM. Some parts for the TRMNL Flight Tracker logic regarding calculations were assisted by LLM, as with information display, but not generated out of thin air.
It is subspace's responsibility to examine the output of these LLMs for accuracy, implementation detail, and direction.
Disclaimer & Fair Use
This flight tracker contains logos and banners of various airlines and aviation operators.
Fair Use Notice: These images are the property of their respective owners (airlines and operators). They are provided here for educational and identification purposes only (e.g., to identify airlines in flight tracking applications).
This use is considered Fair Use under copyright law as it is non-commercial, transformative (aggregating for identification), and does not impede the owners' ability to profit from their branding.
The repository does not claim ownership of any trademarks or copyrighted material.
This 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
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/subtype-space/subspace-api'
If you have feedback or need assistance with the MCP directory API, please join our Discord server