@automanus/mcp-server 1.1.0 → 1.2.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 AutoManus
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,10 +1,23 @@
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.
9
+
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
8
21
 
9
22
  Add to your Claude Desktop config file:
10
23
  - **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
@@ -21,7 +34,10 @@ Add to your Claude Desktop config file:
21
34
  }
22
35
  ```
23
36
 
24
- ### For Cursor
37
+ Restart Claude Desktop, then try:
38
+ > "Create an AI sales agent for Stripe"
39
+
40
+ ### Cursor
25
41
 
26
42
  Add to `~/.cursor/mcp.json`:
27
43
 
@@ -36,13 +52,51 @@ Add to `~/.cursor/mcp.json`:
36
52
  }
37
53
  ```
38
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
+
39
93
  ## Authentication
40
94
 
41
- No configuration required! Claude will ask for your email when creating an agent.
95
+ **No configuration required!** Claude will ask for your email when creating an agent.
42
96
 
43
97
  ### Optional: Pre-configure email
44
98
 
45
- If you want to skip the email prompt, add your email to the config:
99
+ If you want to skip the email prompt:
46
100
 
47
101
  ```json
48
102
  {
@@ -78,25 +132,45 @@ With an API key, agents are created directly under your account:
78
132
 
79
133
  Get your API key from [automanus.io/dashboard](https://automanus.io/dashboard).
80
134
 
81
- ## 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
82
148
 
83
- ### `create_sales_agent`
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
84
154
 
85
- Create an AI sales agent for any company.
155
+ ## Pricing
86
156
 
87
- **Parameters:**
88
- - `email` (optional): Your email address. Claude will ask if not provided.
89
- - `company_name` (required): Name of the company
90
- - `website_url` (optional): Company website URL for auto-populating knowledge base
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 |
91
162
 
92
- **Example prompts:**
93
- > Create an AI sales agent for Stripe
163
+ ## Links
94
164
 
95
- > Build a sales agent for my company TechStartup with website techstartup.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/automanus-io/mcp-server)
96
169
 
97
- ## Documentation
170
+ ## Support
98
171
 
99
- 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/automanus-io/mcp-server/issues)
100
174
 
101
175
  ## License
102
176
 
package/dist/index.js CHANGED
@@ -43,43 +43,33 @@ const tools = [
43
43
  },
44
44
  {
45
45
  name: 'add_knowledge',
46
- description: 'Add a knowledge base item to an existing agent.',
46
+ description: 'Add a knowledge base item to an existing AI sales agent. Use this to provide product info, FAQs, policies, or other information the agent should know.',
47
47
  inputSchema: {
48
48
  type: 'object',
49
49
  properties: {
50
50
  agent_id: {
51
51
  type: 'string',
52
- description: 'Agent UUID',
52
+ description: 'The ID of the agent to add knowledge to (returned from create_sales_agent)',
53
53
  },
54
54
  title: {
55
55
  type: 'string',
56
- description: 'Item title (e.g., "Return Policy", "Pro Plan Features")',
56
+ description: 'Title of the knowledge item',
57
57
  },
58
58
  content: {
59
59
  type: 'string',
60
- description: 'Item content/description',
60
+ description: 'The content/body of the knowledge item',
61
61
  },
62
62
  item_type: {
63
63
  type: 'string',
64
- enum: ['product', 'faq', 'policy'],
65
- description: 'Type of knowledge item',
64
+ enum: ['faq', 'product', 'policy', 'document'],
65
+ description: 'Type of knowledge item (default: faq)',
66
66
  },
67
- },
68
- required: ['agent_id', 'title', 'content'],
69
- },
70
- },
71
- {
72
- name: 'get_agent_status',
73
- description: 'Get status of an agent including deployment info and knowledge base count.',
74
- inputSchema: {
75
- type: 'object',
76
- properties: {
77
- agent_id: {
67
+ category: {
78
68
  type: 'string',
79
- description: 'Agent UUID',
69
+ description: 'Category for organizing (e.g., "Pricing", "Products", "Company Info")',
80
70
  },
81
71
  },
82
- required: ['agent_id'],
72
+ required: ['agent_id', 'title', 'content'],
83
73
  },
84
74
  },
85
75
  ];
@@ -139,6 +129,8 @@ async function handleCreateSalesAgent(args) {
139
129
  });
140
130
  }
141
131
  // Format successful response
132
+ // For new users, use claim_url for the dashboard link (dashboard_url requires auth)
133
+ const manageUrl = data.is_new_user ? data.claim_url : data.dashboard_url;
142
134
  return JSON.stringify({
143
135
  success: true,
144
136
  agent_id: data.agent_id,
@@ -146,7 +138,7 @@ async function handleCreateSalesAgent(args) {
146
138
  company_name: data.company_name,
147
139
  webchat_embed_code: data.webchat_embed_code,
148
140
  whatsapp_link: data.whatsapp_link,
149
- dashboard_url: data.dashboard_url,
141
+ dashboard_url: manageUrl, // Use claim URL for new users
150
142
  knowledge_base_count: data.knowledge_base_count,
151
143
  is_new_user: data.is_new_user,
152
144
  claim_url: data.claim_url,
@@ -161,23 +153,50 @@ async function handleCreateSalesAgent(args) {
161
153
  });
162
154
  }
163
155
  }
156
+ // Handler for add_knowledge tool
164
157
  async function handleAddKnowledge(args) {
165
- // Note: This would need an authenticated endpoint
166
- // For now, return a message about the limitation
167
- return JSON.stringify({
168
- error: 'add_knowledge is not yet available via MCP',
169
- hint: 'Use the AutoManus dashboard to add knowledge base items',
170
- dashboard_url: `https://automanus.io/dashboard/ai-agent/${args.agent_id}`,
171
- });
172
- }
173
- async function handleGetAgentStatus(args) {
174
- // Note: This would need an authenticated endpoint
175
- // For now, return a message about the limitation
176
- return JSON.stringify({
177
- error: 'get_agent_status is not yet available via MCP',
178
- hint: 'Use the AutoManus dashboard to view agent status',
179
- dashboard_url: `https://automanus.io/dashboard/ai-agent/${args.agent_id}`,
180
- });
158
+ if (!args.agent_id || !args.title || !args.content) {
159
+ return JSON.stringify({
160
+ error: 'agent_id, title, and content are required',
161
+ });
162
+ }
163
+ const body = {
164
+ agent_id: args.agent_id,
165
+ title: args.title,
166
+ content: args.content,
167
+ };
168
+ if (args.item_type) {
169
+ body.item_type = args.item_type;
170
+ }
171
+ if (args.category) {
172
+ body.category = args.category;
173
+ }
174
+ try {
175
+ const response = await fetch(`${API_BASE_URL}/public/knowledge`, {
176
+ method: 'POST',
177
+ headers: getHeaders(),
178
+ body: JSON.stringify(body),
179
+ });
180
+ const data = (await response.json());
181
+ if (!response.ok) {
182
+ return JSON.stringify({
183
+ error: data.error || 'Failed to add knowledge item',
184
+ status: response.status,
185
+ });
186
+ }
187
+ return JSON.stringify({
188
+ success: true,
189
+ knowledge_item_id: data.knowledge_item_id,
190
+ agent_id: data.agent_id,
191
+ embedding_generated: data.embedding_generated,
192
+ message: `Knowledge item "${args.title}" added successfully to agent.`,
193
+ });
194
+ }
195
+ catch (error) {
196
+ return JSON.stringify({
197
+ error: error instanceof Error ? error.message : 'Network error',
198
+ });
199
+ }
181
200
  }
