@insforge/mcp 1.2.4 → 1.2.5
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/LICENSE +201 -201
- package/README.md +92 -92
- package/dist/{chunk-452MLCIR.js → chunk-FUYK7JVW.js} +929 -630
- package/dist/http-server.js +2 -2
- package/dist/index.js +12 -9
- package/mcp.json +7 -7
- package/package.json +57 -55
- package/server.json +17 -17
package/dist/http-server.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
registerInsforgeTools
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FUYK7JVW.js";
|
|
5
5
|
|
|
6
6
|
// src/http/server.ts
|
|
7
7
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -91,7 +91,7 @@ app.post("/mcp", async (req, res) => {
|
|
|
91
91
|
name: "insforge-mcp",
|
|
92
92
|
version: "1.0.0"
|
|
93
93
|
});
|
|
94
|
-
registerInsforgeTools(mcpServer, {
|
|
94
|
+
await registerInsforgeTools(mcpServer, {
|
|
95
95
|
apiKey,
|
|
96
96
|
apiBaseUrl
|
|
97
97
|
});
|
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-FUYK7JVW.js";
|
|
5
5
|
|
|
6
6
|
// src/stdio/index.ts
|
|
7
7
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -12,15 +12,15 @@ program.option("--api_base_url <value>", "API Base URL");
|
|
|
12
12
|
program.parse(process.argv);
|
|
13
13
|
var options = program.opts();
|
|
14
14
|
var { api_key, api_base_url } = options;
|
|
15
|
-
var server = new McpServer({
|
|
16
|
-
name: "insforge-mcp",
|
|
17
|
-
version: "1.0.0"
|
|
18
|
-
});
|
|
19
|
-
var toolsConfig = registerInsforgeTools(server, {
|
|
20
|
-
apiKey: api_key,
|
|
21
|
-
apiBaseUrl: api_base_url || process.env.API_BASE_URL
|
|
22
|
-
});
|
|
23
15
|
async function main() {
|
|
16
|
+
const server = new McpServer({
|
|
17
|
+
name: "insforge-mcp",
|
|
18
|
+
version: "1.0.0"
|
|
19
|
+
});
|
|
20
|
+
const toolsConfig = await registerInsforgeTools(server, {
|
|
21
|
+
apiKey: api_key,
|
|
22
|
+
apiBaseUrl: api_base_url || process.env.API_BASE_URL
|
|
23
|
+
});
|
|
24
24
|
const transport = new StdioServerTransport();
|
|
25
25
|
await server.connect(transport);
|
|
26
26
|
console.error("Insforge MCP server started");
|
|
@@ -30,6 +30,9 @@ async function main() {
|
|
|
30
30
|
console.error("API Key: Not configured (will require api_key in tool calls)");
|
|
31
31
|
}
|
|
32
32
|
console.error(`API Base URL: ${toolsConfig.apiBaseUrl}`);
|
|
33
|
+
if (toolsConfig.backendVersion) {
|
|
34
|
+
console.error(`Backend Version: ${toolsConfig.backendVersion}`);
|
|
35
|
+
}
|
|
33
36
|
console.error(`Tools registered: ${toolsConfig.toolCount}`);
|
|
34
37
|
}
|
|
35
38
|
main().catch(console.error);
|
package/mcp.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://glama.ai/mcp/schemas/server.json",
|
|
3
|
-
"maintainers": [
|
|
4
|
-
"InsForge",
|
|
5
|
-
"tonychang04"
|
|
6
|
-
]
|
|
7
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://glama.ai/mcp/schemas/server.json",
|
|
3
|
+
"maintainers": [
|
|
4
|
+
"InsForge",
|
|
5
|
+
"tonychang04"
|
|
6
|
+
]
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,55 +1,57 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@insforge/mcp",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "MCP (Model Context Protocol) server for Insforge backend-as-a-service",
|
|
5
|
-
"mcpName": "io.github.InsForge/insforge-mcp",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"main": "dist/index.js",
|
|
8
|
-
"bin": {
|
|
9
|
-
"insforge-mcp": "./dist/index.js"
|
|
10
|
-
},
|
|
11
|
-
"scripts": {
|
|
12
|
-
"dev:stdio": "tsx watch src/stdio/index.ts",
|
|
13
|
-
"dev:http": "tsx watch src/http/server.ts",
|
|
14
|
-
"build": "tsup",
|
|
15
|
-
"prepublishOnly": "npm run build"
|
|
16
|
-
},
|
|
17
|
-
"keywords": [
|
|
18
|
-
"mcp",
|
|
19
|
-
"model-context-protocol",
|
|
20
|
-
"insforge",
|
|
21
|
-
"backend-as-a-service"
|
|
22
|
-
],
|
|
23
|
-
"author": "Insforge",
|
|
24
|
-
"license": "Apache-2.0",
|
|
25
|
-
"repository": {
|
|
26
|
-
"type": "git",
|
|
27
|
-
"url": "https://github.com/InsForge/insforge-mcp.git"
|
|
28
|
-
},
|
|
29
|
-
"homepage": "https://github.com/InsForge/insforge-mcp#readme",
|
|
30
|
-
"bugs": {
|
|
31
|
-
"url": "https://github.com/InsForge/insforge-mcp/issues"
|
|
32
|
-
},
|
|
33
|
-
"files": [
|
|
34
|
-
"dist",
|
|
35
|
-
"mcp.json",
|
|
36
|
-
"server.json"
|
|
37
|
-
],
|
|
38
|
-
"dependencies": {
|
|
39
|
-
"@insforge/shared-schemas": "
|
|
40
|
-
"@modelcontextprotocol/sdk": "^1.15.1",
|
|
41
|
-
"@types/express": "^5.0.3",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@insforge/mcp",
|
|
3
|
+
"version": "1.2.5",
|
|
4
|
+
"description": "MCP (Model Context Protocol) server for Insforge backend-as-a-service",
|
|
5
|
+
"mcpName": "io.github.InsForge/insforge-mcp",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"bin": {
|
|
9
|
+
"insforge-mcp": "./dist/index.js"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"dev:stdio": "tsx watch src/stdio/index.ts",
|
|
13
|
+
"dev:http": "tsx watch src/http/server.ts",
|
|
14
|
+
"build": "tsup",
|
|
15
|
+
"prepublishOnly": "npm run build"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"mcp",
|
|
19
|
+
"model-context-protocol",
|
|
20
|
+
"insforge",
|
|
21
|
+
"backend-as-a-service"
|
|
22
|
+
],
|
|
23
|
+
"author": "Insforge",
|
|
24
|
+
"license": "Apache-2.0",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "https://github.com/InsForge/insforge-mcp.git"
|
|
28
|
+
},
|
|
29
|
+
"homepage": "https://github.com/InsForge/insforge-mcp#readme",
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/InsForge/insforge-mcp/issues"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist",
|
|
35
|
+
"mcp.json",
|
|
36
|
+
"server.json"
|
|
37
|
+
],
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@insforge/shared-schemas": "1.1.38",
|
|
40
|
+
"@modelcontextprotocol/sdk": "^1.15.1",
|
|
41
|
+
"@types/express": "^5.0.3",
|
|
42
|
+
"archiver": "^7.0.1",
|
|
43
|
+
"commander": "^14.0.0",
|
|
44
|
+
"express": "^5.1.0",
|
|
45
|
+
"form-data": "^4.0.4",
|
|
46
|
+
"node-fetch": "^3.3.2",
|
|
47
|
+
"zod": "^3.23.8"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@types/archiver": "^7.0.0",
|
|
51
|
+
"@types/node": "^20.10.5",
|
|
52
|
+
"rimraf": "^5.0.5",
|
|
53
|
+
"tsup": "^8.5.0",
|
|
54
|
+
"tsx": "^4.7.0",
|
|
55
|
+
"typescript": "^5.3.3"
|
|
56
|
+
}
|
|
57
|
+
}
|
package/server.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
|
|
3
|
-
"name": "io.github.InsForge/insforge-mcp",
|
|
4
|
-
"title": "Insforge",
|
|
5
|
-
"description": "MCP server for Insforge BaaS - database, auth, storage, edge functions, and container logs",
|
|
6
|
-
"version": "1.1.5",
|
|
7
|
-
"packages": [
|
|
8
|
-
{
|
|
9
|
-
"registryType": "npm",
|
|
10
|
-
"identifier": "@insforge/mcp",
|
|
11
|
-
"version": "1.1.5",
|
|
12
|
-
"transport": {
|
|
13
|
-
"type": "stdio"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
|
|
3
|
+
"name": "io.github.InsForge/insforge-mcp",
|
|
4
|
+
"title": "Insforge",
|
|
5
|
+
"description": "MCP server for Insforge BaaS - database, auth, storage, edge functions, and container logs",
|
|
6
|
+
"version": "1.1.5",
|
|
7
|
+
"packages": [
|
|
8
|
+
{
|
|
9
|
+
"registryType": "npm",
|
|
10
|
+
"identifier": "@insforge/mcp",
|
|
11
|
+
"version": "1.1.5",
|
|
12
|
+
"transport": {
|
|
13
|
+
"type": "stdio"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|