@appsai/mcp-server 1.0.0 → 1.0.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) 2026 AppsAI
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,19 +1,27 @@
1
1
  # AppsAI MCP Server
2
2
 
3
- The official Model Context Protocol (MCP) server for AppsAI. Connect Claude Code and other MCP-compatible tools to your AppsAI projects.
3
+ [![npm version](https://img.shields.io/npm/v/@appsai/mcp-server.svg)](https://www.npmjs.com/package/@appsai/mcp-server)
4
+ [![MCP Registry](https://img.shields.io/badge/MCP-Registry-blue)](https://registry.modelcontextprotocol.io/servers/com.appsai/mcp-server)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
+
7
+ <p align="center">
8
+ <img src="logo.png" alt="AppsAI Logo" width="128" height="128">
9
+ </p>
10
+
11
+ Build and deploy full-stack Next.js applications through natural language. Connect Claude Code and other MCP-compatible tools to your AppsAI projects.
4
12
 
5
13
  ## Quick Start
6
14
 
7
15
  ### 1. Get an API Key
8
16
 
9
- 1. Sign in to [AppsAI](https://appsai.com)
10
- 2. Go to **Settings → Billing** and scroll to **API Keys**
17
+ 1. Sign up at [appsai.com](https://appsai.com)
18
+ 2. Go to **Settings → Billing API Keys**
11
19
  3. Click **Create Key** and copy it (shown only once)
12
20
 
13
21
  ### 2. Add to Claude Code
14
22
 
15
23
  ```bash
16
- claude mcp add appsai --env APPSAI_API_KEY=appsai_xxxxx -- npx @appsai/mcp-server
24
+ claude mcp add appsai --env APPSAI_API_KEY=your_key_here -- npx @appsai/mcp-server
17
25
  ```
18
26
 
19
27
  ### 3. Start Building
@@ -21,53 +29,95 @@ claude mcp add appsai --env APPSAI_API_KEY=appsai_xxxxx -- npx @appsai/mcp-serve
21
29
  ```
22
30
  "List my projects"
23
31
  "Create a new project using the nextjs-starter template"
24
- "Show the files in project abc123"
25
- "Add a button component to app/page.tsx"
32
+ "Show the element tree for app/page.tsx in project abc123"
33
+ "Add a hero section with a gradient background"
26
34
  "Deploy the frontend"
27
35
  ```
28
36
 
29
37
  ## Features
30
38
 
31
- - **87 Tools** across 8 categories
32
- - **Project Management** Create, list, delete projects
33
- - **Frontend Development** — Edit React/Next.js components, styles, dependencies
34
- - **Backend Development** Manage Parse Server cloud functions
35
- - **Deployment** — Deploy to AWS with one command
36
- - **AWS Infrastructure** Run any AWS CLI command, manage CloudFormation
37
- - **MongoDB Atlas** Database and cluster management
38
- - **Pay-as-you-go** — Uses your AppsAI credit balance
39
+ - **98 Tools** across 8 categories for full-stack development
40
+ - **One-command deployment** to AWS CloudFront + Lambda
41
+ - **React/Next.js** frontend development with visual component editing
42
+ - **Parse Server** backend with cloud functions
43
+ - **AWS Infrastructure** via CloudFormation
44
+ - **MongoDB Atlas** database management
45
+ - **Pay-as-you-go** billing using your AppsAI credit balance
39
46
 
40
47
  ## Tool Categories
41
48
 
42
49
  | Category | Tools | Description |
43
50
  |----------|-------|-------------|
44
- | Project | 5 | Create, list, manage projects |
45
- | Canvas | 25 | Frontend React/Next.js development |
46
- | Server | 6 | Backend Parse Server development |
47
- | System | 5 | Deployment & environment |
48
- | AWS | 12 | Infrastructure via CLI + CloudFormation |
49
- | MongoDB | 18 | Database operations |
50
- | Agent | 9 | AI prompt management |
51
- | Shared | 7 | Cross-category communication |
51
+ | **Project** | 5 | Create, list, delete, get project details |
52
+ | **Canvas** | 25 | Frontend React/Next.js development |
53
+ | **Server** | 6 | Backend Parse Server cloud functions |
54
+ | **System** | 5 | Deployment & environment management |
55
+ | **AWS** | 23 | CloudFormation, S3, Lambda, CloudWatch |
56
+ | **MongoDB** | 18 | Clusters, databases, collections, queries |
57
+ | **Agent** | 9 | AI prompt management |
58
+ | **Shared** | 7 | Cross-category communication |
52
59
 
53
- ## Billing
60
+ ## Example Workflows
54
61
 
55
- Usage is charged to your AppsAI credit balance:
56
- - **File operations** — Free
57
- - **AI generation** — Model-based pricing
58
- - **AWS operations** Based on resources
59
- - **MongoDB** Based on cluster tier
60
- - **Deployment** Per deployment
62
+ ### Create and Deploy a New App
63
+
64
+ ```
65
+ 1. "What templates are available?"
66
+ 2. "Create a new project using the nextjs-starter template"
67
+ 3. "Add a landing page with a hero section and feature grid"
68
+ 4. "Deploy the frontend"
69
+ ```
70
+
71
+ ### Modify an Existing Project
72
+
73
+ ```
74
+ 1. "List my projects"
75
+ 2. "Show the files in project happy-purple-fox"
76
+ 3. "Update the navbar to include a login button"
77
+ 4. "Deploy all"
78
+ ```
79
+
80
+ ### Database Operations
81
+
82
+ ```
83
+ 1. "Create a MongoDB collection called 'users' in project abc123"
84
+ 2. "Add an index on the email field"
85
+ 3. "Query all users created in the last 7 days"
86
+ ```
61
87
 
62
88
  ## Environment Variables
63
89
 
64
90
  | Variable | Required | Description |
65
91
  |----------|----------|-------------|
66
- | `APPSAI_API_KEY` | Yes | Your API key from Settings → Billing |
92
+ | `APPSAI_API_KEY` | Yes | Your API key from Settings → Billing → API Keys |
93
+
94
+ ## Billing
95
+
96
+ Usage is charged to your AppsAI credit balance:
97
+
98
+ | Operation | Cost |
99
+ |-----------|------|
100
+ | File read/write | Free |
101
+ | AI generation | Model-based pricing |
102
+ | AWS operations | Based on resources |
103
+ | MongoDB | Based on cluster tier |
104
+ | Deployment | Per deployment |
105
+
106
+ View usage at [appsai.com/editor/settings](https://appsai.com/editor/settings) → Billing → Credit History.
67
107
 
68
108
  ## Documentation
69
109
 
70
- Full documentation: [appsai.com/docs/mcp](https://appsai.com/docs/mcp)
110
+ - [Quick Start Guide](https://appsai.com/docs/mcp/quickstart)
111
+ - [Authentication](https://appsai.com/docs/mcp/authentication)
112
+ - [Tools Reference](https://appsai.com/docs/mcp/tools)
113
+ - [Billing & Usage](https://appsai.com/docs/mcp/billing)
114
+
115
+ ## Links
116
+
117
+ - [Website](https://appsai.com)
118
+ - [Documentation](https://appsai.com/docs/mcp)
119
+ - [npm Package](https://www.npmjs.com/package/@appsai/mcp-server)
120
+ - [MCP Registry](https://registry.modelcontextprotocol.io/servers/com.appsai/mcp-server)
71
121
 
72
122
  ## License
73
123
 
package/logo.png ADDED
Binary file
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@appsai/mcp-server",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Official MCP server for AppsAI - connect Claude Code to your AppsAI projects",
5
+ "mcpName": "com.appsai/mcp-server",
5
6
  "type": "module",
6
7
  "main": "dist/index.js",
7
8
  "bin": {
@@ -28,7 +29,9 @@
28
29
  },
29
30
  "files": [
30
31
  "dist",
31
- "README.md"
32
+ "README.md",
33
+ "server.json",
34
+ "logo.png"
32
35
  ],
33
36
  "keywords": [
34
37
  "mcp",
package/server.json ADDED
@@ -0,0 +1,76 @@
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "com.appsai/mcp-server",
4
+ "description": "Build and deploy full-stack Next.js applications through natural language. 98 tools for frontend development, backend APIs, AWS infrastructure, MongoDB, and one-command deployment.",
5
+ "repository": {
6
+ "url": "https://github.com/appsai/mcp-server",
7
+ "source": "github"
8
+ },
9
+ "version": "1.0.0",
10
+ "packages": [
11
+ {
12
+ "registryType": "npm",
13
+ "identifier": "@appsai/mcp-server",
14
+ "version": "1.0.0",
15
+ "transport": {
16
+ "type": "stdio"
17
+ },
18
+ "environmentVariables": [
19
+ {
20
+ "name": "APPSAI_API_KEY",
21
+ "description": "Your AppsAI API key from Settings → Billing → API Keys",
22
+ "isRequired": true,
23
+ "format": "string",
24
+ "isSecret": true
25
+ }
26
+ ]
27
+ }
28
+ ],
29
+ "tools": [
30
+ {
31
+ "name": "project_LIST_PROJECTS",
32
+ "description": "List all projects owned by or shared with the user"
33
+ },
34
+ {
35
+ "name": "project_CREATE_PROJECT",
36
+ "description": "Create a new project from a starter template"
37
+ },
38
+ {
39
+ "name": "project_GET_TEMPLATES",
40
+ "description": "Get available starter templates"
41
+ },
42
+ {
43
+ "name": "canvas_SET_ELEMENT",
44
+ "description": "Create or modify React components"
45
+ },
46
+ {
47
+ "name": "canvas_GET_ELEMENT_TREE",
48
+ "description": "Get the component tree for a file"
49
+ },
50
+ {
51
+ "name": "system_DEPLOY_FRONTEND",
52
+ "description": "Deploy frontend to CloudFront CDN"
53
+ },
54
+ {
55
+ "name": "system_DEPLOY_BACKEND",
56
+ "description": "Deploy backend to AWS"
57
+ },
58
+ {
59
+ "name": "system_DEPLOY_ALL",
60
+ "description": "Deploy frontend and backend together"
61
+ }
62
+ ],
63
+ "categories": [
64
+ "developer-tools",
65
+ "deployment",
66
+ "cloud",
67
+ "database"
68
+ ],
69
+ "highlights": [
70
+ "98 tools across 8 categories",
71
+ "One-command deployment to AWS",
72
+ "Full-stack Next.js + Parse Server",
73
+ "MongoDB Atlas integration",
74
+ "Pay-as-you-go billing"
75
+ ]
76
+ }