@clavero/mcp-server 2.0.0 → 2.1.0
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/package.json +1 -1
- package/src/index.js +12 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -206,6 +206,18 @@ server.tool(
|
|
|
206
206
|
}
|
|
207
207
|
);
|
|
208
208
|
|
|
209
|
+
server.tool(
|
|
210
|
+
"clavero_get_recommendations",
|
|
211
|
+
"Get the PM's weekly focus recommendations — the 2-3 highest-leverage things they should pay attention to this week. Based on untested high-exposure beliefs, stalled investment areas, frequently-violated principles, and overdue reflections. Useful for agents to understand what the PM is prioritising right now.",
|
|
212
|
+
{},
|
|
213
|
+
async () => {
|
|
214
|
+
try {
|
|
215
|
+
const data = await api("/api/v1/recommendations");
|
|
216
|
+
return ok(data.recommendations || "No recommendations available.");
|
|
217
|
+
} catch (e) { return err(e.message); }
|
|
218
|
+
}
|
|
219
|
+
);
|
|
220
|
+
|
|
209
221
|
server.tool("clavero_capture_context", "Save a piece of strategic context to Clavero.", {
|
|
210
222
|
title: z.string().describe("Short descriptive title"),
|
|
211
223
|
content: z.string().describe("The insight or signal to capture"),
|