@xano/developer-mcp 1.0.12 → 1.0.14

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.
@@ -1,6 +1,15 @@
1
1
  /**
2
2
  * Formatting utilities for API documentation output
3
3
  */
4
+ /**
5
+ * Base URL information included with any topic that has endpoints
6
+ */
7
+ const BASE_URL_INFO = `## Base URL
8
+ \`\`\`
9
+ https://<your-instance-subdomain>.xano.io/api:meta/<endpoint>
10
+ \`\`\`
11
+ Authorization: \`Bearer <your-access-token>\`
12
+ `;
4
13
  function formatParameter(param) {
5
14
  const required = param.required ? " (required)" : "";
6
15
  const defaultVal = param.default !== undefined ? ` [default: ${param.default}]` : "";
@@ -112,9 +121,13 @@ export function formatDocumentation(doc, detailLevel = "detailed", includeSchema
112
121
  sections.push("## AI Usage Hints");
113
122
  sections.push(doc.ai_hints);
114
123
  }
124
+ // Include base URL info if topic has endpoints or patterns (workflows)
125
+ if (doc.endpoints?.length || doc.patterns?.length) {
126
+ sections.push("");
127
+ sections.push(BASE_URL_INFO);
128
+ }
115
129
  // Endpoints
116
130
  if (doc.endpoints?.length) {
117
- sections.push("");
118
131
  sections.push("## Endpoints");
119
132
  for (const ep of doc.endpoints) {
120
133
  sections.push("");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xano/developer-mcp",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "MCP server for Xano Headless API documentation and XanoScript code validation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",