@fonoster/mcp 0.31.3 → 0.33.0

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
@@ -114,7 +114,7 @@ Add the following to your `claude_desktop_config.json`:
114
114
  | `MCP_APIKEY_ACCESS_KEY_ID` | Your API key access key ID | Yes |
115
115
  | `MCP_APIKEY_ACCESS_KEY_SECRET` | Your API key secret | Yes |
116
116
  | `MCP_ENDPOINT` | Custom API endpoint (e.g., `localhost:50051`) | No |
117
- | `MCP_ALLOW_INSECURE` | Allow insecure connections (`true`/`false`) | No |
117
+ | `FONOSTER_CA_FILE` | A PEM file of certificate authorities to trust, such as an install's `config/tls/ca.pem` | No |
118
118
 
119
119
  ### Testing with the MCP Inspector
120
120
 
package/dist/env.d.ts CHANGED
@@ -2,5 +2,4 @@ declare const WORKSPACE_ACCESS_KEY_ID: string;
2
2
  declare const ACCESS_KEY_ID: string;
3
3
  declare const ACCESS_KEY_SECRET: string;
4
4
  declare const ENDPOINT: string;
5
- declare const ALLOW_INSECURE: boolean;
6
- export { WORKSPACE_ACCESS_KEY_ID, ACCESS_KEY_ID, ACCESS_KEY_SECRET, ENDPOINT, ALLOW_INSECURE };
5
+ export { WORKSPACE_ACCESS_KEY_ID, ACCESS_KEY_ID, ACCESS_KEY_SECRET, ENDPOINT };
package/dist/env.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ALLOW_INSECURE = exports.ENDPOINT = exports.ACCESS_KEY_SECRET = exports.ACCESS_KEY_ID = exports.WORKSPACE_ACCESS_KEY_ID = void 0;
3
+ exports.ENDPOINT = exports.ACCESS_KEY_SECRET = exports.ACCESS_KEY_ID = exports.WORKSPACE_ACCESS_KEY_ID = void 0;
4
4
  /**
5
5
  * Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
6
6
  * http://github.com/fonoster/fonoster
@@ -33,5 +33,3 @@ const ACCESS_KEY_SECRET = process.env.MCP_APIKEY_ACCESS_KEY_SECRET;
33
33
  exports.ACCESS_KEY_SECRET = ACCESS_KEY_SECRET;
34
34
  const ENDPOINT = process.env.MCP_ENDPOINT;
35
35
  exports.ENDPOINT = ENDPOINT;
36
- const ALLOW_INSECURE = process.env.MCP_ALLOW_INSECURE === "true";
37
- exports.ALLOW_INSECURE = ALLOW_INSECURE;
@@ -67,8 +67,7 @@ function createClient() {
67
67
  return __awaiter(this, void 0, void 0, function* () {
68
68
  const client = new SDK.Client({
69
69
  accessKeyId: env_1.WORKSPACE_ACCESS_KEY_ID,
70
- endpoint: env_1.ENDPOINT,
71
- allowInsecure: env_1.ALLOW_INSECURE
70
+ endpoint: env_1.ENDPOINT
72
71
  });
73
72
  yield client.loginWithApiKey(env_1.ACCESS_KEY_ID, env_1.ACCESS_KEY_SECRET);
74
73
  return client;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/mcp",
3
- "version": "0.31.3",
3
+ "version": "0.33.0",
4
4
  "description": "Model Context Protocol for Fonoster",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -21,9 +21,9 @@
21
21
  "dev": "nodemon --exec tsx --watch src src/index.ts"
22
22
  },
23
23
  "dependencies": {
24
- "@fonoster/common": "^0.31.3",
25
- "@fonoster/logger": "^0.31.0",
26
- "@fonoster/sdk": "^0.31.3",
24
+ "@fonoster/common": "^0.33.0",
25
+ "@fonoster/logger": "^0.33.0",
26
+ "@fonoster/sdk": "^0.33.0",
27
27
  "@modelcontextprotocol/sdk": "^1.4.0"
28
28
  },
29
29
  "files": [
@@ -39,5 +39,5 @@
39
39
  "bugs": {
40
40
  "url": "https://github.com/fonoster/fonoster/issues"
41
41
  },
42
- "gitHead": "e845cabac7f5cdcdc7c4f93682d5c2c90e5d6d79"
42
+ "gitHead": "ab449441e5e628169680422c66b8cc3474ad9bf9"
43
43
  }