@insforge/mcp 1.2.6 → 1.2.7
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 +21 -0
- package/dist/{chunk-3S2HFIGS.js → chunk-Z3FXBI3Z.js} +1324 -691
- package/dist/http-server.js +2087 -130
- package/dist/index.js +3 -2
- package/package.json +32 -7
- package/server.json +29 -6
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
registerInsforgeTools
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Z3FXBI3Z.js";
|
|
5
5
|
|
|
6
6
|
// src/stdio/index.ts
|
|
7
7
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -19,7 +19,8 @@ async function main() {
|
|
|
19
19
|
});
|
|
20
20
|
const toolsConfig = await registerInsforgeTools(server, {
|
|
21
21
|
apiKey: api_key,
|
|
22
|
-
apiBaseUrl: api_base_url || process.env.API_BASE_URL
|
|
22
|
+
apiBaseUrl: api_base_url || process.env.API_BASE_URL,
|
|
23
|
+
mode: "local"
|
|
23
24
|
});
|
|
24
25
|
const transport = new StdioServerTransport();
|
|
25
26
|
await server.connect(transport);
|
package/package.json
CHANGED
|
@@ -1,18 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insforge/mcp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"description": "MCP (Model Context Protocol) server for Insforge backend-as-a-service",
|
|
5
5
|
"mcpName": "io.github.InsForge/insforge-mcp",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"bin": {
|
|
9
|
-
"insforge-mcp": "./dist/index.js"
|
|
9
|
+
"insforge-mcp": "./dist/index.js",
|
|
10
|
+
"insforge-mcp-server": "./dist/http/server.js"
|
|
10
11
|
},
|
|
11
12
|
"scripts": {
|
|
12
13
|
"dev:stdio": "tsx watch src/stdio/index.ts",
|
|
13
14
|
"dev:http": "tsx watch src/http/server.ts",
|
|
14
15
|
"build": "tsup",
|
|
15
|
-
"prepublishOnly": "npm run build"
|
|
16
|
+
"prepublishOnly": "npm run build",
|
|
17
|
+
"test": "vitest run --passWithNoTests",
|
|
18
|
+
"test:unit": "vitest run --passWithNoTests",
|
|
19
|
+
"test:integration:real": "vitest run src/integration/real-project.test.ts",
|
|
20
|
+
"test:watch": "vitest",
|
|
21
|
+
"test:coverage": "vitest run --coverage",
|
|
22
|
+
"lint": "eslint .",
|
|
23
|
+
"format": "prettier --write ."
|
|
16
24
|
},
|
|
17
25
|
"keywords": [
|
|
18
26
|
"mcp",
|
|
@@ -36,22 +44,39 @@
|
|
|
36
44
|
"server.json"
|
|
37
45
|
],
|
|
38
46
|
"dependencies": {
|
|
39
|
-
"@insforge/shared-schemas": "1.1.
|
|
40
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
41
|
-
"@types/express": "^5.0.3",
|
|
47
|
+
"@insforge/shared-schemas": "1.1.46",
|
|
48
|
+
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
42
49
|
"archiver": "^7.0.1",
|
|
43
50
|
"commander": "^14.0.0",
|
|
51
|
+
"dotenv": "^17.3.1",
|
|
44
52
|
"express": "^5.1.0",
|
|
45
53
|
"form-data": "^4.0.4",
|
|
54
|
+
"ioredis": "^5.9.3",
|
|
55
|
+
"mixpanel": "^0.18.1",
|
|
46
56
|
"node-fetch": "^3.3.2",
|
|
47
57
|
"zod": "^3.23.8"
|
|
48
58
|
},
|
|
59
|
+
"overrides": {
|
|
60
|
+
"brace-expansion": "^5.0.5",
|
|
61
|
+
"glob": "^10.5.0",
|
|
62
|
+
"minimatch": "^9.0.7",
|
|
63
|
+
"rollup": "^4.59.0"
|
|
64
|
+
},
|
|
49
65
|
"devDependencies": {
|
|
66
|
+
"@eslint/js": "^10.0.1",
|
|
50
67
|
"@types/archiver": "^7.0.0",
|
|
68
|
+
"@types/express": "^5.0.3",
|
|
51
69
|
"@types/node": "^20.10.5",
|
|
70
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
71
|
+
"eslint": "^10.0.3",
|
|
72
|
+
"eslint-config-prettier": "^10.1.8",
|
|
73
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
74
|
+
"prettier": "^3.8.1",
|
|
52
75
|
"rimraf": "^5.0.5",
|
|
53
76
|
"tsup": "^8.5.0",
|
|
54
77
|
"tsx": "^4.7.0",
|
|
55
|
-
"typescript": "^5.3.3"
|
|
78
|
+
"typescript": "^5.3.3",
|
|
79
|
+
"typescript-eslint": "^8.57.1",
|
|
80
|
+
"vitest": "^4.1.0"
|
|
56
81
|
}
|
|
57
82
|
}
|
package/server.json
CHANGED
|
@@ -1,17 +1,40 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "io.github.InsForge/insforge-mcp",
|
|
4
|
-
"title": "
|
|
5
|
-
"description": "MCP server for
|
|
6
|
-
"
|
|
4
|
+
"title": "InsForge",
|
|
5
|
+
"description": "MCP server for InsForge BaaS — database, storage, edge functions, and deployments",
|
|
6
|
+
"repository": {
|
|
7
|
+
"url": "https://github.com/InsForge/insforge-mcp",
|
|
8
|
+
"source": "github"
|
|
9
|
+
},
|
|
10
|
+
"version": "1.2.6",
|
|
11
|
+
"remotes": [
|
|
12
|
+
{
|
|
13
|
+
"type": "streamable-http",
|
|
14
|
+
"url": "https://mcp.insforge.dev/mcp"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
7
17
|
"packages": [
|
|
8
18
|
{
|
|
9
19
|
"registryType": "npm",
|
|
10
20
|
"identifier": "@insforge/mcp",
|
|
11
|
-
"version": "1.
|
|
21
|
+
"version": "1.2.6",
|
|
12
22
|
"transport": {
|
|
13
23
|
"type": "stdio"
|
|
14
|
-
}
|
|
24
|
+
},
|
|
25
|
+
"environmentVariables": [
|
|
26
|
+
{
|
|
27
|
+
"name": "API_KEY",
|
|
28
|
+
"description": "InsForge project API key",
|
|
29
|
+
"isRequired": true,
|
|
30
|
+
"isSecret": true
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "API_BASE_URL",
|
|
34
|
+
"description": "InsForge backend URL (e.g. https://your-app.us-east.insforge.app)",
|
|
35
|
+
"isRequired": true
|
|
36
|
+
}
|
|
37
|
+
]
|
|
15
38
|
}
|
|
16
39
|
]
|
|
17
40
|
}
|