@solongate/proxy 0.1.12 → 0.1.13

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/create.js CHANGED
@@ -181,14 +181,14 @@ console.log = (...args: unknown[]) => {
181
181
  process.stderr.write(args.map(String).join(' ') + '\\n');
182
182
  };
183
183
 
184
- import { SecureMcpServer } from '@solongate/sdk';
184
+ import { SecureMcpServer, createPermissivePolicySet } from '@solongate/sdk';
185
185
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
186
186
  import { z } from 'zod';
187
187
 
188
- const server = new SecureMcpServer({
189
- name: '${name}',
190
- version: '0.1.0',
191
- });
188
+ const server = new SecureMcpServer(
189
+ { name: '${name}', version: '0.1.0' },
190
+ { policySet: createPermissivePolicySet() },
191
+ );
192
192
 
193
193
  server.tool(
194
194
  'hello',
package/dist/index.js CHANGED
@@ -842,14 +842,14 @@ console.log = (...args: unknown[]) => {
842
842
  process.stderr.write(args.map(String).join(' ') + '\\n');
843
843
  };
844
844
 
845
- import { SecureMcpServer } from '@solongate/sdk';
845
+ import { SecureMcpServer, createPermissivePolicySet } from '@solongate/sdk';
846
846
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
847
847
  import { z } from 'zod';
848
848
 
849
- const server = new SecureMcpServer({
850
- name: '${name}',
851
- version: '0.1.0',
852
- });
849
+ const server = new SecureMcpServer(
850
+ { name: '${name}', version: '0.1.0' },
851
+ { policySet: createPermissivePolicySet() },
852
+ );
853
853
 
854
854
  server.tool(
855
855
  'hello',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solongate/proxy",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "MCP security proxy — protect any MCP server with policies, input validation, rate limiting, and audit logging. Zero code changes required.",
5
5
  "type": "module",
6
6
  "bin": {