@automanus/mcp-server 1.0.1 → 1.2.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 CHANGED
@@ -1,85 +1,176 @@
1
1
  # @automanus/mcp-server
2
2
 
3
- MCP server for AutoManus - Create AI sales agents via Claude, Cursor, and other AI tools.
3
+ [![npm version](https://badge.fury.io/js/%40automanus%2Fmcp-server.svg)](https://www.npmjs.com/package/@automanus/mcp-server)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
5
 
5
- ## Installation
6
+ **Create AI sales agents instantly from Claude Desktop, Cursor, or any MCP-compatible AI tool.**
6
7
 
7
- ### For Claude Desktop
8
+ AutoManus MCP Server lets you build and deploy AI sales chatbots to WhatsApp and Webchat in seconds - all from your favorite AI coding assistant.
8
9
 
9
- Add to your `claude_desktop_config.json`:
10
+ ## Features
11
+
12
+ - **Instant Agent Creation** - Just say "create a sales agent for [company]" and it's done
13
+ - **Auto Website Research** - Analyzes the company website and populates knowledge base automatically
14
+ - **WhatsApp + Webchat** - Agents deploy to both channels immediately
15
+ - **No Code Required** - Works entirely through natural language with Claude/Cursor
16
+ - **Free Tier** - 100 free credits to get started, no credit card required
17
+
18
+ ## Quick Start
19
+
20
+ ### Claude Desktop
21
+
22
+ Add to your Claude Desktop config file:
23
+ - **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
24
+ - **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
10
25
 
11
26
  ```json
12
27
  {
13
28
  "mcpServers": {
14
29
  "automanus": {
15
30
  "command": "npx",
16
- "args": ["-y", "@automanus/mcp-server"],
17
- "env": {
18
- "AUTOMANUS_EMAIL": "your-email@example.com"
19
- }
31
+ "args": ["-y", "@automanus/mcp-server"]
20
32
  }
21
33
  }
22
34
  }
23
35
  ```
24
36
 
25
- ### For Cursor
37
+ Restart Claude Desktop, then try:
38
+ > "Create an AI sales agent for Stripe"
26
39
 
27
- Add to your Cursor MCP settings:
40
+ ### Cursor
41
+
42
+ Add to `~/.cursor/mcp.json`:
28
43
 
29
44
  ```json
30
45
  {
31
46
  "mcpServers": {
32
47
  "automanus": {
33
48
  "command": "npx",
34
- "args": ["-y", "@automanus/mcp-server"],
35
- "env": {
36
- "AUTOMANUS_EMAIL": "your-email@example.com"
37
- }
49
+ "args": ["-y", "@automanus/mcp-server"]
38
50
  }
39
51
  }
40
52
  }
41
53
  ```
42
54
 
55
+ ### Claude Code (CLI)
56
+
57
+ Add to `~/.claude/mcp.json`:
58
+
59
+ ```json
60
+ {
61
+ "mcpServers": {
62
+ "automanus": {
63
+ "command": "npx",
64
+ "args": ["-y", "@automanus/mcp-server"]
65
+ }
66
+ }
67
+ }
68
+ ```
69
+
70
+ ## Usage Examples
71
+
72
+ Once installed, just talk to Claude naturally:
73
+
74
+ ```
75
+ "Create a sales agent for my startup TechCo using techco.com as the knowledge source"
76
+ ```
77
+
78
+ ```
79
+ "Build an AI sales chatbot for Vercel"
80
+ ```
81
+
82
+ ```
83
+ "I need a customer service bot for my cleaning business at sparkclean.com"
84
+ ```
85
+
86
+ Claude will:
87
+ 1. Ask for your email (to send the agent claim link)
88
+ 2. Research the website automatically
89
+ 3. Create the agent with knowledge base
90
+ 4. Deploy to WhatsApp and Webchat
91
+ 5. Send you an email with links to manage everything
92
+
43
93
  ## Authentication
44
94
 
45
- Choose one of these authentication methods:
95
+ **No configuration required!** Claude will ask for your email when creating an agent.
46
96
 
47
- ### Option 1: Email-based (Recommended for new users)
97
+ ### Optional: Pre-configure email
98
+
99
+ If you want to skip the email prompt:
48
100
 
49
101
  ```json
50
- "env": {
51
- "AUTOMANUS_EMAIL": "your-email@example.com"
102
+ {
103
+ "mcpServers": {
104
+ "automanus": {
105
+ "command": "npx",
106
+ "args": ["-y", "@automanus/mcp-server"],
107
+ "env": {
108
+ "AUTOMANUS_EMAIL": "your-email@example.com"
109
+ }
110
+ }
111
+ }
52
112
  }
53
113
  ```
54
114
 
55
- You'll receive an email to claim your agent after creation.
115
+ ### Optional: API Key (For existing users)
56
116
 
57
- ### Option 2: API Key (For existing users)
117
+ With an API key, agents are created directly under your account:
58
118
 
59
119
  ```json
60
- "env": {
61
- "AUTOMANUS_API_KEY": "ak_your_api_key_here"
120
+ {
121
+ "mcpServers": {
122
+ "automanus": {
123
+ "command": "npx",
124
+ "args": ["-y", "@automanus/mcp-server"],
125
+ "env": {
126
+ "AUTOMANUS_API_KEY": "ak_your_api_key_here"
127
+ }
128
+ }
129
+ }
62
130
  }
63
131
  ```
64
132
 
65
133
  Get your API key from [automanus.io/dashboard](https://automanus.io/dashboard).
66
134
 
67
- ## Available Tools
135
+ ## What You Get
136
+
137
+ When you create an agent, you receive:
138
+
139
+ | Feature | Description |
140
+ |---------|-------------|
141
+ | **AI Sales Agent** | Trained on the company's website content |
142
+ | **WhatsApp Number** | Shareable link for customers to chat |
143
+ | **Webchat Widget** | Embed code for your website |
144
+ | **Knowledge Base** | Auto-populated from website research |
145
+ | **Dashboard Access** | Manage, train, and customize your agent |
146
+
147
+ ## Use Cases
148
+
149
+ - **Sales Teams** - Qualify leads 24/7 on WhatsApp and website
150
+ - **Startups** - Add AI customer service without hiring
151
+ - **Agencies** - Build chatbots for clients in minutes
152
+ - **E-commerce** - Answer product questions automatically
153
+ - **SaaS** - Handle trial user questions and demos
68
154
 
69
- ### `create_agent`
155
+ ## Pricing
70
156
 
71
- Create an AI sales agent for any company.
157
+ | Plan | Credits | Features |
158
+ |------|---------|----------|
159
+ | **Free** | 100 | WhatsApp + Webchat, Basic KB |
160
+ | **Starter** | 1,000/mo | Priority support, Analytics |
161
+ | **Pro** | 5,000/mo | Custom branding, API access |
72
162
 
73
- **Parameters:**
74
- - `company_name` (required): Name of the company
75
- - `website_url` (required): Company website URL
163
+ ## Links
76
164
 
77
- **Example prompt:**
78
- > Create an AI sales agent for Stripe with website https://stripe.com
165
+ - [Documentation](https://automanus.io/docs/mcp)
166
+ - [Dashboard](https://automanus.io/dashboard)
167
+ - [API Reference](https://automanus.io/docs/api)
168
+ - [GitHub](https://github.com/ShenSeanChen/AutoManus)
79
169
 
80
- ## Documentation
170
+ ## Support
81
171
 
82
- Full documentation at [automanus.io/docs/mcp](https://automanus.io/docs/mcp)
172
+ - Email: hello@automanus.io
173
+ - GitHub Issues: [Report a bug](https://github.com/ShenSeanChen/AutoManus/issues)
83
174
 
84
175
  ## License
85
176
 
package/dist/index.js CHANGED
@@ -17,10 +17,14 @@ const API_BASE_URL = 'https://automanus.io/api/v1';
17
17
  const tools = [
18
18
  {
19
19
  name: 'create_sales_agent',
20
- description: 'Create an AI sales agent for a business. Researches the website automatically and deploys to WhatsApp and Webchat.',
20
+ description: 'Create an AI sales agent for a business. Researches the website automatically and deploys to WhatsApp and Webchat. Ask the user for their email if not provided.',
21
21
  inputSchema: {
22
22
  type: 'object',
23
23
  properties: {
24
+ email: {
25
+ type: 'string',
26
+ description: 'User email address for account creation and receiving the agent claim link. Ask the user for this.',
27
+ },
24
28
  company_name: {
25
29
  type: 'string',
26
30
  description: 'Business/company name',
@@ -37,47 +41,6 @@ const tools = [
37
41
  required: ['company_name'],
38
42
  },
39
43
  },
40
- {
41
- name: 'add_knowledge',
42
- description: 'Add a knowledge base item to an existing agent.',
43
- inputSchema: {
44
- type: 'object',
45
- properties: {
46
- agent_id: {
47
- type: 'string',
48
- description: 'Agent UUID',
49
- },
50
- title: {
51
- type: 'string',
52
- description: 'Item title (e.g., "Return Policy", "Pro Plan Features")',
53
- },
54
- content: {
55
- type: 'string',
56
- description: 'Item content/description',
57
- },
58
- item_type: {
59
- type: 'string',
60
- enum: ['product', 'faq', 'policy'],
61
- description: 'Type of knowledge item',
62
- },
63
- },
64
- required: ['agent_id', 'title', 'content'],
65
- },
66
- },
67
- {
68
- name: 'get_agent_status',
69
- description: 'Get status of an agent including deployment info and knowledge base count.',
70
- inputSchema: {
71
- type: 'object',
72
- properties: {
73
- agent_id: {
74
- type: 'string',
75
- description: 'Agent UUID',
76
- },
77
- },
78
- required: ['agent_id'],
79
- },
80
- },
81
44
  ];
82
45
  // Get auth config from environment
83
46
  function getAuthConfig() {
@@ -99,11 +62,13 @@ function getHeaders() {
99
62
  }
100
63
  // Tool handlers
101
64
  async function handleCreateSalesAgent(args) {
102
- const { email, apiKey } = getAuthConfig();
65
+ const { email: envEmail, apiKey } = getAuthConfig();
66
+ // Use provided email, fall back to env variable
67
+ const email = args.email || envEmail;
103
68
  if (!apiKey && !email) {
104
69
  return JSON.stringify({
105
- error: 'AUTOMANUS_EMAIL or AUTOMANUS_API_KEY environment variable required',
106
- hint: 'Set AUTOMANUS_EMAIL in your MCP config to create agents',
70
+ error: 'Email address is required to create an agent',
71
+ hint: 'Please provide your email address so we can send you a link to claim your agent.',
107
72
  });
108
73
  }
109
74
  const body = {
@@ -133,6 +98,8 @@ async function handleCreateSalesAgent(args) {
133
98
  });
134
99
  }
135
100
  // Format successful response
101
+ // For new users, use claim_url for the dashboard link (dashboard_url requires auth)
102
+ const manageUrl = data.is_new_user ? data.claim_url : data.dashboard_url;
136
103
  return JSON.stringify({
137
104
  success: true,
138
105
  agent_id: data.agent_id,
@@ -140,7 +107,7 @@ async function handleCreateSalesAgent(args) {
140
107
  company_name: data.company_name,
141
108
  webchat_embed_code: data.webchat_embed_code,
142
109
  whatsapp_link: data.whatsapp_link,
143
- dashboard_url: data.dashboard_url,
110
+ dashboard_url: manageUrl, // Use claim URL for new users
144
111
  knowledge_base_count: data.knowledge_base_count,
145
112
  is_new_user: data.is_new_user,
146
113
  claim_url: data.claim_url,
@@ -155,24 +122,6 @@ async function handleCreateSalesAgent(args) {
155
122
  });
156
123
  }
157
124
  }
158
- async function handleAddKnowledge(args) {
159
- // Note: This would need an authenticated endpoint
160
- // For now, return a message about the limitation
161
- return JSON.stringify({
162
- error: 'add_knowledge is not yet available via MCP',
163
- hint: 'Use the AutoManus dashboard to add knowledge base items',
164
- dashboard_url: `https://automanus.io/dashboard/ai-agent/${args.agent_id}`,
165
- });
166
- }
167
- async function handleGetAgentStatus(args) {
168
- // Note: This would need an authenticated endpoint
169
- // For now, return a message about the limitation
170
- return JSON.stringify({
171
- error: 'get_agent_status is not yet available via MCP',
172
- hint: 'Use the AutoManus dashboard to view agent status',
173
- dashboard_url: `https://automanus.io/dashboard/ai-agent/${args.agent_id}`,
174
- });
175
- }
176
125
  // Main server setup
177
126
  async function main() {
178
127
  const server = new Server({
@@ -195,12 +144,6 @@ async function main() {
195
144
  case 'create_sales_agent':
196
145
  result = await handleCreateSalesAgent(args);
197
146
  break;
198
- case 'add_knowledge':
199
- result = await handleAddKnowledge(args);
200
- break;
201
- case 'get_agent_status':
202
- result = await handleGetAgentStatus(args);
203
- break;
204
147
  default:
205
148
  result = JSON.stringify({ error: `Unknown tool: ${name}` });
206
149
  }
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;;;;;GASG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EACL,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,oCAAoC,CAAC;AAE5C,MAAM,YAAY,GAAG,6BAA6B,CAAC;AAEnD,mBAAmB;AACnB,MAAM,KAAK,GAAG;IACZ;QACE,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EACT,oHAAoH;QACtH,WAAW,EAAE;YACX,IAAI,EAAE,QAAiB;YACvB,UAAU,EAAE;gBACV,YAAY,EAAE;oBACZ,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,uBAAuB;iBACrC;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,oEAAoE;iBACvE;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,iEAAiE;iBAC/E;aACF;YACD,QAAQ,EAA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AAC;IACrC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@automanus/mcp-server",
3
- "version": "1.0.1",
4
- "description": "MCP server for AutoManus - Create AI sales agents via Claude, Cursor, and other AI tools",
3
+ "version": "1.2.0",
4
+ "description": "MCP server for AutoManus - Create AI sales agents with WhatsApp and Webchat via Claude Desktop, Cursor, and other AI coding tools. Build sales chatbots instantly.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "bin": {
@@ -23,8 +23,17 @@
23
23
  "automanus",
24
24
  "ai-agent",
25
25
  "sales-agent",
26
+ "chatbot",
27
+ "whatsapp-bot",
28
+ "webchat",
29
+ "ai-chatbot",
30
+ "sales-chatbot",
31
+ "customer-service",
32
+ "lead-generation",
26
33
  "claude",
27
- "cursor"
34
+ "claude-desktop",
35
+ "cursor",
36
+ "anthropic"
28
37
  ],
29
38
  "author": "AutoManus <hello@automanus.io>",
30
39
  "license": "MIT",