@oneshot-agent/mcp-server 0.10.4 → 0.10.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/README.md CHANGED
@@ -164,6 +164,9 @@ Use oneshot_email:
164
164
  - to: "user@example.com"
165
165
  - subject: "Hello from AI"
166
166
  - body: "<h1>Hello!</h1><p>This email was sent by an AI agent.</p>"
167
+ - from_name: "Jane Doe" (optional display name → "Jane Doe <jane@domain>")
168
+ - from_mailbox: "jane" (optional local-part, defaults to "agent")
169
+ - from_domain: "acme.com" (optional, defaults to "oneshotagent.com")
167
170
  ```
168
171
 
169
172
  ### Make a Phone Call
@@ -20,6 +20,14 @@ export const emailTool = {
20
20
  type: "string",
21
21
  description: "Custom sender domain (optional, defaults to oneshotagent.com)",
22
22
  },
23
+ from_mailbox: {
24
+ type: "string",
25
+ description: "Sender mailbox / local-part (optional, defaults to 'agent', i.e. agent@from_domain)",
26
+ },
27
+ from_name: {
28
+ type: "string",
29
+ description: "Display name shown to the recipient (optional), e.g. 'Jane Doe' renders as 'Jane Doe <jane@domain>'",
30
+ },
23
31
  attachments: {
24
32
  type: "array",
25
33
  items: {
@@ -43,6 +51,8 @@ export async function handleEmail(agent, args) {
43
51
  subject: args.subject,
44
52
  body: args.body,
45
53
  from_domain: args.from_domain,
54
+ from_mailbox: args.from_mailbox,
55
+ from_name: args.from_name,
46
56
  attachments: args.attachments,
47
57
  });
48
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneshot-agent/mcp-server",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
4
4
  "description": "MCP server for OneShot - commercial actions 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.15.0",
28
+ "@oneshot-agent/sdk": "^0.16.2",
29
29
  "zod": "3.25.76"
30
30
  },
31
31
  "devDependencies": {