@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.
@@ -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 deepResearchPersonTool: Tool;
4
- export declare const socialProfilesTool: Tool;
5
- export declare const articleSearchTool: Tool;
6
- export declare const personNewsfeedTool: Tool;
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 personInteractionsTool: Tool;
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 DEEP_RESEARCH_PERSON_TIMEOUT_SEC = 300;
11
- export declare function handleDeepResearchPerson(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").DeepResearchPersonResult>;
12
- export declare function handleSocialProfiles(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").SocialProfilesResult>;
13
- export declare function handleArticleSearch(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").ArticleSearchResult>;
14
- export declare function handlePersonNewsfeed(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PersonNewsfeedResult>;
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 handlePersonInteractions(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PersonInteractionsResult>;
16
+ export declare function handlePersonFollowers(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PersonFollowersResult>;
@@ -1,9 +1,10 @@
1
- export const deepResearchPersonTool = {
2
- name: "oneshot_deep_research_person",
3
- description: "Deep research on a person — returns career history, social presence, interests, and connections. Takes 2-5 minutes. Paid tool.",
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 socialProfilesTool = {
15
- name: "oneshot_social_profiles",
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 articleSearchTool = {
26
- name: "oneshot_article_search",
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 personNewsfeedTool = {
40
- name: "oneshot_person_newsfeed",
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 personInteractionsTool = {
63
- name: "oneshot_person_interactions",
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 DEEP_RESEARCH_PERSON_TIMEOUT_SEC = 300;
77
- export async function handleDeepResearchPerson(agent, args) {
78
- return agent.deepResearchPerson({
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: DEEP_RESEARCH_PERSON_TIMEOUT_SEC,
85
+ timeout: PERSON_DOSSIER_TIMEOUT_SEC,
84
86
  });
85
87
  }
86
- export async function handleSocialProfiles(agent, args) {
87
- return agent.socialProfiles({
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 handleArticleSearch(agent, args) {
93
- return agent.articleSearch({
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 handlePersonNewsfeed(agent, args) {
101
- return agent.personNewsfeed({
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 handlePersonInteractions(agent, args) {
113
- return agent.personInteractions({
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,
@@ -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 peopleSearchTool: Tool;
4
- export declare function handlePeopleSearch(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PeopleSearchResult>;
3
+ export declare const personFindTool: Tool;
4
+ export declare function handlePersonFind(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PersonFindResult>;
@@ -1,9 +1,10 @@
1
- export const peopleSearchTool = {
2
- name: "oneshot_people_search",
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 handlePeopleSearch(agent, args) {
59
- return agent.peopleSearch({
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.36.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.51.0",
29
+ "@oneshot-agent/sdk": "^0.53.0",
30
30
  "zod": "3.25.76"
31
31
  },
32
32
  "devDependencies": {