@oneshot-agent/mcp-server 0.23.0 → 0.23.1

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 CHANGED
@@ -328,3 +328,12 @@ Send USDC to your agent's wallet address on Base. The server operates on Base Ma
328
328
  - [Python SDK (LangChain)](https://pypi.org/project/langchain-oneshot/)
329
329
  - [Python SDK (Core)](https://pypi.org/project/oneshot-python/)
330
330
  - [GitHub](https://github.com/oneshot-agent/sdk)
331
+
332
+ ### LinkedIn connection recovery
333
+
334
+ If the active account list is empty or an account is `deleted_upstream` or
335
+ `revoked`, ask the human to use `oneshot_linkedin_connect` and authorize fresh
336
+ grants. An existing account with `reconnect_required` needs reconnect through
337
+ the owning application. Reconnect and revoke are intentionally not agent tools.
338
+ Do not automatically create a new connection in response to authentication
339
+ failures or timeouts.
package/dist/index.js CHANGED
@@ -52,7 +52,7 @@ async function main() {
52
52
  // Create MCP server
53
53
  const server = new Server({
54
54
  name: "oneshot-mcp",
55
- version: "0.23.0", // keep in sync with package.json; guarded by version.test.ts
55
+ version: "0.23.1", // keep in sync with package.json; guarded by version.test.ts
56
56
  }, {
57
57
  capabilities: {
58
58
  tools: {},
@@ -9,7 +9,7 @@
9
9
  const GRANT_ACTIONS = ["read", "reply", "view_profile", "react", "invite", "comment"];
10
10
  export const linkedinConnectTool = {
11
11
  name: "oneshot_linkedin_connect",
12
- description: "Create a hosted LinkedIn login link for a human to connect THEIR OWN LinkedIn account to this agent, granting specific actions (read, reply, view_profile, react). Returns intent_id + url (show the url to the human; it expires in 30 minutes; never embed it in an iframe). Poll oneshot_linkedin_accounts with the intent_id afterwards. Free tool.",
12
+ description: "Create a hosted LinkedIn login link for a human to connect THEIR OWN LinkedIn account to this agent, granting specific actions (read, reply, view_profile, react). Returns intent_id + url (show the url to the human; it expires in 30 minutes; never embed it in an iframe). Poll oneshot_linkedin_accounts with the intent_id afterwards. Free tool. If no active account exists, or status is deleted_upstream/revoked, ask the human to connect again with oneshot_linkedin_connect and choose grants anew. reconnect_required applies only to an existing connection; reconnect is managed by the owning application.",
13
13
  inputSchema: {
14
14
  type: "object",
15
15
  properties: {
@@ -22,7 +22,7 @@ export const linkedinConnectTool = {
22
22
  };
23
23
  export const linkedinAccountsTool = {
24
24
  name: "oneshot_linkedin_accounts",
25
- description: "List the LinkedIn accounts connected to this agent (status, granted actions, sync coverage), or, with intent_id, check a pending connection from oneshot_linkedin_connect (pending → completed with the account, or failed with a reason). Free tool.",
25
+ description: "List the LinkedIn accounts connected to this agent (status, granted actions, sync coverage), or, with intent_id, check a pending connection from oneshot_linkedin_connect (pending → completed with the account, or failed with a reason). Free tool. If no active account exists, or status is deleted_upstream/revoked, ask the human to connect again with oneshot_linkedin_connect and choose grants anew. reconnect_required applies only to an existing connection; reconnect is managed by the owning application.",
26
26
  inputSchema: {
27
27
  type: "object",
28
28
  properties: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneshot-agent/mcp-server",
3
- "version": "0.23.0",
3
+ "version": "0.23.1",
4
4
  "description": "MCP server for OneShot - 61 tools for AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@coinbase/cdp-sdk": "1.45.0",
27
27
  "@modelcontextprotocol/sdk": "1.27.1",
28
- "@oneshot-agent/sdk": "^0.35.0",
28
+ "@oneshot-agent/sdk": "^0.37.0",
29
29
  "zod": "3.25.76"
30
30
  },
31
31
  "devDependencies": {