@appsai/mcp-server 1.0.1 β†’ 1.0.3

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,124 +1,153 @@
1
- # AppsAI MCP Server
1
+ # MCP Registry
2
2
 
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)
3
+ The MCP registry provides MCP clients with a list of MCP servers, like an app store for MCP servers.
6
4
 
7
- <p align="center">
8
- <img src="logo.png" alt="AppsAI Logo" width="128" height="128">
9
- </p>
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)**
10
6
 
11
- Build and deploy full-stack Next.js applications through natural language. Connect Claude Code and other MCP-compatible tools to your AppsAI projects.
7
+ ## Development Status
12
8
 
13
- ## Quick Start
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!
14
10
 
15
- ### 1. Get an API Key
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)).
16
12
 
17
- 1. Sign up at [appsai.com](https://appsai.com)
18
- 2. Go to **Settings β†’ Billing β†’ API Keys**
19
- 3. Click **Create Key** and copy it (shown only once)
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)
20
18
 
21
- ### 2. Add to Claude Code
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
22
40
 
23
41
  ```bash
24
- claude mcp add appsai --env APPSAI_API_KEY=your_key_here -- npx @appsai/mcp-server
42
+ # Start full development environment
43
+ make dev-compose
25
44
  ```
26
45
 
27
- ### 3. Start Building
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.
28
47
 
29
- ```
30
- "List my projects"
31
- "Create a new project using the nextjs-starter template"
32
- "Show the element tree for app/page.tsx in project abc123"
33
- "Add a hero section with a gradient background"
34
- "Deploy the frontend"
35
- ```
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.
36
49
 
37
- ## Features
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`.
38
51
 
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
52
+ The setup can be configured with environment variables in [docker-compose.yml](./docker-compose.yml) - see [.env.example](./.env.example) for a reference.
46
53
 
47
- ## Tool Categories
54
+ <details>
55
+ <summary>Alternative: Running a pre-built Docker image</summary>
48
56
 
49
- | Category | Tools | Description |
50
- |----------|-------|-------------|
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 |
57
+ Pre-built Docker images are automatically published to GitHub Container Registry:
59
58
 
60
- ## Example Workflows
59
+ ```bash
60
+ # Run latest stable release
61
+ docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:latest
61
62
 
62
- ### Create and Deploy a New App
63
+ # Run latest from main branch (continuous deployment)
64
+ docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:main
63
65
 
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"
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
69
71
  ```
70
72
 
71
- ### Modify an Existing Project
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)
72
77
 
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
- ```
78
+ </details>
79
+
80
+ #### Publishing a server
79
81
 
80
- ### Database Operations
82
+ To publish a server, we've built a simple CLI. You can use it with:
81
83
 
84
+ ```bash
85
+ # Build the latest CLI
86
+ make publisher
87
+
88
+ # Use it!
89
+ ./bin/mcp-publisher --help
82
90
  ```
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"
91
+
92
+ See [the publisher guide](./docs/modelcontextprotocol-io/quickstart.mdx) for more details.
93
+
94
+ #### Other commands
95
+
96
+ ```bash
97
+ # Run lint, unit tests and integration tests
98
+ make check
86
99
  ```
87
100
 
88
- ## Environment Variables
101
+ There are also a few more helpful commands for development. Run `make help` to learn more, or look in [Makefile](./Makefile).
89
102
 
90
- | Variable | Required | Description |
91
- |----------|----------|-------------|
92
- | `APPSAI_API_KEY` | Yes | Your API key from Settings β†’ Billing β†’ API Keys |
103
+ <!--
104
+ For Claude and other AI tools: Always prefer make targets over custom commands where possible.
105
+ -->
93
106
 
94
- ## Billing
107
+ ## Architecture
95
108
 
