@appsai/mcp-server 1.0.4 โ†’ 1.0.6

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,153 +1,101 @@
1
- # MCP Registry
1
+ # AppsAI MCP Server
2
2
 
3
- The MCP registry provides MCP clients with a list of MCP servers, like an app store for MCP servers.
3
+ Build and deploy full-stack Next.js apps with AI. This MCP server connects Claude Code, Cursor, Windsurf, and other AI tools to your AppsAI projects.
4
4
 
5
- [**๐Ÿ“ค Publish my MCP server**](docs/modelcontextprotocol-io/quickstart.mdx) | [**โšก๏ธ Live API docs**](https://registry.modelcontextprotocol.io/docs) | [**๐Ÿ‘€ Ecosystem vision**](docs/design/ecosystem-vision.md) | ๐Ÿ“– **[Full documentation](./docs)**
6
-
7
- ## Development Status
8
-
9
- **2025-10-24 update**: The Registry API has entered an **API freeze (v0.1)** ๐ŸŽ‰. For the next month or more, the API will remain stable with no breaking changes, allowing integrators to confidently implement support. This freeze applies to v0.1 while development continues on v0. We'll use this period to validate the API in real-world integrations and gather feedback to shape v1 for general availability. Thank you to everyone for your contributions and patienceโ€”your involvement has been key to getting us here!
10
-
11
- **2025-09-08 update**: The registry has launched in preview ๐ŸŽ‰ ([announcement blog post](https://blog.modelcontextprotocol.io/posts/2025-09-08-mcp-registry-preview/)). While the system is now more stable, this is still a preview release and breaking changes or data resets may occur. A general availability (GA) release will follow later. We'd love your feedback in [GitHub discussions](https://github.com/modelcontextprotocol/registry/discussions/new?category=ideas) or in the [#registry-dev Discord](https://discord.com/channels/1358869848138059966/1369487942862504016) ([joining details here](https://modelcontextprotocol.io/community/communication)).
12
-
13
- Current key maintainers:
14
- - **Adam Jones** (Anthropic) [@domdomegg](https://github.com/domdomegg)
15
- - **Tadas Antanavicius** (PulseMCP) [@tadasant](https://github.com/tadasant)
16
- - **Toby Padilla** (GitHub) [@toby](https://github.com/toby)
17
- - **Radoslav (Rado) Dimitrov** (Stacklok) [@rdimitrov](https://github.com/rdimitrov)
18
-
19
- ## Contributing
20
-
21
- We use multiple channels for collaboration - see [modelcontextprotocol.io/community/communication](https://modelcontextprotocol.io/community/communication).
22
-
23
- Often (but not always) ideas flow through this pipeline:
24
-
25
- - **[Discord](https://modelcontextprotocol.io/community/communication)** - Real-time community discussions
26
- - **[Discussions](https://github.com/modelcontextprotocol/registry/discussions)** - Propose and discuss product/technical requirements
27
- - **[Issues](https://github.com/modelcontextprotocol/registry/issues)** - Track well-scoped technical work
28
- - **[Pull Requests](https://github.com/modelcontextprotocol/registry/pulls)** - Contribute work towards issues
29
-
30
- ### Quick start:
31
-
32
- #### Pre-requisites
33
-
34
- - **Docker**
35
- - **Go 1.24.x**
36
- - **ko** - Container image builder for Go ([installation instructions](https://ko.build/install/))
37
- - **golangci-lint v2.4.0**
38
-
39
- #### Running the server
5
+ ## Installation
40
6
 
7
+ ### Claude Code
41
8
  ```bash
42
- # Start full development environment
43
- make dev-compose
9
+ claude mcp add appsai -e APPSAI_API_KEY=your_key -- npx -y @appsai/mcp-server
44
10
  ```
45
11
 
46
- This starts the registry at [`localhost:8080`](http://localhost:8080) with PostgreSQL. The database uses ephemeral storage and is reset each time you restart the containers, ensuring a clean state for development and testing.
47
-
48
- **Note:** The registry uses [ko](https://ko.build) to build container images. The `make dev-compose` command automatically builds the registry image with ko and loads it into your local Docker daemon before starting the services.
49
-
50
- By default, the registry seeds from the production API with a filtered subset of servers (to keep startup fast). This ensures your local environment mirrors production behavior and all seed data passes validation. For offline development you can seed from a file without validation with `MCP_REGISTRY_SEED_FROM=data/seed.json MCP_REGISTRY_ENABLE_REGISTRY_VALIDATION=false make dev-compose`.
51
-
52
- The setup can be configured with environment variables in [docker-compose.yml](./docker-compose.yml) - see [.env.example](./.env.example) for a reference.
53
-
54
- <details>
55
- <summary>Alternative: Running a pre-built Docker image</summary>
56
-
57
- Pre-built Docker images are automatically published to GitHub Container Registry:
58
-
59
- ```bash
60
- # Run latest stable release
61
- docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:latest
62
-
63
- # Run latest from main branch (continuous deployment)
64
- docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:main
65
-
66
- # Run specific release version
67
- docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:v1.0.0
68
-
69
- # Run development build from main branch
70
- docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:main-20250906-abc123d
12
+ ### Claude Desktop
13
+ Add to `claude_desktop_config.json`:
14
+ ```json
15
+ {
16
+ "mcpServers": {
17
+ "appsai": {
18
+ "command": "npx",
19
+ "args": ["-y", "@appsai/mcp-server"],
20
+ "env": {
21
+ "APPSAI_API_KEY": "your_key"
22
+ }
23
+ }
24
+ }
25
+ }
71
26
  ```
72
27
 
73
- **Available tags:**
74
- - **Releases**: `latest`, `v1.0.0`, `v1.1.0`, etc.
75
- - **Continuous**: `main` (latest main branch build)
76
- - **Development**: `main-<date>-<sha>` (specific commit builds)
28
+ ### Cursor / Windsurf
29
+ Add to MCP settings with:
30
+ - **Command:** `npx -y @appsai/mcp-server`
31
+ - **Environment:** `APPSAI_API_KEY=your_key`
77
32
 
78
- </details>
33
+ ## Getting Your API Key
79
34
 
80
- #### Publishing a server
35
+ 1. Sign up at [appsai.com](https://appsai.com)
36
+ 2. Go to **Settings > Billing > API Keys**
37
+ 3. Click **Create API Key**
38
+ 4. Copy the key (shown once)
81
39
 
82
- To publish a server, we've built a simple CLI. You can use it with:
40
+ ## Tools (98 Total)
83
41
 
84
- ```bash
85
- # Build the latest CLI
86
- make publisher
42
+ | Category | Tools | Description |
43
+ |----------|-------|-------------|
44
+ | **Project** | 5 | Create, list, and manage projects |
45
+ | **Canvas** | 25 | Edit React components, styles, and assets |
46
+ | **Server** | 6 | Backend Parse Server development |
47
+ | **System** | 5 | Deploy frontend and backend |
48
+ | **AWS** | 23 | CloudFormation, S3, Lambda, and more |
49
+ | **MongoDB** | 18 | Database and collection management |
50
+ | **Agent** | 9 | AI prompt management |
51
+ | **Shared** | 7 | Cross-AI communication |
52
+
53
+ ## Example Usage
87
54
 
88
- # Use it!
89
- ./bin/mcp-publisher --help
90
55
  ```
56
+ "List my projects"
57
+ โ†’ project_LIST_PROJECTS
91
58
 
92
- See [the publisher guide](./docs/modelcontextprotocol-io/quickstart.mdx) for more details.
59
+ "Create a new Next.js app"
60
+ โ†’ project_CREATE_PROJECT
93
61
 
94
- #### Other commands
62
+ "Show the file tree for project abc123"
63
+ โ†’ canvas_LIST_FILES
95
64
 
96
- ```bash
97
- # Run lint, unit tests and integration tests
98
- make check
65
+ "Deploy the frontend"
66
+ โ†’ system_DEPLOY_FRONTEND
99
67
  ```
100
68
 
101
- There are also a few more helpful commands for development. Run `make help` to learn more, or look in [Makefile](./Makefile).
69
+ ## Resources
102
70
 
103
- <!--
104
- For Claude and other AI tools: Always prefer make targets over custom commands where possible.
105
- -->
71
+ The server provides project context as MCP resources:
72
+ - `appsai://projects` - List of your projects
73
+ - `appsai://project/{id}` - Project details and file structure
106
74
 
107
- ## Architecture
75
+ ## Prompts
108
76
 
109
- ### Project Structure
77
+ Built-in prompts to build full applications:
78
+ - `build-youtube` - Build a YouTube clone with video uploads and comments
79
+ - `build-slack` - Build a Slack clone with real-time messaging
80
+ - `build-twitter` - Build a Twitter/X clone with posts and follows
81
+ - `connect-apps` - Connect two AppsAI projects together
110
82
 
111
- ```
112
- โ”œโ”€โ”€ cmd/ # Application entry points
113
- โ”‚ โ””โ”€โ”€ publisher/ # Server publishing tool
114
- โ”œโ”€โ”€ data/ # Seed data
115
- โ”œโ”€โ”€ deploy/ # Deployment configuration (Pulumi)
116
- โ”œโ”€โ”€ docs/ # Documentation
117
- โ”œโ”€โ”€ internal/ # Private application code
118
- โ”‚ โ”œโ”€โ”€ api/ # HTTP handlers and routing
119
- โ”‚ โ”œโ”€โ”€ auth/ # Authentication (GitHub OAuth, JWT, namespace blocking)
120
- โ”‚ โ”œโ”€โ”€ config/ # Configuration management
121
- โ”‚ โ”œโ”€โ”€ database/ # Data persistence (PostgreSQL)
122
- โ”‚ โ”œโ”€โ”€ service/ # Business logic
123
- โ”‚ โ”œโ”€โ”€ telemetry/ # Metrics and monitoring
124
- โ”‚ โ””โ”€โ”€ validators/ # Input validation
125
- โ”œโ”€โ”€ pkg/ # Public packages
126
- โ”‚ โ”œโ”€โ”€ api/ # API types and structures
127
- โ”‚ โ”‚ โ””โ”€โ”€ v0/ # Version 0 API types
128
- โ”‚ โ””โ”€โ”€ model/ # Data models for server.json
129
- โ”œโ”€โ”€ scripts/ # Development and testing scripts
130
- โ”œโ”€โ”€ tests/ # Integration tests
131
- โ””โ”€โ”€ tools/ # CLI tools and utilities
132
- โ””โ”€โ”€ validate-*.sh # Schema validation tools
133
- ```
83
+ ## Requirements
134
84
 
135
- ### Authentication
85
+ - Node.js 18+
86
+ - AppsAI account with credits
87
+ - API key from Settings > Billing
136
88
 
137
- Publishing supports multiple authentication methods:
138
- - **GitHub OAuth** - For publishing by logging into GitHub
139
- - **GitHub OIDC** - For publishing from GitHub Actions
140
- - **DNS verification** - For proving ownership of a domain and its subdomains
141
- - **HTTP verification** - For proving ownership of a domain
89
+ ## Documentation
142
90
 
143
- The registry validates namespace ownership when publishing. E.g. to publish...:
144
- - `io.github.domdomegg/my-cool-mcp` you must login to GitHub as `domdomegg`, or be in a GitHub Action on domdomegg's repos
145
- - `me.adamjones/my-cool-mcp` you must prove ownership of `adamjones.me` via DNS or HTTP challenge
91
+ - [AppsAI Docs](https://appsai.com/docs)
92
+ - [MCP Integration Guide](https://appsai.com/docs/mcp)
146
93
 
147
- ## Community Projects
94
+ ## Support
148
95
 
149
- Check out [community projects](docs/community-projects.md) to explore notable registry-related work created by the community.
96
+ - [GitHub Issues](https://github.com/appsai-inc/mcp-server/issues)
97
+ - [Discord](https://discord.gg/appsai)
150
98
 
151
- ## More documentation
99
+ ## License
152
100
 
153
- See the [documentation](./docs) for more details if your question has not been answered here!
101
+ MIT
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { Server } from '@modelcontextprotocol/sdk/server/index.js';
9
9
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
10
- import { CallToolRequestSchema, ListToolsRequestSchema, } from '@modelcontextprotocol/sdk/types.js';
10
+ import { CallToolRequestSchema, ListToolsRequestSchema, ListResourcesRequestSchema, ReadResourceRequestSchema, ListPromptsRequestSchema, GetPromptRequestSchema, } from '@modelcontextprotocol/sdk/types.js';
11
11
  import * as dotenv from 'dotenv';
12
12
  import { getAllTools, executeToolCall } from './tools.js';
13
13
  import { validateAPIKey, initializeParse } from './utils/parse.js';
@@ -46,6 +46,8 @@ async function createServer() {
46
46
  }, {
47
47
  capabilities: {
48
48
  tools: {},
49
+ resources: {},
50
+ prompts: {},
49
51
  },
50
52
  });
51
53
  // Handle tool listing
@@ -84,6 +86,191 @@ async function createServer() {
84
86
  };
85
87
  }
86
88
  });
89
+ // Handle resource listing
90
+ server.setRequestHandler(ListResourcesRequestSchema, async () => {
91
+ try {
92
+ await ensureAuthenticated();
93
+ return {
94
+ resources: [
95
+ {
96
+ uri: 'appsai://projects',
97
+ name: 'Projects',
98
+ description: 'List of your AppsAI projects',
99
+ mimeType: 'application/json',
100
+ },
101
+ ],
102
+ };
103
+ }
104
+ catch {
105
+ return { resources: [] };
106
+ }
107
+ });
108
+ // Handle resource reading
109
+ server.setRequestHandler(ReadResourceRequestSchema, async (request) => {
110
+ const { uri } = request.params;
111
+ console.error(`[MCP] Resource read: ${uri}`);
112
+ try {
113
+ const userId = await ensureAuthenticated();
114
+ if (uri === 'appsai://projects') {
115
+ const result = await executeToolCall('project_LIST_PROJECTS', {}, userId);
116
+ return {
117
+ contents: [
118
+ {
119
+ uri,
120
+ mimeType: 'application/json',
121
+ text: result.content[0].type === 'text' ? result.content[0].text : '[]',
122
+ },
123
+ ],
124
+ };
125
+ }
126
+ // Handle appsai://project/{id}
127
+ const projectMatch = uri.match(/^appsai:\/\/project\/(.+)$/);
128
+ if (projectMatch) {
129
+ const projectId = projectMatch[1];
130
+ const result = await executeToolCall('project_GET_PROJECT_DETAILS', { projectId }, userId);
131
+ return {
132
+ contents: [
133
+ {
134
+ uri,
135
+ mimeType: 'application/json',
136
+ text: result.content[0].type === 'text' ? result.content[0].text : '{}',
137
+ },
138
+ ],
139
+ };
140
+ }
141
+ throw new Error(`Unknown resource: ${uri}`);
142
+ }
143
+ catch (error) {
144
+ const message = error instanceof Error ? error.message : 'Unknown error';
145
+ throw new Error(`Failed to read resource: ${message}`);
146
+ }
147
+ });
148
+ // Handle prompt listing
149
+ server.setRequestHandler(ListPromptsRequestSchema, async () => {
150
+ return {
151
+ prompts: [
152
+ {
153
+ name: 'build-youtube',
154
+ description: 'Build a YouTube clone with video uploads, playback, and comments',
155
+ arguments: [
156
+ { name: 'projectId', description: 'Target project ID', required: true },
157
+ ],
158
+ },
159
+ {
160
+ name: 'build-slack',
161
+ description: 'Build a Slack clone with real-time messaging and channels',
162
+ arguments: [
163
+ { name: 'projectId', description: 'Target project ID', required: true },
164
+ ],
165
+ },
166
+ {
167
+ name: 'build-twitter',
168
+ description: 'Build a Twitter/X clone with posts, likes, and follows',
169
+ arguments: [
170
+ { name: 'projectId', description: 'Target project ID', required: true },
171
+ ],
172
+ },
173
+ {
174
+ name: 'connect-apps',
175
+ description: 'Connect two AppsAI projects to share data and functionality',
176
+ arguments: [
177
+ { name: 'sourceProjectId', description: 'Source project ID', required: true },
178
+ { name: 'targetProjectId', description: 'Target project ID', required: true },
179
+ ],
180
+ },
181
+ ],
182
+ };
183
+ });
184
+ // Handle prompt retrieval
185
+ server.setRequestHandler(GetPromptRequestSchema, async (request) => {
186
+ const { name, arguments: args } = request.params;
187
+ const prompts = {
188
+ 'build-youtube': {
189
+ description: 'Build a YouTube clone',
190
+ content: `Build a YouTube clone in project ${args?.projectId || 'unknown'}.
191
+
192
+ Features to implement:
193
+ 1. Video upload with S3 storage (use aws_createS3Bucket, aws_uploadFilesToS3)
194
+ 2. Video playback page with player component
195
+ 3. Video listing/feed with thumbnails
196
+ 4. Comments system with MongoDB (use mongodb_createCollection)
197
+ 5. Like/dislike functionality
198
+ 6. User channels and subscriptions
199
+ 7. Search functionality
200
+
201
+ Start by listing current files with canvas_LIST_FILES, then build each feature incrementally.
202
+ Deploy with system_DEPLOY_ALL when ready.`,
203
+ },
204
+ 'build-slack': {
205
+ description: 'Build a Slack clone',
206
+ content: `Build a Slack clone in project ${args?.projectId || 'unknown'}.
207
+
208
+ Features to implement:
209
+ 1. Real-time messaging with Parse Live Queries
210
+ 2. Channels (public and private)
211
+ 3. Direct messages between users
212
+ 4. Message threads and replies
213
+ 5. File sharing with S3 (use aws_createS3Bucket)
214
+ 6. User presence (online/offline status)
215
+ 7. Message search
216
+ 8. Emoji reactions
217
+
218
+ Set up MongoDB collections for messages, channels, and users.
219
+ Use server_SET_SERVER_FILE for backend real-time logic.
220
+ Deploy with system_DEPLOY_ALL when ready.`,
221
+ },
222
+ 'build-twitter': {
223
+ description: 'Build a Twitter/X clone',
224
+ content: `Build a Twitter/X clone in project ${args?.projectId || 'unknown'}.
225
+
226
+ Features to implement:
227
+ 1. Post tweets (280 char limit)
228
+ 2. Image/video uploads to S3
229
+ 3. Like and retweet functionality
230
+ 4. Follow/unfollow users
231
+ 5. User profiles with bio and avatar
232
+ 6. Home feed with posts from followed users
233
+ 7. Trending topics
234
+ 8. Notifications
235
+
236
+ Set up MongoDB collections for posts, users, follows, likes.
237
+ Build the feed algorithm in server code.
238
+ Deploy with system_DEPLOY_ALL when ready.`,
239
+ },
240
+ 'connect-apps': {
241
+ description: 'Connect two AppsAI projects',
242
+ content: `Connect project ${args?.sourceProjectId || 'source'} to project ${args?.targetProjectId || 'target'}.
243
+
244
+ This enables:
245
+ 1. Shared authentication between apps
246
+ 2. Cross-app data access
247
+ 3. Unified API endpoints
248
+ 4. Shared MongoDB collections
249
+
250
+ Steps:
251
+ 1. Get details of both projects with project_GET_PROJECT_DETAILS
252
+ 2. Set up shared environment variables in both projects
253
+ 3. Configure CORS for cross-origin requests
254
+ 4. Create shared API endpoints in server code
255
+ 5. Deploy both projects
256
+
257
+ Use canvas_SET_ENV_VARIABLE and server_SET_SERVER_ENV_VARIABLE to configure connections.`,
258
+ },
259
+ };
260
+ const prompt = prompts[name];
261
+ if (!prompt) {
262
+ throw new Error(`Unknown prompt: ${name}`);
263
+ }
264
+ return {
265
+ description: prompt.description,
266
+ messages: [
267
+ {
268
+ role: 'user',
269
+ content: { type: 'text', text: prompt.content },
270
+ },
271
+ ],
272
+ };
273
+ });
87
274
  return server;
88
275
  }
89
276
  /**
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;GAKG;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;AAC5C,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnE,6BAA6B;AAC7B,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB,+BAA+B;AAC/B,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC;AAE3C,kCAAkC;AAClC,IAAI,YAAY,GAAkB,IAAI,CAAC;AAEvC;;GAEG;AACH,KAAK,UAAU,mBAAmB;IAChC,IAAI,YAAY,EAAE,CAAC;QACjB,OAAO,YAAY,CAAC;IACtB,CAAC;IAED,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;IACrE,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,cAAc,CAAC,OAA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oBAAoB,EAAE,CAAC;QAE7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAChC,OAAO,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAAC;IACpD,CAAC;IAAC,OAAO,KAAc,EAAE,CAAC;QACxB,MAAM,OAAO,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,CAAC;QACzE,OAAO,CAAC,KAAK,CAAC,sBAAsB,OAAO,EAAE,CAAC,CAAC;QAC/C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC;AAED,iBAAiB;AACjB,IAAI,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsai/mcp-server",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Official MCP server for AppsAI - connect Claude Code to your AppsAI projects",
5
5
  "mcpName": "com.appsai/mcp-server",
6
6
  "type": "module",
package/server.json CHANGED
@@ -6,13 +6,13 @@
6
6
  "url": "https://github.com/appsai-inc/mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "1.0.4",
9
+ "version": "1.0.6",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "registryBaseUrl": "https://registry.npmjs.org",
14
14
  "identifier": "@appsai/mcp-server",
15
- "version": "1.0.4",
15
+ "version": "1.0.6",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },