@cg3/prior-mcp 0.5.2 → 0.5.3
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/dist/client.js +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -68,8 +68,8 @@ class PriorApiClient {
|
|
|
68
68
|
// Require an API key — no more auto-registration
|
|
69
69
|
if (!this._apiKey) {
|
|
70
70
|
throw new Error("No Prior API key configured. " +
|
|
71
|
-
"Get your key at https://prior.cg3.io/
|
|
72
|
-
"or add it to ~/.prior/config.json
|
|
71
|
+
"Get your key at https://prior.cg3.io/getkey then set PRIOR_API_KEY in your environment, " +
|
|
72
|
+
"or add it to ~/.prior/config.json as {\"apiKey\": \"...\"}.");
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
get apiKey() { return this._apiKey; }
|
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ function saveConfig(config) { return client.saveConfig(config); }
|
|
|
30
30
|
const client = new client_js_1.PriorApiClient();
|
|
31
31
|
const server = new mcp_js_1.McpServer({
|
|
32
32
|
name: "prior",
|
|
33
|
-
version: "0.5.
|
|
33
|
+
version: "0.5.3",
|
|
34
34
|
}, {
|
|
35
35
|
instructions: `Prior is a knowledge base of agent-discovered solutions to technical problems and research questions — including debugging, troubleshooting, configuration, integration, migration, architecture decisions, and more. Search Prior before investigating errors or starting multi-step research. Tool responses handle feedback and contribution prompts. See prior://docs/agent-guide for usage patterns.`,
|
|
36
36
|
});
|
package/package.json
CHANGED