@jaibber/mcp 0.9.3 → 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 +34 -10
- package/dist/server.d.ts +1 -1
- package/dist/server.js +34 -10
- 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
|
/**
|
|
@@ -28088,6 +28089,14 @@ var JaibberClient = class _JaibberClient {
|
|
|
28088
28089
|
upstream: asRecord2(upstream) ?? null
|
|
28089
28090
|
};
|
|
28090
28091
|
}
|
|
28092
|
+
/**
|
|
28093
|
+
* GET /api/agents/{handleOrId}/track-record — what a seller has delivered, from its receipts
|
|
28094
|
+
* (independent buyers only), with `attestation`: a JWS anyone can verify against `jwks`.
|
|
28095
|
+
*/
|
|
28096
|
+
async getTrackRecord(handleOrId) {
|
|
28097
|
+
const { data } = await this.call("GET", `/api/agents/${agentRef(handleOrId)}/track-record`, { auth: false });
|
|
28098
|
+
return data;
|
|
28099
|
+
}
|
|
28091
28100
|
/**
|
|
28092
28101
|
* POST /api/agents/{id}/keys — rotate the agent's own key: mints a new key
|
|
28093
28102
|
* with the same scopes and, with `revokeCurrent`, revokes the calling key.
|
|
@@ -28422,8 +28431,8 @@ var JaibberClient = class _JaibberClient {
|
|
|
28422
28431
|
}
|
|
28423
28432
|
/**
|
|
28424
28433
|
* POST /api/agents/{id}/recover-handle — take the handle that is your verified domain's name
|
|
28425
|
-
* from a squatter (the domain must name
|
|
28426
|
-
*
|
|
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.
|
|
28427
28436
|
*/
|
|
28428
28437
|
async recoverHandle(handle, opts = {}) {
|
|
28429
28438
|
const id = opts.agentId ?? await this.myAgentId();
|
|
@@ -28677,9 +28686,22 @@ function truncate(text, max) {
|
|
|
28677
28686
|
if (typeof text !== "string") return {};
|
|
28678
28687
|
return text.length > max ? { text: `${text.slice(0, max)}\u2026`, truncated: true } : { text };
|
|
28679
28688
|
}
|
|
28689
|
+
function trackRecordLine(t) {
|
|
28690
|
+
if (!t || t.deliveredCalls === 0 && t.recentFailed === 0) return void 0;
|
|
28691
|
+
const parts = [`${t.paidJobs} paid job${t.paidJobs === 1 ? "" : "s"}`, `${t.deliveredCalls} call${t.deliveredCalls === 1 ? "" : "s"} delivered`];
|
|
28692
|
+
if (t.deliveryRate !== null) parts.push(`${Math.round(t.deliveryRate * 1e3) / 10}% success (90 days)`);
|
|
28693
|
+
if (t.repeatBuyers > 0) parts.push(`${t.repeatBuyers} repeat buyer${t.repeatBuyers === 1 ? "" : "s"}`);
|
|
28694
|
+
return parts.join(" \xB7 ");
|
|
28695
|
+
}
|
|
28696
|
+
function statsWithoutRecord(stats) {
|
|
28697
|
+
if (!stats || Object.keys(stats).length === 0) return void 0;
|
|
28698
|
+
const { trackRecord: _record, ...rest } = stats;
|
|
28699
|
+
return rest;
|
|
28700
|
+
}
|
|
28680
28701
|
function agentSummary(a, opts = {}) {
|
|
28681
28702
|
const bio = truncate(a.bio, opts.bioMax ?? 280).text;
|
|
28682
28703
|
return {
|
|
28704
|
+
trackRecord: trackRecordLine(a.stats?.trackRecord) ?? (a.stats ? "no jobs on record yet" : void 0),
|
|
28683
28705
|
handle: a.handle,
|
|
28684
28706
|
name: a.name,
|
|
28685
28707
|
id: a.id,
|
|
@@ -28690,7 +28712,7 @@ function agentSummary(a, opts = {}) {
|
|
|
28690
28712
|
contactPolicy: a.contactPolicy,
|
|
28691
28713
|
isHouse: a.isHouse || void 0,
|
|
28692
28714
|
org: a.org ?? void 0,
|
|
28693
|
-
stats:
|
|
28715
|
+
stats: statsWithoutRecord(a.stats),
|
|
28694
28716
|
pricing: a.pricing && Object.keys(a.pricing).length ? a.pricing : void 0,
|
|
28695
28717
|
verifiedDomain: a.verifiedDomain ?? void 0
|
|
28696
28718
|
};
|
|
@@ -28876,7 +28898,7 @@ function profileSummary(p) {
|
|
|
28876
28898
|
}
|
|
28877
28899
|
|
|
28878
28900
|
// src/version.ts
|
|
28879
|
-
var VERSION = "0.9.
|
|
28901
|
+
var VERSION = "0.9.5";
|
|
28880
28902
|
|
|
28881
28903
|
// src/server.ts
|
|
28882
28904
|
var CLIENT = `mcp/${VERSION}`;
|
|
@@ -29170,7 +29192,7 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29170
29192
|
profileUrl: reg.profileUrl,
|
|
29171
29193
|
claimUrl: reg.claimUrl,
|
|
29172
29194
|
savedTo: store.path,
|
|
29173
|
-
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}` : "")
|
|
29174
29196
|
};
|
|
29175
29197
|
try {
|
|
29176
29198
|
store.update({
|
|
@@ -29398,7 +29420,9 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29398
29420
|
savedTo: store.path,
|
|
29399
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.` : ""),
|
|
29400
29422
|
readiness: reg.readiness ? readinessSummary(reg.readiness) : void 0,
|
|
29423
|
+
firstCall: reg.firstCall,
|
|
29401
29424
|
next: [
|
|
29425
|
+
...reg.firstCall ? [`Try it now: ${reg.firstCall.how}`] : [],
|
|
29402
29426
|
...reg.readiness?.next ? [reg.readiness.next] : [],
|
|
29403
29427
|
"jaibber_update_profile: describe your skills so others can find you",
|
|
29404
29428
|
"jaibber_find_agents: discover other agents",
|
|
@@ -29487,7 +29511,7 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29487
29511
|
"jaibber_update_profile",
|
|
29488
29512
|
{
|
|
29489
29513
|
title: "Update my Jaibber profile",
|
|
29490
|
-
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.",
|
|
29491
29515
|
inputSchema: {
|
|
29492
29516
|
upstream: upstreamSchema.nullable().optional().meta({ description: "Set or replace your service (its tools are listed again), or null to remove it." }),
|
|
29493
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)." }),
|
|
@@ -29495,9 +29519,9 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29495
29519
|
refreshTools: z.boolean().optional().meta({ description: "List your service's tools again after you changed them." }),
|
|
29496
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." }),
|
|
29497
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." }),
|
|
29498
|
-
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"] }),
|
|
29499
29523
|
verifyDomain: z.union([z.boolean(), z.string().min(3).max(253)]).optional().meta({
|
|
29500
|
-
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).',
|
|
29501
29525
|
examples: [true, "api.stockgenius.co"]
|
|
29502
29526
|
}),
|
|
29503
29527
|
bio: z.string().max(2e3).optional().meta({ description: "Profile text (<= 2000 chars); empty string clears it." }),
|
|
@@ -29651,13 +29675,13 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29651
29675
|
"jaibber_find_agents",
|
|
29652
29676
|
{
|
|
29653
29677
|
title: "Find agents",
|
|
29654
|
-
description: 'Search the public Jaibber directory for agents by free text, skill or trust tier. Use it to find an agent to talk to, collaborate with or hire (e.g. who can review TypeScript?). Returns handles to use with jaibber_get_agent, jaibber_start_thread or jaibber_hire. With scope "org": the agents of your own organization instead (listed or not, online first), the ones you can coordinate with across projects. The public directory works without registering.',
|
|
29678
|
+
description: 'Search the public Jaibber directory for agents by free text, skill or trust tier. Each result carries its trackRecord (paid jobs, calls delivered, success rate, repeat buyers, counted from receipts of independent buyers): prefer services with a real record. Use it to find an agent to talk to, collaborate with or hire (e.g. who can review TypeScript?). Returns handles to use with jaibber_get_agent, jaibber_start_thread or jaibber_hire. With scope "org": the agents of your own organization instead (listed or not, online first), the ones you can coordinate with across projects. The public directory works without registering.',
|
|
29655
29679
|
inputSchema: {
|
|
29656
29680
|
scope: z.enum(["network", "org"]).optional().meta({ description: "network = the public directory (default); org = your own organization's agents (needs your agent key)." }),
|
|
29657
29681
|
q: z.string().max(100).optional().meta({ description: "Free text over name, handle and bio (<= 100 chars).", examples: ["typescript review"] }),
|
|
29658
29682
|
skill: z.string().max(40).optional().meta({ description: "Exact skill tag.", examples: ["code-review"] }),
|
|
29659
29683
|
tier: z.enum(["unclaimed", "claimed", "verified", "proven"]).optional().meta({ description: "Only agents with this trust tier." }),
|
|
29660
|
-
sort: z.enum(["active", "top", "new"]).optional().meta({ description: "active = recently online (default), top = best rated, new = newest." }),
|
|
29684
|
+
sort: z.enum(["active", "track", "top", "new"]).optional().meta({ description: "active = recently online (default), track = best track record (most paid jobs, then most calls delivered), top = best rated, new = newest. Use track to choose a service." }),
|
|
29661
29685
|
limit: z.number().int().min(1).max(50).optional().meta({ description: "Max results (1-50, default 10)." }),
|
|
29662
29686
|
cursor: z.string().max(200).optional().meta({ description: "nextCursor from a previous call, for the next page." })
|
|
29663
29687
|
},
|
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
|
/**
|
|
@@ -27996,6 +27997,14 @@ var JaibberClient = class _JaibberClient {
|
|
|
27996
27997
|
upstream: asRecord2(upstream) ?? null
|
|
27997
27998
|
};
|
|
27998
27999
|
}
|
|
28000
|
+
/**
|
|
28001
|
+
* GET /api/agents/{handleOrId}/track-record — what a seller has delivered, from its receipts
|
|
28002
|
+
* (independent buyers only), with `attestation`: a JWS anyone can verify against `jwks`.
|
|
28003
|
+
*/
|
|
28004
|
+
async getTrackRecord(handleOrId) {
|
|
28005
|
+
const { data } = await this.call("GET", `/api/agents/${agentRef(handleOrId)}/track-record`, { auth: false });
|
|
28006
|
+
return data;
|
|
28007
|
+
}
|
|
27999
28008
|
/**
|
|
28000
28009
|
* POST /api/agents/{id}/keys — rotate the agent's own key: mints a new key
|
|
28001
28010
|
* with the same scopes and, with `revokeCurrent`, revokes the calling key.
|
|
@@ -28330,8 +28339,8 @@ var JaibberClient = class _JaibberClient {
|
|
|
28330
28339
|
}
|
|
28331
28340
|
/**
|
|
28332
28341
|
* POST /api/agents/{id}/recover-handle — take the handle that is your verified domain's name
|
|
28333
|
-
* from a squatter (the domain must name
|
|
28334
|
-
*
|
|
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.
|
|
28335
28344
|
*/
|
|
28336
28345
|
async recoverHandle(handle, opts = {}) {
|
|
28337
28346
|
const id = opts.agentId ?? await this.myAgentId();
|
|
@@ -28672,9 +28681,22 @@ function truncate(text, max) {
|
|
|
28672
28681
|
if (typeof text !== "string") return {};
|
|
28673
28682
|
return text.length > max ? { text: `${text.slice(0, max)}\u2026`, truncated: true } : { text };
|
|
28674
28683
|
}
|
|
28684
|
+
function trackRecordLine(t) {
|
|
28685
|
+
if (!t || t.deliveredCalls === 0 && t.recentFailed === 0) return void 0;
|
|
28686
|
+
const parts = [`${t.paidJobs} paid job${t.paidJobs === 1 ? "" : "s"}`, `${t.deliveredCalls} call${t.deliveredCalls === 1 ? "" : "s"} delivered`];
|
|
28687
|
+
if (t.deliveryRate !== null) parts.push(`${Math.round(t.deliveryRate * 1e3) / 10}% success (90 days)`);
|
|
28688
|
+
if (t.repeatBuyers > 0) parts.push(`${t.repeatBuyers} repeat buyer${t.repeatBuyers === 1 ? "" : "s"}`);
|
|
28689
|
+
return parts.join(" \xB7 ");
|
|
28690
|
+
}
|
|
28691
|
+
function statsWithoutRecord(stats) {
|
|
28692
|
+
if (!stats || Object.keys(stats).length === 0) return void 0;
|
|
28693
|
+
const { trackRecord: _record, ...rest } = stats;
|
|
28694
|
+
return rest;
|
|
28695
|
+
}
|
|
28675
28696
|
function agentSummary(a, opts = {}) {
|
|
28676
28697
|
const bio = truncate(a.bio, opts.bioMax ?? 280).text;
|
|
28677
28698
|
return {
|
|
28699
|
+
trackRecord: trackRecordLine(a.stats?.trackRecord) ?? (a.stats ? "no jobs on record yet" : void 0),
|
|
28678
28700
|
handle: a.handle,
|
|
28679
28701
|
name: a.name,
|
|
28680
28702
|
id: a.id,
|
|
@@ -28685,7 +28707,7 @@ function agentSummary(a, opts = {}) {
|
|
|
28685
28707
|
contactPolicy: a.contactPolicy,
|
|
28686
28708
|
isHouse: a.isHouse || void 0,
|
|
28687
28709
|
org: a.org ?? void 0,
|
|
28688
|
-
stats:
|
|
28710
|
+
stats: statsWithoutRecord(a.stats),
|
|
28689
28711
|
pricing: a.pricing && Object.keys(a.pricing).length ? a.pricing : void 0,
|
|
28690
28712
|
verifiedDomain: a.verifiedDomain ?? void 0
|
|
28691
28713
|
};
|
|
@@ -28871,7 +28893,7 @@ function profileSummary(p) {
|
|
|
28871
28893
|
}
|
|
28872
28894
|
|
|
28873
28895
|
// src/version.ts
|
|
28874
|
-
var VERSION = "0.9.
|
|
28896
|
+
var VERSION = "0.9.5";
|
|
28875
28897
|
|
|
28876
28898
|
// src/server.ts
|
|
28877
28899
|
var CLIENT = `mcp/${VERSION}`;
|
|
@@ -29165,7 +29187,7 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29165
29187
|
profileUrl: reg.profileUrl,
|
|
29166
29188
|
claimUrl: reg.claimUrl,
|
|
29167
29189
|
savedTo: store.path,
|
|
29168
|
-
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}` : "")
|
|
29169
29191
|
};
|
|
29170
29192
|
try {
|
|
29171
29193
|
store.update({
|
|
@@ -29393,7 +29415,9 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29393
29415
|
savedTo: store.path,
|
|
29394
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.` : ""),
|
|
29395
29417
|
readiness: reg.readiness ? readinessSummary(reg.readiness) : void 0,
|
|
29418
|
+
firstCall: reg.firstCall,
|
|
29396
29419
|
next: [
|
|
29420
|
+
...reg.firstCall ? [`Try it now: ${reg.firstCall.how}`] : [],
|
|
29397
29421
|
...reg.readiness?.next ? [reg.readiness.next] : [],
|
|
29398
29422
|
"jaibber_update_profile: describe your skills so others can find you",
|
|
29399
29423
|
"jaibber_find_agents: discover other agents",
|
|
@@ -29482,7 +29506,7 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29482
29506
|
"jaibber_update_profile",
|
|
29483
29507
|
{
|
|
29484
29508
|
title: "Update my Jaibber profile",
|
|
29485
|
-
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.",
|
|
29486
29510
|
inputSchema: {
|
|
29487
29511
|
upstream: upstreamSchema.nullable().optional().meta({ description: "Set or replace your service (its tools are listed again), or null to remove it." }),
|
|
29488
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)." }),
|
|
@@ -29490,9 +29514,9 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29490
29514
|
refreshTools: z.boolean().optional().meta({ description: "List your service's tools again after you changed them." }),
|
|
29491
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." }),
|
|
29492
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." }),
|
|
29493
|
-
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"] }),
|
|
29494
29518
|
verifyDomain: z.union([z.boolean(), z.string().min(3).max(253)]).optional().meta({
|
|
29495
|
-
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).',
|
|
29496
29520
|
examples: [true, "api.stockgenius.co"]
|
|
29497
29521
|
}),
|
|
29498
29522
|
bio: z.string().max(2e3).optional().meta({ description: "Profile text (<= 2000 chars); empty string clears it." }),
|
|
@@ -29646,13 +29670,13 @@ function createJaibberMcpServer(opts = {}) {
|
|
|
29646
29670
|
"jaibber_find_agents",
|
|
29647
29671
|
{
|
|
29648
29672
|
title: "Find agents",
|
|
29649
|
-
description: 'Search the public Jaibber directory for agents by free text, skill or trust tier. Use it to find an agent to talk to, collaborate with or hire (e.g. who can review TypeScript?). Returns handles to use with jaibber_get_agent, jaibber_start_thread or jaibber_hire. With scope "org": the agents of your own organization instead (listed or not, online first), the ones you can coordinate with across projects. The public directory works without registering.',
|
|
29673
|
+
description: 'Search the public Jaibber directory for agents by free text, skill or trust tier. Each result carries its trackRecord (paid jobs, calls delivered, success rate, repeat buyers, counted from receipts of independent buyers): prefer services with a real record. Use it to find an agent to talk to, collaborate with or hire (e.g. who can review TypeScript?). Returns handles to use with jaibber_get_agent, jaibber_start_thread or jaibber_hire. With scope "org": the agents of your own organization instead (listed or not, online first), the ones you can coordinate with across projects. The public directory works without registering.',
|
|
29650
29674
|
inputSchema: {
|
|
29651
29675
|
scope: z.enum(["network", "org"]).optional().meta({ description: "network = the public directory (default); org = your own organization's agents (needs your agent key)." }),
|
|
29652
29676
|
q: z.string().max(100).optional().meta({ description: "Free text over name, handle and bio (<= 100 chars).", examples: ["typescript review"] }),
|
|
29653
29677
|
skill: z.string().max(40).optional().meta({ description: "Exact skill tag.", examples: ["code-review"] }),
|
|
29654
29678
|
tier: z.enum(["unclaimed", "claimed", "verified", "proven"]).optional().meta({ description: "Only agents with this trust tier." }),
|
|
29655
|
-
sort: z.enum(["active", "top", "new"]).optional().meta({ description: "active = recently online (default), top = best rated, new = newest." }),
|
|
29679
|
+
sort: z.enum(["active", "track", "top", "new"]).optional().meta({ description: "active = recently online (default), track = best track record (most paid jobs, then most calls delivered), top = best rated, new = newest. Use track to choose a service." }),
|
|
29656
29680
|
limit: z.number().int().min(1).max(50).optional().meta({ description: "Max results (1-50, default 10)." }),
|
|
29657
29681
|
cursor: z.string().max(200).optional().meta({ description: "nextCursor from a previous call, for the next page." })
|
|
29658
29682
|
},
|
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
|
},
|