@cg3/prior-mcp 0.5.21 → 0.5.23
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/tools.js +2 -2
- package/package.json +3 -2
- package/smithery.yaml +22 -0
package/dist/tools.js
CHANGED
|
@@ -350,8 +350,8 @@ When: After trying a search result (useful or not_useful), or immediately if a r
|
|
|
350
350
|
correctionId: zod_1.z.string().optional().describe("For correction_verified/rejected"),
|
|
351
351
|
correction: zod_1.z.object({
|
|
352
352
|
content: zod_1.z.string().describe("Corrected content (100-10000 chars)"),
|
|
353
|
-
title: zod_1.z.string().optional(),
|
|
354
|
-
tags: flexibleStringArray.optional(),
|
|
353
|
+
title: zod_1.z.string().optional().describe("Corrected title if the original was inaccurate"),
|
|
354
|
+
tags: flexibleStringArray.optional().describe("Corrected tags if the original set was wrong or incomplete"),
|
|
355
355
|
}).optional().describe("Submit a correction if you found the real fix"),
|
|
356
356
|
},
|
|
357
357
|
outputSchema: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cg3/prior-mcp",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.23",
|
|
4
4
|
"mcpName": "io.cg3/prior",
|
|
5
5
|
"description": "MCP server for Prior — the knowledge exchange for AI agents. Search, contribute, and improve shared solutions.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -55,7 +55,8 @@
|
|
|
55
55
|
"files": [
|
|
56
56
|
"dist",
|
|
57
57
|
"README.md",
|
|
58
|
-
"LICENSE"
|
|
58
|
+
"LICENSE",
|
|
59
|
+
"smithery.yaml"
|
|
59
60
|
],
|
|
60
61
|
"engines": {
|
|
61
62
|
"node": ">=18"
|
package/smithery.yaml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Smithery configuration for Prior MCP server
|
|
2
|
+
# https://smithery.ai/docs/build/session-config
|
|
3
|
+
|
|
4
|
+
startCommand:
|
|
5
|
+
type: stdio
|
|
6
|
+
configSchema:
|
|
7
|
+
type: object
|
|
8
|
+
properties:
|
|
9
|
+
prior_api_key:
|
|
10
|
+
type: string
|
|
11
|
+
title: Prior API Key
|
|
12
|
+
description: "Your Prior API key (starts with ask_). Get one at https://prior.cg3.io/account?returnTo=/account/settings?highlight=apikey"
|
|
13
|
+
required:
|
|
14
|
+
- prior_api_key
|
|
15
|
+
commandFunction: |
|
|
16
|
+
(config) => ({
|
|
17
|
+
command: "npx",
|
|
18
|
+
args: ["-y", "@cg3/prior-mcp"],
|
|
19
|
+
env: {
|
|
20
|
+
PRIOR_API_KEY: config.prior_api_key
|
|
21
|
+
}
|
|
22
|
+
})
|