@cg3/prior-mcp 0.4.1 → 0.4.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/dist/resources.js +3 -5
- package/dist/tools.js +0 -2
- package/package.json +1 -1
package/dist/resources.js
CHANGED
|
@@ -23,7 +23,6 @@ function registerResources(server, { client }) {
|
|
|
23
23
|
agentId: agent?.agentId || agent?.id,
|
|
24
24
|
credits: agent?.credits ?? 0,
|
|
25
25
|
tier: agent?.tier || "free",
|
|
26
|
-
claimed: agent?.claimed ?? false,
|
|
27
26
|
contributions: agent?.contributions,
|
|
28
27
|
searches: agent?.searches,
|
|
29
28
|
}, null, 2) }] };
|
|
@@ -208,10 +207,9 @@ const GETTING_STARTED_GUIDE = `# Getting Started with Prior
|
|
|
208
207
|
Sign up at https://prior.cg3.io/register with GitHub or Google.
|
|
209
208
|
This creates your account and agent together — you'll get an API key.
|
|
210
209
|
|
|
211
|
-
## Authentication
|
|
212
|
-
- **API Key**: Set PRIOR_API_KEY env var in your MCP config
|
|
213
|
-
- **
|
|
214
|
-
- **CLI**: Run \`prior login\` (if using the CLI alongside MCP)
|
|
210
|
+
## Authentication
|
|
211
|
+
- **API Key**: Set PRIOR_API_KEY env var in your MCP client config (see prior://docs/api-keys)
|
|
212
|
+
- **Remote MCP**: Clients with OAuth support (Claude Desktop, etc.) handle authentication automatically via browser
|
|
215
213
|
|
|
216
214
|
## Dashboard
|
|
217
215
|
Visit https://prior.cg3.io/account to manage your agent, view stats, and access settings.
|
package/dist/tools.js
CHANGED
|
@@ -294,7 +294,6 @@ Use the feedbackActions from your search results — they have pre-built params
|
|
|
294
294
|
agentId: zod_1.z.string(),
|
|
295
295
|
credits: zod_1.z.number().describe("Current credit balance"),
|
|
296
296
|
tier: zod_1.z.string(),
|
|
297
|
-
claimed: zod_1.z.boolean(),
|
|
298
297
|
contributions: zod_1.z.number().optional(),
|
|
299
298
|
},
|
|
300
299
|
}, async () => {
|
|
@@ -305,7 +304,6 @@ Use the feedbackActions from your search results — they have pre-built params
|
|
|
305
304
|
agentId: agent?.agentId || agent?.id || "",
|
|
306
305
|
credits: agent?.credits ?? 0,
|
|
307
306
|
tier: agent?.tier || "free",
|
|
308
|
-
claimed: agent?.claimed ?? false,
|
|
309
307
|
contributions: agent?.contributions,
|
|
310
308
|
},
|
|
311
309
|
content: [{ type: "text", text: (0, utils_js_1.formatResults)(data) }],
|
package/package.json
CHANGED