@solongate/proxy 0.4.5 → 0.4.6
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 +4 -3
- package/dist/index.js +5 -4
- package/package.json +1 -1
package/dist/create.js
CHANGED
|
@@ -300,10 +300,11 @@ async function main() {
|
|
|
300
300
|
bEmpty();
|
|
301
301
|
log(` ${c.dim}\u251C${hr}\u2524${c.reset}`);
|
|
302
302
|
bEmpty();
|
|
303
|
-
bLine(`${c.yellow}Use with
|
|
303
|
+
bLine(`${c.yellow}Use with any MCP server:${c.reset}`);
|
|
304
304
|
bEmpty();
|
|
305
|
-
bLine(` ${c.cyan}$${c.reset} solongate-proxy -- npx @
|
|
306
|
-
bLine(` ${c.
|
|
305
|
+
bLine(` ${c.cyan}$${c.reset} solongate-proxy -- npx @modelcontextprotocol/server-filesystem .`);
|
|
306
|
+
bLine(` ${c.cyan}$${c.reset} solongate-proxy -- npx @playwright/mcp@latest`);
|
|
307
|
+
bLine(` ${c.dim}Wraps any MCP server or AI tool with SolonGate protection${c.reset}`);
|
|
307
308
|
bEmpty();
|
|
308
309
|
log(` ${c.dim}\u251C${hr}\u2524${c.reset}`);
|
|
309
310
|
bEmpty();
|
package/dist/index.js
CHANGED
|
@@ -187,7 +187,7 @@ function parseArgs(argv) {
|
|
|
187
187
|
}
|
|
188
188
|
if (upstreamArgs.length === 0) {
|
|
189
189
|
throw new Error(
|
|
190
|
-
"No upstream server command provided.\n\nUsage: solongate-proxy [options] -- <command> [args...]\n\nExamples:\n solongate-proxy -- node my-server.js\n solongate-proxy --policy restricted -- npx @
|
|
190
|
+
"No upstream server command provided.\n\nUsage: solongate-proxy [options] -- <command> [args...]\n\nExamples:\n solongate-proxy -- node my-server.js\n solongate-proxy --policy restricted -- npx @playwright/mcp@latest\n solongate-proxy --upstream-url http://localhost:3001/mcp\n solongate-proxy --config solongate.json\n"
|
|
191
191
|
);
|
|
192
192
|
}
|
|
193
193
|
const [command, ...commandArgs] = upstreamArgs;
|
|
@@ -1802,10 +1802,11 @@ async function main3() {
|
|
|
1802
1802
|
bEmpty();
|
|
1803
1803
|
log4(` ${c2.dim}\u251C${hr}\u2524${c2.reset}`);
|
|
1804
1804
|
bEmpty();
|
|
1805
|
-
bLine(`${c2.yellow}Use with
|
|
1805
|
+
bLine(`${c2.yellow}Use with any MCP server:${c2.reset}`);
|
|
1806
1806
|
bEmpty();
|
|
1807
|
-
bLine(` ${c2.cyan}$${c2.reset} solongate-proxy -- npx @
|
|
1808
|
-
bLine(` ${c2.
|
|
1807
|
+
bLine(` ${c2.cyan}$${c2.reset} solongate-proxy -- npx @modelcontextprotocol/server-filesystem .`);
|
|
1808
|
+
bLine(` ${c2.cyan}$${c2.reset} solongate-proxy -- npx @playwright/mcp@latest`);
|
|
1809
|
+
bLine(` ${c2.dim}Wraps any MCP server or AI tool with SolonGate protection${c2.reset}`);
|
|
1809
1810
|
bEmpty();
|
|
1810
1811
|
log4(` ${c2.dim}\u251C${hr}\u2524${c2.reset}`);
|
|
1811
1812
|
bEmpty();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solongate/proxy",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "MCP security proxy — protect any MCP server with customizable policies, path/command constraints, rate limiting, and audit logging. Zero code changes required.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|