@xano/developer-mcp 1.0.18 โ 1.0.20
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,6 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# ๐ Xano Developer MCP
|
|
4
|
+
|
|
5
|
+
**Supercharge your AI with the power of Xano**
|
|
6
|
+
|
|
7
|
+
[](https://www.npmjs.com/package/@xano/developer-mcp)
|
|
8
|
+
[](LICENSE)
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
๐ค **AI-Powered** ยท ๐ **Comprehensive Docs** ยท โก **Instant Setup** ยท ๐ง **Built-in Tools**
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
An MCP server that gives AI assistants superpowers for developing on [Xano](https://xano.com) โ complete with documentation, code validation, and workflow guides.
|
|
19
|
+
|
|
20
|
+
> ๐ก **What's Xano?** The fastest way to build a scalable backend for your app โ no code required. Build APIs, manage databases, and deploy instantly.
|
|
21
|
+
|
|
22
|
+
### ๐ Quick Links
|
|
23
|
+
|
|
24
|
+
| ๐ [Website](https://xano.com) | ๐ [Docs](https://docs.xano.com/) | ๐ [Blog](https://www.xano.com/blog/) | ๐ฌ [Community](https://community.xano.com/) | ๐ฆ [npm](https://www.npmjs.com/package/@xano/developer-mcp) |
|
|
25
|
+
|:---:|:---:|:---:|:---:|:---:|
|
|
4
26
|
|
|
5
27
|
## Overview
|
|
6
28
|
|
|
@@ -22,6 +44,20 @@ claude mcp add xano-developer -- npx -y @xano/developer-mcp
|
|
|
22
44
|
|
|
23
45
|
That's it! The MCP server will be automatically installed and configured.
|
|
24
46
|
|
|
47
|
+
### Install via npm
|
|
48
|
+
|
|
49
|
+
You can also install the package globally from npm:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
npm install -g @xano/developer-mcp
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Then add to Claude Code:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
claude mcp add xano-developer -- xano-developer-mcp
|
|
59
|
+
```
|
|
60
|
+
|
|
25
61
|
### Claude Desktop
|
|
26
62
|
|
|
27
63
|
Add to your Claude Desktop configuration file:
|
|
@@ -84,6 +84,30 @@ query "products" verb=GET {
|
|
|
84
84
|
|
|
85
85
|
---
|
|
86
86
|
|
|
87
|
+
## Input Block
|
|
88
|
+
|
|
89
|
+
For complete type and filter reference, use `xanoscript_docs({ keyword: "input" })`.
|
|
90
|
+
|
|
91
|
+
### Empty Input Blocks
|
|
92
|
+
|
|
93
|
+
**CRITICAL:** When an endpoint has no input parameters, the input block braces MUST be on separate lines. `input {}` on a single line will cause parsing errors.
|
|
94
|
+
|
|
95
|
+
```xs
|
|
96
|
+
// CORRECT - braces on separate lines
|
|
97
|
+
query "health" verb=GET {
|
|
98
|
+
api_group = "System"
|
|
99
|
+
input {
|
|
100
|
+
}
|
|
101
|
+
stack { ... }
|
|
102
|
+
response = { status: "ok" }
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// WRONG - causes parsing errors
|
|
106
|
+
input {}
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
87
111
|
## Authentication
|
|
88
112
|
|
|
89
113
|
### Public Endpoint (default)
|
|
@@ -19,6 +19,15 @@ function "<name>" {
|
|
|
19
19
|
}
|
|
20
20
|
response = $result
|
|
21
21
|
}
|
|
22
|
+
|
|
23
|
+
// Function with no inputs - IMPORTANT: braces must be on separate lines
|
|
24
|
+
function "<name>" {
|
|
25
|
+
description = "..."
|
|
26
|
+
input {
|
|
27
|
+
}
|
|
28
|
+
stack { ... }
|
|
29
|
+
response = $result
|
|
30
|
+
}
|
|
22
31
|
```
|
|
23
32
|
|
|
24
33
|
### Calling Functions
|
|
@@ -73,6 +82,33 @@ input {
|
|
|
73
82
|
}
|
|
74
83
|
```
|
|
75
84
|
|
|
85
|
+
### Empty Input Blocks
|
|
86
|
+
|
|
87
|
+
**CRITICAL:** When a function has no input parameters, the input block braces MUST be on separate lines. This is a syntax requirement.
|
|
88
|
+
|
|
89
|
+
```xs
|
|
90
|
+
// CORRECT - braces on separate lines
|
|
91
|
+
function "get_all_users" {
|
|
92
|
+
description = "Returns all users"
|
|
93
|
+
input {
|
|
94
|
+
}
|
|
95
|
+
stack {
|
|
96
|
+
db.query "user" {} as $users
|
|
97
|
+
}
|
|
98
|
+
response = $users
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// WRONG - will cause parsing errors
|
|
102
|
+
function "get_all_users" {
|
|
103
|
+
description = "Returns all users"
|
|
104
|
+
input {} // <-- ERROR: braces must be on separate lines
|
|
105
|
+
stack {
|
|
106
|
+
db.query "user" {} as $users
|
|
107
|
+
}
|
|
108
|
+
response = $users
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
|
|
76
112
|
---
|
|
77
113
|
|
|
78
114
|
## Stack Block
|
|
@@ -74,6 +74,25 @@ input {
|
|
|
74
74
|
}
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
+
### Empty Input Blocks
|
|
78
|
+
|
|
79
|
+
**CRITICAL:** When a tool has no input parameters, the input block braces MUST be on separate lines. `input {}` on a single line will cause parsing errors.
|
|
80
|
+
|
|
81
|
+
```xs
|
|
82
|
+
// CORRECT - braces on separate lines
|
|
83
|
+
tool "get_system_status" {
|
|
84
|
+
description = "Get current system status"
|
|
85
|
+
instructions = "Use this to check if the system is healthy"
|
|
86
|
+
input {
|
|
87
|
+
}
|
|
88
|
+
stack { ... }
|
|
89
|
+
response = $status
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// WRONG - causes parsing errors
|
|
93
|
+
input {}
|
|
94
|
+
```
|
|
95
|
+
|
|
77
96
|
---
|
|
78
97
|
|
|
79
98
|
## Tool-Specific Statements
|
|
@@ -60,14 +60,16 @@ input {
|
|
|
60
60
|
}
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
### Empty Input Blocks
|
|
64
|
+
|
|
65
|
+
**CRITICAL:** When an input block has no parameters, the braces MUST be on separate lines. This is a strict syntax requirement - `input {}` on a single line will cause parsing errors.
|
|
64
66
|
|
|
65
67
|
```xs
|
|
66
|
-
//
|
|
68
|
+
// CORRECT - braces on separate lines
|
|
67
69
|
input {
|
|
68
70
|
}
|
|
69
71
|
|
|
70
|
-
//
|
|
72
|
+
// WRONG - causes parsing errors
|
|
71
73
|
input {}
|
|
72
74
|
```
|
|
73
75
|
|