182
201
  // Main server setup
183
202
  async function main() {
@@ -204,9 +223,6 @@ async function main() {
204
223
  case 'add_knowledge':
205
224
  result = await handleAddKnowledge(args);
206
225
  break;
207
- case 'get_agent_status':
208
- result = await handleGetAgentStatus(args);
209
- break;
210
226
  default:
211
227
  result = JSON.stringify({ error: `Unknown tool: ${name}` });
212
228
  }
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,kKAAkK;QACpK,WAAW,EAAE;YACX,IAAI,EAAE,QAAiB;YACvB,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,oGAAoG;iBAClH;gBACD,YAAY,EAAE;oBACZ,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,uBAAuB;iBACrC;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,WAAW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E,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;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.1.0",
4
- "description": "MCP server for AutoManus - Create AI sales agents via Claude, Cursor, and other AI tools",
3
+ "version": "1.2.1",
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,19 +23,27 @@
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",
31
40
  "repository": {
32
41
  "type": "git",
33
- "url": "https://github.com/ShenSeanChen/AutoManus.git",
34
- "directory": "packages/mcp-server"
42
+ "url": "https://github.com/automanus-io/mcp-server"
35
43
  },
36
44
  "homepage": "https://automanus.io/docs/mcp",
37
45
  "bugs": {
38
- "url": "https://github.com/ShenSeanChen/AutoManus/issues"
46
+ "url": "https://github.com/automanus-io/mcp-server/issues"
39
47
  },
40
48
  "dependencies": {
41
49
  "@modelcontextprotocol/sdk": "^0.6.0"