Overview
LTG API Portal is a self-hosted, white-label API management platform built by Lockstep Technology Group. It handles the full lifecycle of API products — from publishing OpenAPI specs and issuing API keys through to AI-powered integrations, webhook delivery, and scheduled automation.
Core concepts
Specs → Products → Packages → Subscriptions
The data model flows from broad to narrow:
| Level | What it is |
|---|---|
| Spec | An OpenAPI JSON/YAML file describing every available endpoint |
| Product | A named offering linked to a spec (e.g. “ConnectWise PSA API”) |
| Package | A named bundle of specific endpoints from a product (e.g. “Read-Only Tickets”) |
| Subscription | An entity (person, app, or service) subscribed to a product with an auto-generated API key |
When a subscription has packages assigned, the gateway enforces access at the endpoint level. Without packages, the subscription gets unrestricted access to the entire product.
Gateway enforcement
Every inbound API call should be validated through POST /api/gateway/validate. This endpoint checks:
- Key valid — the API key exists and is active
- Scope —
read-scoped keys can’t callPOST/PUT/DELETE - Rate limit — sliding 60-second window per API key (configurable per plan)
- Daily quota — calls-per-day limit based on plan tier
- Package permissions — if packages are assigned, the requested
METHOD:pathmust be in the union of allowed endpoints
Plans
Three built-in plan tiers:
| Plan | Calls/day | Req/min | Default scope |
|---|---|---|---|
free |
100 | 10 | read |
professional |
10,000 | 100 | write |
enterprise |
1,000,000 | 1,000 | admin |
AI Agents
Agents are Claude-powered (Anthropic API) with optional tool access via MCP servers. An agent run:
- Sends a user message to Claude
- Claude calls tools from linked MCP servers (auto-discovered)
- Tool results feed back into Claude
- Loop repeats until Claude stops calling tools or hits 10 iterations
MCP Protocol
The platform ships with a built-in MCP server (/apps/mcp-server) that exposes 16 tools covering products, subscriptions, storage, webhooks, and ConnectWise integrations. Any external MCP server can be registered and its tools made available to agents.
Services at a glance
| Service | Port | Purpose |
|---|---|---|
| Portal + API | 3000 |
Astro frontend + Hono API (combined) |
| MCP Server | 4000 |
Model Context Protocol tool server |
| Docs | 4001 |
This documentation site |
| S3 Adapter | 8080 |
MinIO management API (FastAPI) |
| MinIO | 9000/9001 |
S3-compatible object storage |
| Convoy | 5005 |
Webhook delivery engine |