@apso/cli 0.10.1 → 0.11.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
@@ -21,6 +21,49 @@ npm install -g @apso/cli
21
21
 
22
22
  Requires Node.js 18.0 or higher.
23
23
 
24
+ ## MCP Server (AI editor integration)
25
+
26
+ Apso works as an MCP server inside Claude Code, Cursor, Windsurf, and other MCP-compatible editors. Your AI assistant can design schemas, generate APIs, and deploy backends through conversation.
27
+
28
+ **Claude Code**
29
+
30
+ ```bash
31
+ claude mcp add apso -- apso mcp serve
32
+ ```
33
+
34
+ **Cursor / VS Code / Other editors**
35
+
36
+ Add to your MCP configuration:
37
+
38
+ ```json
39
+ {
40
+ "mcpServers": {
41
+ "apso": {
42
+ "command": "apso",
43
+ "args": ["mcp", "serve"]
44
+ }
45
+ }
46
+ }
47
+ ```
48
+
49
+ **Available tools:**
50
+
51
+ | Tool | Description |
52
+ |------|-------------|
53
+ | `design_schema` | Design a database schema from application requirements |
54
+ | `validate_schema` | Validate an `.apsorc` schema file |
55
+ | `scaffold_api` | Generate API code from schema (TypeScript, Python, or Go) |
56
+ | `setup_auth` | Configure authentication (BetterAuth, Auth0, Clerk, Cognito, API Keys) |
57
+ | `start_dev_server` | Start local dev environment via Docker Compose |
58
+ | `deploy_api` | Deploy to the Apso platform |
59
+
60
+ **Available resources:**
61
+
62
+ | Resource | URI | Description |
63
+ |----------|-----|-------------|
64
+ | Schema reference | `apso://schema-guide` | Schema design guidelines and examples |
65
+ | Current schema | `apso://current-schema` | Your project's current `.apsorc` |
66
+
24
67
  ## Connect
25
68
 
26
69
  Authenticate with the Apso platform:
@@ -72,6 +115,7 @@ Your API is live at `http://localhost:3000` with Swagger docs at `/api`. The gen
72
115
  | [projects](#apso-projects) | | List services in a workspace |
73
116
  | [config](#apso-config) | `get`, `set`, `reset` | View or modify CLI configuration |
74
117
  | [schema](#apso-schema) | `diff`, `push`, `pull`, `validate` | Manage schema sync with platform |
118
+ | [mcp serve](#mcp-server-ai-editor-integration) | | Start MCP server for AI editors |
75
119
 
76
120
  ## Command reference
77
121
 
@@ -17,8 +17,8 @@ class McpServe extends base_command_1.default {
17
17
  async run() {
18
18
  await this.parse(McpServe);
19
19
  const server = new mcp_js_1.McpServer({
20
- name: "api-tools",
21
- version: "0.1.0",
20
+ name: "apso",
21
+ version: "0.10.2",
22
22
  });
23
23
  this.registerTools(server);
24
24
  this.registerResources(server);
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@apso/cli",
3
- "version": "0.10.1",
3
+ "version": "0.11.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@apso/cli",
9
- "version": "0.10.1",
9
+ "version": "0.11.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@electric-sql/pglite": "^0.2.17",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.10.1",
2
+ "version": "0.11.0",
3
3
  "commands": {
4
4
  "config": {
5
5
  "id": "config",
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@apso/cli",
3
- "version": "0.10.1",
3
+ "version": "0.11.0",
4
+ "mcpName": "io.github.apsoai/apso",
4
5
  "description": "Apso CLI",
5
6
  "author": "Apso by Mavric - @mavric",
6
7
  "bin": {
@@ -123,6 +124,10 @@
123
124
  "apso-cli",
124
125
  "cli",
125
126
  "oclif",
127
+ "mcp",
128
+ "mcp-server",
129
+ "model-context-protocol",
130
+ "ai-coding",
126
131
  "backend-generator",
127
132
  "api-generator",
128
133
  "nestjs",