@jaibber/mcp 0.9.4 → 0.9.5
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/index.js +10 -7
- package/dist/server.d.ts +1 -1
- package/dist/server.js +10 -7
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -27999,6 +27999,7 @@ var JaibberClient = class _JaibberClient {
|
|
|
27999
27999
|
if (asRecord2(data.upstream)) result.upstream = data.upstream;
|
|
28000
28000
|
if (asRecord2(data.verification)) result.verification = data.verification;
|
|
28001
28001
|
if (asRecord2(data.readiness)) result.readiness = data.readiness;
|
|
28002
|
+
if (asRecord2(data.firstCall)) result.firstCall = data.firstCall;
|
|
28002
28003
|
return result;
|
|
28003
28004
|
}
|
|
28004
28005
|
/**
|
|
@@ -28430,8 +28431,8 @@ var JaibberClient = class _JaibberClient {
|
|
|
28430
28431
|
}
|
|
28431
28432
|
/**
|
|
28432
28433
|
* POST /api/agents/{id}/recover-handle — take the handle that is your verified domain's name
|
|
28433
|
-
* from a squatter (the domain must name
|
|
28434
|
-
*
|
|
28434
|
+
* from a squatter (the domain must name both this agent's id and the handle in
|
|
28435
|
+
* /.well-known/jaibber.json or `_jaibber` TXT records). `review: true` when the holder has standing and Jaibber staff decide.
|
|
28435
28436
|
*/
|
|
28436
28437
|
async recoverHandle(handle, opts = {}) {
|
|
28437
28438
|
const id = opts.agentId ?? await this.myAgentId();
|
|
@@ -28897,7 +28898,7 @@ function profileSummary(p) {
|
|
|
28897
28898
|
}
|
|
28898
28899
|
|
|
28899
28900
|
// src/version.ts
|
|
28900
|
-
var VERSION = "0.9.
|
|
28901
|
+
var VERSION = "0.9.5";
|
|
28901
28902
|
|
|
28902
28903
|
// src/server.ts
|
|
28903
28904
|
var CLIENT = `mcp/${VERSION}`;
|
|
@@ -29191,7 +29192,7 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29191
29192
|
profileUrl: reg.profileUrl,
|
|
29192
29193
|
claimUrl: reg.claimUrl,
|
|
29193
29194
|
savedTo: store.path,
|
|
29194
|
-
note: `No agent was configured, so one was registered for you: "${reg.agent.name}" (unclaimed). Give the claimUrl to your human so they can own it, and describe it with jaibber_update_profile (bio, skills, handle).`
|
|
29195
|
+
note: `No agent was configured, so one was registered for you: "${reg.agent.name}" (unclaimed). Give the claimUrl to your human so they can own it, and describe it with jaibber_update_profile (bio, skills, handle).` + (reg.firstCall ? ` To try the network now: ${reg.firstCall.agent}'s ${reg.firstCall.tool} (${reg.firstCall.description}). ${reg.firstCall.how}` : "")
|
|
29195
29196
|
};
|
|
29196
29197
|
try {
|
|
29197
29198
|
store.update({
|
|
@@ -29419,7 +29420,9 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29419
29420
|
savedTo: store.path,
|
|
29420
29421
|
note: "The API key" + (reg.webhookSecret ? " and webhook secret were" : " was") + " saved to the config file (not shown here). Give the claimUrl to your human: claiming links the agent to their Jaibber account and raises its trust tier." + (reg.upstream && reg.upstream.status !== "live" ? ` The service could not be listed yet (${reg.upstream.lastError ?? reg.upstream.status}); fix it and call jaibber_update_profile with refreshTools: true.` : ""),
|
|
29421
29422
|
readiness: reg.readiness ? readinessSummary(reg.readiness) : void 0,
|
|
29423
|
+
firstCall: reg.firstCall,
|
|
29422
29424
|
next: [
|
|
29425
|
+
...reg.firstCall ? [`Try it now: ${reg.firstCall.how}`] : [],
|
|
29423
29426
|
...reg.readiness?.next ? [reg.readiness.next] : [],
|
|
29424
29427
|
"jaibber_update_profile: describe your skills so others can find you",
|
|
29425
29428
|
"jaibber_find_agents: discover other agents",
|
|
@@ -29508,7 +29511,7 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29508
29511
|
"jaibber_update_profile",
|
|
29509
29512
|
{
|
|
29510
29513
|
title: "Update my Jaibber profile",
|
|
29511
|
-
description: "Update your agent's public profile and settings: bio, skills, links, avatar, handle, directory listing (discoverable), who may contact you (contactPolicy, contactAllowlist), the webhook endpoint, and your service (upstream: the MCP server or keyed REST API Jaibber calls for buyers; pricing: what each call costs). Use it after registering to describe what you do so other agents can find, call and hire you. Only the fields you pass change. verifyDomain proves the domain you operate (a /.well-known/jaibber.json naming your agent, or a _jaibber TXT record) so you are listed as Verified once claimed; the result's readiness says what is left to do and who does it.",
|
|
29514
|
+
description: "Update your agent's public profile and settings: bio, skills, links, avatar, handle, directory listing (discoverable), who may contact you (contactPolicy, contactAllowlist), the webhook endpoint, and your service (upstream: the MCP server or keyed REST API Jaibber calls for buyers; pricing: what each call costs). Use it after registering to describe what you do so other agents can find, call and hire you. Only the fields you pass change. verifyDomain proves the domain you operate (a /.well-known/jaibber.json naming your agent id, or a _jaibber TXT record) so you are listed as Verified once claimed; the result's readiness says what is left to do and who does it.",
|
|
29512
29515
|
inputSchema: {
|
|
29513
29516
|
upstream: upstreamSchema.nullable().optional().meta({ description: "Set or replace your service (its tools are listed again), or null to remove it." }),
|
|
29514
29517
|
pricing: pricingSchema.nullable().optional().meta({ description: "Your prices in USD micros (a priced tool costs at least 10000 = $0.01), or null to clear them (everything free)." }),
|
|
@@ -29516,9 +29519,9 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29516
29519
|
refreshTools: z.boolean().optional().meta({ description: "List your service's tools again after you changed them." }),
|
|
29517
29520
|
dailySpendCapUsdMicros: z.number().int().min(0).nullable().optional().meta({ description: "As a buyer: the most you may spend per UTC day on paid calls, in USD micros (default 25000000 = $25). You can lower it; only your human (signed in on the web) can raise it." }),
|
|
29518
29521
|
maxCallsPerMinute: z.number().int().min(1).max(6e3).nullable().optional().meta({ description: "As a seller: calls per minute your service takes through Jaibber across all buyers (default 120), to protect its quota. Null restores the default." }),
|
|
29519
|
-
recoverHandle: z.string().min(1).max(64).optional().meta({ description: `Take back the handle that is your verified domain's name from a squatter (api.stockgenius.co \u2192 stockgenius). Your domain must name
|
|
29522
|
+
recoverHandle: z.string().min(1).max(64).optional().meta({ description: `Take back the handle that is your verified domain's name from a squatter (api.stockgenius.co \u2192 stockgenius). Your domain must name both your agent id and the handle now in /.well-known/jaibber.json ({"agents":["<your agent id>","<handle>"]}) or _jaibber TXT records. A holder with a track record goes to Jaibber staff review instead.`, examples: ["stockgenius"] }),
|
|
29520
29523
|
verifyDomain: z.union([z.boolean(), z.string().min(3).max(253)]).optional().meta({
|
|
29521
|
-
description: 'true: prove the domain your service runs on (its host, then its parent domains); or a hostname to prove. The host must serve https://<host>/.well-known/jaibber.json with {"agents":["<your
|
|
29524
|
+
description: 'true: prove the domain your service runs on (its host, then its parent domains); or a hostname to prove. The host must serve https://<host>/.well-known/jaibber.json with {"agents":["<your agent id>"]} or publish a TXT record at _jaibber.<host> reading jaibber-agent=<your agent id> (the id from jaibber_whoami, not the handle).',
|
|
29522
29525
|
examples: [true, "api.stockgenius.co"]
|
|
29523
29526
|
}),
|
|
29524
29527
|
bio: z.string().max(2e3).optional().meta({ description: "Profile text (<= 2000 chars); empty string clears it." }),
|
package/dist/server.d.ts
CHANGED
package/dist/server.js
CHANGED
|
@@ -27907,6 +27907,7 @@ var JaibberClient = class _JaibberClient {
|
|
|
27907
27907
|
if (asRecord2(data.upstream)) result.upstream = data.upstream;
|
|
27908
27908
|
if (asRecord2(data.verification)) result.verification = data.verification;
|
|
27909
27909
|
if (asRecord2(data.readiness)) result.readiness = data.readiness;
|
|
27910
|
+
if (asRecord2(data.firstCall)) result.firstCall = data.firstCall;
|
|
27910
27911
|
return result;
|
|
27911
27912
|
}
|
|
27912
27913
|
/**
|
|
@@ -28338,8 +28339,8 @@ var JaibberClient = class _JaibberClient {
|
|
|
28338
28339
|
}
|
|
28339
28340
|
/**
|
|
28340
28341
|
* POST /api/agents/{id}/recover-handle — take the handle that is your verified domain's name
|
|
28341
|
-
* from a squatter (the domain must name
|
|
28342
|
-
*
|
|
28342
|
+
* from a squatter (the domain must name both this agent's id and the handle in
|
|
28343
|
+
* /.well-known/jaibber.json or `_jaibber` TXT records). `review: true` when the holder has standing and Jaibber staff decide.
|
|
28343
28344
|
*/
|
|
28344
28345
|
async recoverHandle(handle, opts = {}) {
|
|
28345
28346
|
const id = opts.agentId ?? await this.myAgentId();
|
|
@@ -28892,7 +28893,7 @@ function profileSummary(p) {
|
|
|
28892
28893
|
}
|
|
28893
28894
|
|
|
28894
28895
|
// src/version.ts
|
|
28895
|
-
var VERSION = "0.9.
|
|
28896
|
+
var VERSION = "0.9.5";
|
|
28896
28897
|
|
|
28897
28898
|
// src/server.ts
|
|
28898
28899
|
var CLIENT = `mcp/${VERSION}`;
|
|
@@ -29186,7 +29187,7 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29186
29187
|
profileUrl: reg.profileUrl,
|
|
29187
29188
|
claimUrl: reg.claimUrl,
|
|
29188
29189
|
savedTo: store.path,
|
|
29189
|
-
note: `No agent was configured, so one was registered for you: "${reg.agent.name}" (unclaimed). Give the claimUrl to your human so they can own it, and describe it with jaibber_update_profile (bio, skills, handle).`
|
|
29190
|
+
note: `No agent was configured, so one was registered for you: "${reg.agent.name}" (unclaimed). Give the claimUrl to your human so they can own it, and describe it with jaibber_update_profile (bio, skills, handle).` + (reg.firstCall ? ` To try the network now: ${reg.firstCall.agent}'s ${reg.firstCall.tool} (${reg.firstCall.description}). ${reg.firstCall.how}` : "")
|
|
29190
29191
|
};
|
|
29191
29192
|
try {
|
|
29192
29193
|
store.update({
|
|
@@ -29414,7 +29415,9 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29414
29415
|
savedTo: store.path,
|
|
29415
29416
|
note: "The API key" + (reg.webhookSecret ? " and webhook secret were" : " was") + " saved to the config file (not shown here). Give the claimUrl to your human: claiming links the agent to their Jaibber account and raises its trust tier." + (reg.upstream && reg.upstream.status !== "live" ? ` The service could not be listed yet (${reg.upstream.lastError ?? reg.upstream.status}); fix it and call jaibber_update_profile with refreshTools: true.` : ""),
|
|
29416
29417
|
readiness: reg.readiness ? readinessSummary(reg.readiness) : void 0,
|
|
29418
|
+
firstCall: reg.firstCall,
|
|
29417
29419
|
next: [
|
|
29420
|
+
...reg.firstCall ? [`Try it now: ${reg.firstCall.how}`] : [],
|
|
29418
29421
|
...reg.readiness?.next ? [reg.readiness.next] : [],
|
|
29419
29422
|
"jaibber_update_profile: describe your skills so others can find you",
|
|
29420
29423
|
"jaibber_find_agents: discover other agents",
|
|
@@ -29503,7 +29506,7 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29503
29506
|
"jaibber_update_profile",
|
|
29504
29507
|
{
|
|
29505
29508
|
title: "Update my Jaibber profile",
|
|
29506
|
-
description: "Update your agent's public profile and settings: bio, skills, links, avatar, handle, directory listing (discoverable), who may contact you (contactPolicy, contactAllowlist), the webhook endpoint, and your service (upstream: the MCP server or keyed REST API Jaibber calls for buyers; pricing: what each call costs). Use it after registering to describe what you do so other agents can find, call and hire you. Only the fields you pass change. verifyDomain proves the domain you operate (a /.well-known/jaibber.json naming your agent, or a _jaibber TXT record) so you are listed as Verified once claimed; the result's readiness says what is left to do and who does it.",
|
|
29509
|
+
description: "Update your agent's public profile and settings: bio, skills, links, avatar, handle, directory listing (discoverable), who may contact you (contactPolicy, contactAllowlist), the webhook endpoint, and your service (upstream: the MCP server or keyed REST API Jaibber calls for buyers; pricing: what each call costs). Use it after registering to describe what you do so other agents can find, call and hire you. Only the fields you pass change. verifyDomain proves the domain you operate (a /.well-known/jaibber.json naming your agent id, or a _jaibber TXT record) so you are listed as Verified once claimed; the result's readiness says what is left to do and who does it.",
|
|
29507
29510
|
inputSchema: {
|
|
29508
29511
|
upstream: upstreamSchema.nullable().optional().meta({ description: "Set or replace your service (its tools are listed again), or null to remove it." }),
|
|
29509
29512
|
pricing: pricingSchema.nullable().optional().meta({ description: "Your prices in USD micros (a priced tool costs at least 10000 = $0.01), or null to clear them (everything free)." }),
|
|
@@ -29511,9 +29514,9 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29511
29514
|
refreshTools: z.boolean().optional().meta({ description: "List your service's tools again after you changed them." }),
|
|
29512
29515
|
dailySpendCapUsdMicros: z.number().int().min(0).nullable().optional().meta({ description: "As a buyer: the most you may spend per UTC day on paid calls, in USD micros (default 25000000 = $25). You can lower it; only your human (signed in on the web) can raise it." }),
|
|
29513
29516
|
maxCallsPerMinute: z.number().int().min(1).max(6e3).nullable().optional().meta({ description: "As a seller: calls per minute your service takes through Jaibber across all buyers (default 120), to protect its quota. Null restores the default." }),
|
|
29514
|
-
recoverHandle: z.string().min(1).max(64).optional().meta({ description: `Take back the handle that is your verified domain's name from a squatter (api.stockgenius.co \u2192 stockgenius). Your domain must name
|
|
29517
|
+
recoverHandle: z.string().min(1).max(64).optional().meta({ description: `Take back the handle that is your verified domain's name from a squatter (api.stockgenius.co \u2192 stockgenius). Your domain must name both your agent id and the handle now in /.well-known/jaibber.json ({"agents":["<your agent id>","<handle>"]}) or _jaibber TXT records. A holder with a track record goes to Jaibber staff review instead.`, examples: ["stockgenius"] }),
|
|
29515
29518
|
verifyDomain: z.union([z.boolean(), z.string().min(3).max(253)]).optional().meta({
|
|
29516
|
-
description: 'true: prove the domain your service runs on (its host, then its parent domains); or a hostname to prove. The host must serve https://<host>/.well-known/jaibber.json with {"agents":["<your
|
|
29519
|
+
description: 'true: prove the domain your service runs on (its host, then its parent domains); or a hostname to prove. The host must serve https://<host>/.well-known/jaibber.json with {"agents":["<your agent id>"]} or publish a TXT record at _jaibber.<host> reading jaibber-agent=<your agent id> (the id from jaibber_whoami, not the handle).',
|
|
29517
29520
|
examples: [true, "api.stockgenius.co"]
|
|
29518
29521
|
}),
|
|
29519
29522
|
bio: z.string().max(2e3).optional().meta({ description: "Profile text (<= 2000 chars); empty string clears it." }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jaibber/mcp",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5",
|
|
4
4
|
"description": "MCP server for Jaibber — give any MCP-capable agent (Claude Code, Claude Desktop, Cursor, …) specialist services: find one, call its tools, pay per call from a wallet (x402) and keep a signed receipt; or list your own service. Also embeddable (createJaibberMcpServer) and hosted at https://api.jaibber.com/mcp",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"mcpName": "io.github.Everybit-Ventures/jaibber",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"start": "node dist/index.js"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@modelcontextprotocol/sdk": "^1.32.
|
|
56
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
57
57
|
"viem": "^2.57.17",
|
|
58
58
|
"zod": "^4.6.5"
|
|
59
59
|
},
|