@oneshot-agent/mcp-server 0.36.0 → 0.38.0
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/README.md +19 -15
- package/dist/index.js +1 -1
- package/dist/tools/annotations.js +12 -12
- package/dist/tools/commerce.d.ts +2 -2
- package/dist/tools/commerce.js +5 -5
- package/dist/tools/company.d.ts +4 -4
- package/dist/tools/company.js +8 -8
- package/dist/tools/enrichment.d.ts +6 -6
- package/dist/tools/enrichment.js +15 -13
- package/dist/tools/index.js +29 -29
- package/dist/tools/linkedin.js +2 -2
- package/dist/tools/local.js +1 -1
- package/dist/tools/lookup-manifest.generated.js +284 -96
- package/dist/tools/nyne.d.ts +11 -11
- package/dist/tools/nyne.js +25 -23
- package/dist/tools/people.d.ts +2 -2
- package/dist/tools/people.js +7 -5
- package/package.json +2 -2
package/dist/tools/nyne.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type { Tool } from "@modelcontextprotocol/sdk/types.js";
|
|
2
2
|
import type { OneShot } from "@oneshot-agent/sdk";
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
3
|
+
export declare const personDossierTool: Tool;
|
|
4
|
+
export declare const personSocialAccountsTool: Tool;
|
|
5
|
+
export declare const personArticlesTool: Tool;
|
|
6
|
+
export declare const personPostsTool: Tool;
|
|
7
7
|
export declare const personInterestsTool: Tool;
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const personFollowersTool: Tool;
|
|
9
9
|
/** Deep person research fans out across several providers; the SDK's 120s default was too short. */
|
|
10
|
-
export declare const
|
|
11
|
-
export declare function
|
|
12
|
-
export declare function
|
|
13
|
-
export declare function
|
|
14
|
-
export declare function
|
|
10
|
+
export declare const PERSON_DOSSIER_TIMEOUT_SEC = 300;
|
|
11
|
+
export declare function handlePersonDossier(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PersonDossierResult>;
|
|
12
|
+
export declare function handlePersonSocialAccounts(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PersonSocialAccountsResult>;
|
|
13
|
+
export declare function handlePersonArticles(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PersonArticlesResult>;
|
|
14
|
+
export declare function handlePersonPosts(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PersonPostsResult>;
|
|
15
15
|
export declare function handlePersonInterests(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PersonInterestsResult>;
|
|
16
|
-
export declare function
|
|
16
|
+
export declare function handlePersonFollowers(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PersonFollowersResult>;
|
package/dist/tools/nyne.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export const
|
|
2
|
-
name: "
|
|
3
|
-
description: "
|
|
1
|
+
export const personDossierTool = {
|
|
2
|
+
name: "oneshot_person_dossier",
|
|
3
|
+
description: "Get a person’s profile, known social accounts, articles, posts and written summary. Takes 2-5 minutes. Paid tool. Phone lookup is off by default. include_phone=true buys a lookup for up to one person at the add-on listed on the pricing page; no phone hit is guaranteed.",
|
|
4
4
|
inputSchema: {
|
|
5
5
|
type: "object",
|
|
6
6
|
properties: {
|
|
7
|
+
include_phone: { type: "boolean", default: false, description: "Phone lookup is off by default. include_phone=true buys a lookup for up to one person at the add-on listed on the pricing page; no phone hit is guaranteed." },
|
|
7
8
|
email: { type: "string", description: "Person's email address" },
|
|
8
9
|
social_media_url: { type: "string", description: "LinkedIn, Twitter, or other social profile URL" },
|
|
9
10
|
name: { type: "string", description: "Person's full name" },
|
|
@@ -11,8 +12,8 @@ export const deepResearchPersonTool = {
|
|
|
11
12
|
},
|
|
12
13
|
},
|
|
13
14
|
};
|
|
14
|
-
export const
|
|
15
|
-
name: "
|
|
15
|
+
export const personSocialAccountsTool = {
|
|
16
|
+
name: "oneshot_person_social_accounts",
|
|
16
17
|
description: "Discover all social media profiles for a person across platforms (LinkedIn, Twitter, GitHub, YouTube, etc). Paid tool.",
|
|
17
18
|
inputSchema: {
|
|
18
19
|
type: "object",
|
|
@@ -22,8 +23,8 @@ export const socialProfilesTool = {
|
|
|
22
23
|
},
|
|
23
24
|
},
|
|
24
25
|
};
|
|
25
|
-
export const
|
|
26
|
-
name: "
|
|
26
|
+
export const personArticlesTool = {
|
|
27
|
+
name: "oneshot_person_articles",
|
|
27
28
|
description: "Find articles, publications, and interviews about a person. Requires name and company. Paid tool.",
|
|
28
29
|
inputSchema: {
|
|
29
30
|
type: "object",
|
|
@@ -36,8 +37,8 @@ export const articleSearchTool = {
|
|
|
36
37
|
required: ["name", "company"],
|
|
37
38
|
},
|
|
38
39
|
};
|
|
39
|
-
export const
|
|
40
|
-
name: "
|
|
40
|
+
export const personPostsTool = {
|
|
41
|
+
name: "oneshot_person_posts",
|
|
41
42
|
description: "Get a person's recent social media posts with likes, replies, and shares. Paid tool.",
|
|
42
43
|
inputSchema: {
|
|
43
44
|
type: "object",
|
|
@@ -59,8 +60,8 @@ export const personInterestsTool = {
|
|
|
59
60
|
},
|
|
60
61
|
},
|
|
61
62
|
};
|
|
62
|
-
export const
|
|
63
|
-
name: "
|
|
63
|
+
export const personFollowersTool = {
|
|
64
|
+
name: "oneshot_person_followers",
|
|
64
65
|
description: "See who someone follows, who follows them, and who they reply to. Paid tool.",
|
|
65
66
|
inputSchema: {
|
|
66
67
|
type: "object",
|
|
@@ -73,32 +74,33 @@ export const personInteractionsTool = {
|
|
|
73
74
|
},
|
|
74
75
|
};
|
|
75
76
|
/** Deep person research fans out across several providers; the SDK's 120s default was too short. */
|
|
76
|
-
export const
|
|
77
|
-
export async function
|
|
78
|
-
return agent.
|
|
77
|
+
export const PERSON_DOSSIER_TIMEOUT_SEC = 300;
|
|
78
|
+
export async function handlePersonDossier(agent, args) {
|
|
79
|
+
return agent.personDossier({
|
|
80
|
+
includePhone: args.include_phone,
|
|
79
81
|
email: args.email,
|
|
80
82
|
social_media_url: args.social_media_url,
|
|
81
83
|
name: args.name,
|
|
82
84
|
company: args.company,
|
|
83
|
-
timeout:
|
|
85
|
+
timeout: PERSON_DOSSIER_TIMEOUT_SEC,
|
|
84
86
|
});
|
|
85
87
|
}
|
|
86
|
-
export async function
|
|
87
|
-
return agent.
|
|
88
|
+
export async function handlePersonSocialAccounts(agent, args) {
|
|
89
|
+
return agent.personSocialAccounts({
|
|
88
90
|
email: args.email,
|
|
89
91
|
social_media_url: args.social_media_url,
|
|
90
92
|
});
|
|
91
93
|
}
|
|
92
|
-
export async function
|
|
93
|
-
return agent.
|
|
94
|
+
export async function handlePersonArticles(agent, args) {
|
|
95
|
+
return agent.personArticles({
|
|
94
96
|
name: args.name,
|
|
95
97
|
company: args.company,
|
|
96
98
|
sort: args.sort,
|
|
97
99
|
limit: args.limit,
|
|
98
100
|
});
|
|
99
101
|
}
|
|
100
|
-
export async function
|
|
101
|
-
return agent.
|
|
102
|
+
export async function handlePersonPosts(agent, args) {
|
|
103
|
+
return agent.personPosts({
|
|
102
104
|
social_media_url: args.social_media_url,
|
|
103
105
|
});
|
|
104
106
|
}
|
|
@@ -109,8 +111,8 @@ export async function handlePersonInterests(agent, args) {
|
|
|
109
111
|
social_media_url: args.social_media_url,
|
|
110
112
|
});
|
|
111
113
|
}
|
|
112
|
-
export async function
|
|
113
|
-
return agent.
|
|
114
|
+
export async function handlePersonFollowers(agent, args) {
|
|
115
|
+
return agent.personFollowers({
|
|
114
116
|
social_media_url: args.social_media_url,
|
|
115
117
|
type: args.type,
|
|
116
118
|
max_results: args.max_results,
|
package/dist/tools/people.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Tool } from "@modelcontextprotocol/sdk/types.js";
|
|
2
2
|
import type { OneShot } from "@oneshot-agent/sdk";
|
|
3
|
-
export declare const
|
|
4
|
-
export declare function
|
|
3
|
+
export declare const personFindTool: Tool;
|
|
4
|
+
export declare function handlePersonFind(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PersonFindResult>;
|
package/dist/tools/people.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export const
|
|
2
|
-
name: "
|
|
3
|
-
description: "Search for people by job title, company, location, skills, etc. Returns professional profiles. Paid tool — quote provided before payment.",
|
|
1
|
+
export const personFindTool = {
|
|
2
|
+
name: "oneshot_person_find",
|
|
3
|
+
description: "Search for people by job title, company, location, skills, etc. Returns professional profiles. Paid tool — quote provided before payment. Phone lookup is off by default. include_phone=true buys lookups for up to the requested limit (default 100) at the per-person add-on listed on the pricing page; no phone hit is guaranteed.",
|
|
4
4
|
inputSchema: {
|
|
5
5
|
type: "object",
|
|
6
6
|
properties: {
|
|
7
|
+
include_phone: { type: "boolean", default: false, description: "Phone lookup is off by default. include_phone=true buys lookups for up to the requested limit (default 100) at the per-person add-on listed on the pricing page; no phone hit is guaranteed." },
|
|
7
8
|
job_titles: {
|
|
8
9
|
type: "array",
|
|
9
10
|
items: { type: "string" },
|
|
@@ -55,8 +56,9 @@ export const peopleSearchTool = {
|
|
|
55
56
|
},
|
|
56
57
|
},
|
|
57
58
|
};
|
|
58
|
-
export async function
|
|
59
|
-
return agent.
|
|
59
|
+
export async function handlePersonFind(agent, args) {
|
|
60
|
+
return agent.personFind({
|
|
61
|
+
includePhone: args.include_phone,
|
|
60
62
|
job_titles: args.job_titles,
|
|
61
63
|
keywords: args.keywords,
|
|
62
64
|
companies: args.companies,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oneshot-agent/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.0",
|
|
4
4
|
"description": "MCP server for OneShot - 81 tools for AI agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@coinbase/cdp-sdk": "1.45.0",
|
|
28
28
|
"@modelcontextprotocol/sdk": "1.27.1",
|
|
29
|
-
"@oneshot-agent/sdk": "^0.
|
|
29
|
+
"@oneshot-agent/sdk": "^0.53.0",
|
|
30
30
|
"zod": "3.25.76"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|