vantage-peers-mcp 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +110 -0
- package/dist/api.d.ts +1366 -0
- package/dist/api.js +3 -0
- package/dist/server.js +20 -7
- package/package.json +22 -2
package/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# vantage-peers-mcp
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/vantage-peers-mcp)
|
|
4
|
+
[](https://www.npmjs.com/package/vantage-peers-mcp)
|
|
5
|
+
[](https://github.com/vantageos-agency/vantage-peers/blob/main/LICENSE)
|
|
6
|
+
[]()
|
|
7
|
+
|
|
3
8
|
MCP server for [VantagePeers](https://vantagepeers.com) — shared memory, messaging, and task coordination for AI agent teams.
|
|
4
9
|
|
|
5
10
|
82 tools across 18 categories: memory, profiles, tasks, missions, mission templates, messages, diary, briefing notes, search (RAG), issues, fix patterns, error monitoring, deployments, business units, components, mandates, recurring tasks, and session.
|
|
@@ -109,11 +114,116 @@ The server also reads `CONVEX_URL` from `.env.local` in the parent directory if
|
|
|
109
114
|
### Session (1)
|
|
110
115
|
`set_summary`
|
|
111
116
|
|
|
117
|
+
## Programmatic API (TypeScript)
|
|
118
|
+
|
|
119
|
+
For external services that need type-safe access to VantagePeers functions:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
npm install vantage-peers-mcp convex
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
```typescript
|
|
126
|
+
import { fetchQuery, fetchMutation } from "convex/nextjs";
|
|
127
|
+
import { api } from "vantage-peers-mcp/api";
|
|
128
|
+
|
|
129
|
+
// Query memories with full type safety
|
|
130
|
+
const memories = await fetchQuery(
|
|
131
|
+
api.memories.listMemories,
|
|
132
|
+
{ namespace: "global", limit: 10 },
|
|
133
|
+
{ url: process.env.CONVEX_URL }
|
|
134
|
+
);
|
|
135
|
+
|
|
136
|
+
// Send a message
|
|
137
|
+
await fetchMutation(
|
|
138
|
+
api.messages.sendMessage,
|
|
139
|
+
{ from: "pi", channel: "broadcast", content: "Hello from Studio" },
|
|
140
|
+
{ url: process.env.CONVEX_URL }
|
|
141
|
+
);
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
Requires `convex` as a peer dependency. Only public functions are exported.
|
|
145
|
+
|
|
146
|
+
### Authentication with Deploy Keys
|
|
147
|
+
|
|
148
|
+
For server-to-server access, use a Convex deploy key:
|
|
149
|
+
|
|
150
|
+
1. Go to your [Convex dashboard](https://dashboard.convex.dev) > Settings > Deploy Keys
|
|
151
|
+
2. Generate a new deploy key for your deployment
|
|
152
|
+
3. Set it as an environment variable:
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
CONVEX_DEPLOY_KEY=prod:your-deploy-key-here
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
4. Use it with the Convex client:
|
|
159
|
+
|
|
160
|
+
```typescript
|
|
161
|
+
import { ConvexHttpClient } from "convex/browser";
|
|
162
|
+
import { api } from "vantage-peers-mcp/api";
|
|
163
|
+
|
|
164
|
+
const client = new ConvexHttpClient(process.env.CONVEX_URL!);
|
|
165
|
+
|
|
166
|
+
// Query with type safety
|
|
167
|
+
const memories = await client.query(api.memories.listMemories, {
|
|
168
|
+
namespace: "global",
|
|
169
|
+
limit: 10,
|
|
170
|
+
});
|
|
171
|
+
|
|
172
|
+
// Mutate with type safety
|
|
173
|
+
await client.mutation(api.messages.sendMessage, {
|
|
174
|
+
from: "studio",
|
|
175
|
+
channel: "sigma",
|
|
176
|
+
content: "Task completed",
|
|
177
|
+
});
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
**Security:** Never commit deploy keys to git. Use environment variables or a secrets manager.
|
|
181
|
+
|
|
182
|
+
## Orchestrator Roles
|
|
183
|
+
|
|
184
|
+
All orchestrator names are open strings — any lowercase name is accepted. The following are conventions used by the VantageOS team:
|
|
185
|
+
|
|
186
|
+
| Role | Purpose |
|
|
187
|
+
|------|---------|
|
|
188
|
+
| `pi` | Lead orchestrator — planning, delegation, strategy |
|
|
189
|
+
| `tau` | Frontend specialist — UI, design systems, components |
|
|
190
|
+
| `phi` | Backend specialist — APIs, database, infrastructure |
|
|
191
|
+
| `sigma` | Infrastructure — deployments, CI/CD, monitoring |
|
|
192
|
+
| `omega` | VantageRegistry — agent and skill catalog |
|
|
193
|
+
| `zeta` | Project-specific specialist |
|
|
194
|
+
| `eta` | Code reviewer — GitHub PR reviews |
|
|
195
|
+
| `alpha` | Perello Consulting — client delivery |
|
|
196
|
+
| `lambda` | Tech intelligence — research and monitoring |
|
|
197
|
+
| `victor` | HR / people operations |
|
|
198
|
+
| `system` | Reserved for automated/webhook operations (bypasses RBAC). Not a real agent. |
|
|
199
|
+
|
|
200
|
+
> **Custom roles:** any lowercase string is a valid orchestrator name. Enterprise clients can use arbitrary role names for their own agent teams.
|
|
201
|
+
|
|
112
202
|
## Requirements
|
|
113
203
|
|
|
114
204
|
- Node.js >= 18
|
|
115
205
|
- A VantagePeers Convex deployment ([get started](https://vantagepeers.com/docs))
|
|
116
206
|
|
|
207
|
+
## Changelog
|
|
208
|
+
|
|
209
|
+
### 2.0.2 — 2026-04-14
|
|
210
|
+
- Added badges (npm version, downloads, license, tool count) to the published README
|
|
211
|
+
- Added Orchestrator Roles reference table including alpha, lambda, victor (Day 39 additions)
|
|
212
|
+
- Added note that any custom lowercase role name is accepted
|
|
213
|
+
- Added `bugs` URL and additional keywords to `package.json`
|
|
214
|
+
|
|
215
|
+
### 2.0.1 — 2026-04-14
|
|
216
|
+
- Docstring fix in server.ts (minor)
|
|
217
|
+
|
|
218
|
+
### 2.0.0
|
|
219
|
+
- Type-safe `api.ts` export for cross-deployment calls (`vantage-peers-mcp/api`)
|
|
220
|
+
- Deploy key authentication guide
|
|
221
|
+
- Mission Templates category (1 tool: `update_mission_template`)
|
|
222
|
+
- Programmatic API section in README
|
|
223
|
+
|
|
224
|
+
### 1.x
|
|
225
|
+
- Initial public release with 82 MCP tools
|
|
226
|
+
|
|
117
227
|
## License
|
|
118
228
|
|
|
119
229
|
FSL-1.1-Apache-2.0
|