Skip to content

Commit d4e9322

Browse files
Merge pull request #11 from hyperpolymath/fix/glama-inspectable
fix: make MCP bridge inspectable by Glama
2 parents 234a617 + e4424be commit d4e9322

3 files changed

Lines changed: 72 additions & 0 deletions

File tree

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,44 @@ AI agents act as the "Maître D'" — presenting the menu to users as honoured g
4040

4141
See: `.machine_readable/servers/menu.a2ml`
4242

43+
## MCP Installation
44+
45+
The BoJ server exposes its cartridges via MCP (Model Context Protocol) over stdio.
46+
47+
**Prerequisites:** The BoJ REST server must be running on port 7700 (see Quick Start below).
48+
49+
### Claude Code
50+
51+
Add to `~/.config/claude/mcp_servers.json`:
52+
53+
```json
54+
{
55+
"boj-server": {
56+
"command": "node",
57+
"args": ["/path/to/boj-server/mcp-bridge/main.js"],
58+
"env": { "BOJ_URL": "http://localhost:7700" }
59+
}
60+
}
61+
```
62+
63+
### Other MCP Clients
64+
65+
```bash
66+
node mcp-bridge/main.js
67+
# or
68+
deno run --allow-net --allow-env mcp-bridge/main.js
69+
```
70+
71+
### MCP Tools
72+
73+
| Tool | Description |
74+
|------|-------------|
75+
| `boj_health` | Server health check |
76+
| `boj_menu` | List all cartridges (tiers, domains, protocols) |
77+
| `boj_cartridges` | Protocol x domain capability matrix |
78+
| `boj_cartridge_info` | Detailed info for a specific cartridge |
79+
| `boj_cartridge_invoke` | Execute a cartridge operation |
80+
4381
## Quick Start
4482

4583
```bash

mcp-bridge/main.js

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env node
12
// SPDX-License-Identifier: PMPL-1.0-or-later
23
// Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
34
//

mcp-bridge/package.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"name": "@hyperpolymath/boj-server",
3+
"version": "0.2.0",
4+
"description": "Bundle of Joy (BoJ) MCP Server — cartridge-based DevOps toolkit with 18 domain cartridges (database, container, git, k8s, observability, secrets, IaC, and more)",
5+
"license": "MPL-2.0",
6+
"author": "Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>",
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/hyperpolymath/boj-server.git"
10+
},
11+
"keywords": [
12+
"mcp",
13+
"mcp-server",
14+
"devops",
15+
"containers",
16+
"kubernetes",
17+
"database",
18+
"git",
19+
"observability",
20+
"iac",
21+
"secrets"
22+
],
23+
"type": "module",
24+
"bin": {
25+
"boj-server": "./main.js"
26+
},
27+
"files": [
28+
"main.js"
29+
],
30+
"engines": {
31+
"node": ">=18.0.0"
32+
}
33+
}

0 commit comments

Comments
 (0)