Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions agent-gateway/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
title: Getting started
description: First boot of @leverframe/mcp-bridge — zero-config health-only mode, then point servers.json at a real stdio MCP server
sidebar_position: 1
---

<!-- sources: mcp-bridge/README.md, mcp-bridge/src/config.js (stub — full docs body is a follow-up) -->

# Getting started

## Zero-config boot

```bash
npx @leverframe/mcp-bridge
```

No `servers.json` in your working directory? The bridge starts anyway in
health-only mode (it logs `(servers: none)` and serves `/health`).

Proof it is alive:

```bash
curl http://localhost:5555/health
# {"status":"ok","servers":[]}
```

## Add a server

Create a `servers.json` in your working directory and point it at any stdio
MCP server (see `servers.example.json` in the repo). A `SERVERS_JSON` env var
containing the same JSON takes precedence over the file.

## Configuration

| Env | Meaning | Default |
| -------------- | ---------------------------------------------------- | --------- |
| `BRIDGE_PORT` | listen port | `5555` |
| `BRIDGE_HOST` | bind host | `0.0.0.0` |
| `SERVERS_JSON` | inline server config JSON (wins over `servers.json`) | — |

⚠️ The default bind is `0.0.0.0` on an unauthenticated API — keep the port
private (loopback, tailnet, or firewall) unless you know what you are doing.
30 changes: 30 additions & 0 deletions agent-gateway/intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
slug: /
title: agent-gateway
description: MCP over plain REST — stdio bridge, fleet gateway, and heartbeat monitor in one Node service
sidebar_position: 5
---

<!-- sources: README.md, mcp-bridge/README.md, package.json (stub — full docs body is a follow-up) -->

# agent-gateway

agent-gateway is a Node service that makes stdio MCP servers callable over plain
HTTP/REST, with a fleet gateway (Discord + platform plugins), a message journal,
and a heartbeat monitor built in.

The runnable npm package is
[@leverframe/mcp-bridge](https://www.npmjs.com/package/@leverframe/mcp-bridge)
(v1.0.2):

```bash
npx @leverframe/mcp-bridge
```

Start here:

- [Getting started](./getting-started) — first boot, health check, first server
- [npm package ↗](https://www.npmjs.com/package/@leverframe/mcp-bridge)
- [GitHub repo ↗](https://github.com/leverframe/agent-gateway)

License: BUSL-1.1 (see the repo `LICENSE`).
1 change: 1 addition & 0 deletions docusaurus.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { themes as prismThemes } from 'prism-react-renderer';

const productInstances = [
{ id: 'fleet-bridge', path: 'fleet-bridge', routeBasePath: 'fleet-bridge' },
{ id: 'agent-gateway', path: 'agent-gateway', routeBasePath: 'agent-gateway' },
{ id: 'wranglebot', path: 'wranglebot', routeBasePath: 'wranglebot' },
{ id: 'tractum', path: 'tractum', routeBasePath: 'tractum' },
{ id: 'cabinet-lite', path: 'cabinet-lite', routeBasePath: 'cabinet-lite' },
Expand Down
21 changes: 18 additions & 3 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ const products = [
license: 'MIT',
meta: ['6 tools', '2 runtimes', '60s default invoke'],
},
{
name: 'agent-gateway',
tag: 'MCP · GATEWAY',
desc: 'Consume stdio MCP servers over plain REST — fleet gateway + heartbeat included. npx @leverframe/mcp-bridge and it is serving.',
to: '/agent-gateway',
license: 'BUSL-1.1', // current npm fact — flip to MIT if the F5 license ruling fires
meta: ['npx zero-config', 'stdio → REST', 'heartbeat monitor'],
},
{
name: 'wranglebot',
tag: 'GUARD · CLI',
Expand Down Expand Up @@ -43,16 +51,17 @@ const tickerItems = [
'DOCS BUILT FROM SOURCE',
'EVERY PAGE CITES ITS FILES',
'fleet-bridge v0.1.1 — MIT',
'wranglebot v0.1.1 — BUSL-1.1',
'tractum v0.5.0 — BUSL-1.1',
'wranglebot v0.1.3 — MIT',
'tractum v0.6.1 — BUSL-1.1',
'NPX @LEVERFRAME/MCP-BRIDGE — MCP OVER PLAIN REST',
'cabinet-lite — the signal box, read-only v1',
'PULL = INVOKE AN AGENT',
'INTERLOCK CLEAR',
];

const stats = [
{ label: 'PAGES', value: '41' },
{ label: 'PRODUCTS', value: '4' },
{ label: 'PRODUCTS', value: '5' },
{ label: 'MCP TOOLS', value: '6' },
{ label: 'GUARDRAILS', value: '5' },
{ label: 'RECEIPTS', value: 'K-OF-N' },
Expand Down Expand Up @@ -210,6 +219,12 @@ export default function Home() {
<Link to="/fleet-bridge/clients/claude-code">MCP client wiring</Link>
<Link to="/fleet-bridge/troubleshooting">Troubleshooting</Link>
</div>
<div className={styles.indexCol}>
<h3 className={styles.indexHead}>agent-gateway</h3>
<Link to="/agent-gateway/getting-started">Getting started</Link>
<a href="https://registry.npmjs.org/@leverframe/mcp-bridge">npm package ↗</a>
<a href="https://github.com/leverframe/agent-gateway">GitHub repo ↗</a>
</div>
<div className={styles.indexCol}>
<h3 className={styles.indexHead}>wranglebot</h3>
<Link to="/wranglebot/getting-started">Getting started</Link>
Expand Down
Loading