96
- Usage is charged to your AppsAI credit balance:
109
+ ### Project Structure
97
110
 
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 |
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
+ ```
105
134
 
106
- View usage at [appsai.com/editor/settings](https://appsai.com/editor/settings) β†’ Billing β†’ Credit History.
135
+ ### Authentication
107
136
 
108
- ## Documentation
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
109
142
 
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)
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
114
146
 
115
- ## Links
147
+ ## Community Projects
116
148
 
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)
149
+ Check out [community projects](docs/community-projects.md) to explore notable registry-related work created by the community.
121
150
 
122
- ## License
151
+ ## More documentation
123
152
 
124
- MIT
153
+ See the [documentation](./docs) for more details if your question has not been answered here!
package/dist/tools.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Converts OpenAI-style tool definitions to MCP format and routes tool calls.
5
5
  */
6
6
  import type { Tool } from '@modelcontextprotocol/sdk/types.js';
7
- export type ToolCategory = 'project' | 'canvas' | 'server' | 'system' | 'aws' | 'mongodb' | 'agent' | 'shared';
7
+ export type ToolCategory = 'project' | 'canvas' | 'server' | 'system' | 'aws' | 'mongodb' | 'agent';
8
8
  /**
9
9
  * Get all MCP tools
10
10
  * Fetches tool definitions from Parse Server
package/dist/tools.js CHANGED
@@ -6,15 +6,21 @@
6
6
  import { runCloudFunction } from './utils/parse.js';
7
7
  /**
8
8
  * Convert an OpenAI-style tool to MCP format
9
+ * Note: We strip additionalProperties to fix Claude Code MCP bug
10
+ * See: https://github.com/anthropics/claude-code/issues/2682
9
11
  */
10
12
  function convertToMCPTool(tool, category) {
13
+ // Clone and strip additionalProperties which causes Claude Code to reject tools
14
+ const { additionalProperties, ...cleanParams } = tool.parameters;
11
15
  return {
12
16
  name: `${category}_${tool.name}`,
13
17
  description: tool.description,
14
- inputSchema: tool.parameters,
18
+ inputSchema: cleanParams,
15
19
  };
16
20
  }
17
21
  // Project management tools (new for MCP)
22
+ // Note: Removed additionalProperties to fix Claude Code MCP tool registration bug
23
+ // See: https://github.com/anthropics/claude-code/issues/2682
18
24
  const projectTools = [
19
25
  {
20
26
  type: 'function',
@@ -27,7 +33,6 @@ const projectTools = [
27
33
  limit: { type: 'number', description: 'Maximum number of projects to return (default 20)' },
28
34
  },
29
35
  required: [],
30
- additionalProperties: false,
31
36
  },
32
37
  },
33
38
  {
@@ -36,9 +41,10 @@ const projectTools = [
36
41
  description: 'Get available starter templates for creating new projects',
37
42
  parameters: {
38
43
  type: 'object',
39
- properties: {},
44
+ properties: {
45
+ _placeholder: { type: 'string', description: 'Unused parameter (no parameters required)' },
46
+ },
40
47
  required: [],
41
- additionalProperties: false,
42
48
  },
43
49
  },
44
50
  {
@@ -51,7 +57,6 @@ const projectTools = [
51
57
  templateS3Key: { type: 'string', description: 'S3 key of the starter template to use' },
52
58
  },
53
59
  required: ['templateS3Key'],
54
- additionalProperties: false,
55
60
  },
56
61
  },
57
62
  {
@@ -64,7 +69,6 @@ const projectTools = [
64
69
  projectId: { type: 'string', description: 'The project ID' },
65
70
  },
66
71
  required: ['projectId'],
67
- additionalProperties: false,
68
72
  },
69
73
  },
70
74
  {
@@ -77,7 +81,6 @@ const projectTools = [
77
81
  projectId: { type: 'string', description: 'The project ID to delete' },
78
82
  },
79
83
  required: ['projectId'],
80
- additionalProperties: false,
81
84
  },
82
85
  },
83
86
  ];
@@ -98,7 +101,6 @@ const categoryToolToCloudFunction = {
98
101
  aws: 'executeMCPTool',
99
102
  mongodb: 'executeMCPTool',
100
103
  agent: 'executeMCPTool',
101
- shared: 'executeMCPTool',
102
104
  };
103
105
  /**
104
106
  * Get all MCP tools
package/dist/tools.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"tools.js","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,O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;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,QAAQ,KAAK,OAAO,EAAE,EAAE,CAAC;YAC5E,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsai/mcp-server",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
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
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
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.",
4
+ "description": "Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB.",
5
5
  "repository": {
6
- "url": "https://github.com/appsai/mcp-server",
6
+ "url": "https://github.com/appsai-inc/mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "1.0.0",
9
+ "version": "1.0.3",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
+ "registryBaseUrl": "https://registry.npmjs.org",
13
14
  "identifier": "@appsai/mcp-server",
14
- "version": "1.0.0",
15
+ "version": "1.0.3",
15
16
  "transport": {
16
17
  "type": "stdio"
17
18
  },
@@ -25,52 +26,5 @@
25
26
  }
26
27
  ]
27
28
  }
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
29
  ]
76
30
  }