@insforge/mcp 1.2.6 → 1.2.8

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/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  registerInsforgeTools
4
- } from "./chunk-3S2HFIGS.js";
4
+ } from "./chunk-DZ5W3BSP.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,27 @@
1
1
  {
2
2
  "name": "@insforge/mcp",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
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
+ "mcp": "./dist/index.js",
10
+ "insforge-mcp": "./dist/index.js",
11
+ "insforge-mcp-server": "./dist/http-server.js"
10
12
  },
11
13
  "scripts": {
12
14
  "dev:stdio": "tsx watch src/stdio/index.ts",
13
15
  "dev:http": "tsx watch src/http/server.ts",
14
16
  "build": "tsup",
15
- "prepublishOnly": "npm run build"
17
+ "prepublishOnly": "npm run build",
18
+ "test": "vitest run --passWithNoTests",
19
+ "test:unit": "vitest run --passWithNoTests",
20
+ "test:integration:real": "vitest run src/integration/real-project.test.ts",
21
+ "test:watch": "vitest",
22
+ "test:coverage": "vitest run --coverage",
23
+ "lint": "eslint .",
24
+ "format": "prettier --write ."
16
25
  },
17
26
  "keywords": [
18
27
  "mcp",
@@ -36,22 +45,40 @@
36
45
  "server.json"
37
46
  ],
38
47
  "dependencies": {
39
- "@insforge/shared-schemas": "1.1.42",
40
- "@modelcontextprotocol/sdk": "^1.15.1",
41
- "@types/express": "^5.0.3",
48
+ "@insforge/shared-schemas": "1.1.46",
49
+ "@modelcontextprotocol/sdk": "^1.27.1",
42
50
  "archiver": "^7.0.1",
43
51
  "commander": "^14.0.0",
52
+ "dotenv": "^17.3.1",
44
53
  "express": "^5.1.0",
45
54
  "form-data": "^4.0.4",
55
+ "ioredis": "^5.9.3",
56
+ "mixpanel": "^0.18.1",
46
57
  "node-fetch": "^3.3.2",
47
58
  "zod": "^3.23.8"
48
59
  },
60
+ "overrides": {
61
+ "brace-expansion": "^5.0.5",
62
+ "glob": "^10.5.0",
63
+ "minimatch": "^9.0.7",
64
+ "rollup": "^4.59.0"
65
+ },
49
66
  "devDependencies": {
67
+ "@eslint/js": "^10.0.1",
50
68
  "@types/archiver": "^7.0.0",
69
+ "@types/express": "^5.0.3",
51
70
  "@types/node": "^20.10.5",
71
+ "@vitest/coverage-v8": "^4.1.0",
72
+ "eslint": "^10.0.3",
73
+ "eslint-config-prettier": "^10.1.8",
74
+ "eslint-plugin-prettier": "^5.5.5",
75
+ "prettier": "^3.8.1",
52
76
  "rimraf": "^5.0.5",
53
77
  "tsup": "^8.5.0",
54
78
  "tsx": "^4.7.0",
55
- "typescript": "^5.3.3"
79
+ "typescript": "^5.3.3",
80
+ "typescript-eslint": "^8.57.1",
81
+ "vite": "^8.0.3",
82
+ "vitest": "^4.1.0"
56
83
  }
57
84
  }
package/server.json CHANGED
@@ -1,17 +1,40 @@
1
1
  {
2
- "$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
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",
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.1.5",
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
  }