@solongate/proxy 0.1.4 → 0.1.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/dist/create.js CHANGED
@@ -216,9 +216,13 @@ async function main() {
216
216
  const opts = parseCreateArgs(process.argv);
217
217
  const dir = resolve(opts.name);
218
218
  log("");
219
- log(" \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557");
220
- log(" \u2551 SolonGate \u2014 Create MCP Server \u2551");
221
- log(" \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D");
219
+ log(" ____ _ ____ _");
220
+ log(" / ___| ___ | | ___ _ __ / ___| __ _| |_ ___");
221
+ log(" \\___ \\ / _ \\| |/ _ \\| '_ \\| | _ / _` | __/ _ \\");
222
+ log(" ___) | (_) | | (_) | | | | |_| | (_| | || __/");
223
+ log(" |____/ \\___/|_|\\___/|_| |_|\\____|\\__,_|\\__\\___|");
224
+ log("");
225
+ log(" Create MCP Server");
222
226
  log("");
223
227
  if (existsSync(dir)) {
224
228
  log(` Error: Directory "${opts.name}" already exists.`);
package/dist/index.js CHANGED
@@ -144,10 +144,13 @@ POLICY PRESETS
144
144
  async function main() {
145
145
  const options = parseInitArgs(process.argv);
146
146
  console.error("");
147
- console.error(" \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557");
148
- console.error(" \u2551 SolonGate \u2014 Init Setup \u2551");
149
- console.error(" \u2551 Secure your MCP servers in seconds \u2551");
150
- console.error(" \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D");
147
+ console.error(" ____ _ ____ _");
148
+ console.error(" / ___| ___ | | ___ _ __ / ___| __ _| |_ ___");
149
+ console.error(" \\___ \\ / _ \\| |/ _ \\| '_ \\| | _ / _` | __/ _ \\");
150
+ console.error(" ___) | (_) | | (_) | | | | |_| | (_| | || __/");
151
+ console.error(" |____/ \\___/|_|\\___/|_| |_|\\____|\\__,_|\\__\\___|");
152
+ console.error("");
153
+ console.error(" Init Setup");
151
154
  console.error("");
152
155
  const configInfo = findConfigFile(options.configPath);
153
156
  if (!configInfo) {
@@ -534,10 +537,13 @@ function showDiff(result) {
534
537
  async function main2() {
535
538
  const opts = parseInjectArgs(process.argv);
536
539
  log2("");
537
- log2(" \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557");
538
- log2(" \u2551 SolonGate \u2014 Inject SDK \u2551");
539
- log2(" \u2551 Add security to your MCP server \u2551");
540
- log2(" \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D");
540
+ log2(" ____ _ ____ _");
541
+ log2(" / ___| ___ | | ___ _ __ / ___| __ _| |_ ___");
542
+ log2(" \\___ \\ / _ \\| |/ _ \\| '_ \\| | _ / _` | __/ _ \\");
543
+ log2(" ___) | (_) | | (_) | | | | |_| | (_| | || __/");
544
+ log2(" |____/ \\___/|_|\\___/|_| |_|\\____|\\__,_|\\__\\___|");
545
+ log2("");
546
+ log2(" Inject SDK");
541
547
  log2("");
542
548
  if (!detectProject()) {
543
549
  log2(" Could not detect a TypeScript MCP server project.");
@@ -846,9 +852,13 @@ async function main3() {
846
852
  const opts = parseCreateArgs(process.argv);
847
853
  const dir = resolve4(opts.name);
848
854
  log3("");
849
- log3(" \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557");
850
- log3(" \u2551 SolonGate \u2014 Create MCP Server \u2551");
851
- log3(" \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D");
855
+ log3(" ____ _ ____ _");
856
+ log3(" / ___| ___ | | ___ _ __ / ___| __ _| |_ ___");
857
+ log3(" \\___ \\ / _ \\| |/ _ \\| '_ \\| | _ / _` | __/ _ \\");
858
+ log3(" ___) | (_) | | (_) | | | | |_| | (_| | || __/");
859
+ log3(" |____/ \\___/|_|\\___/|_| |_|\\____|\\__,_|\\__\\___|");
860
+ log3("");
861
+ log3(" Create MCP Server");
852
862
  log3("");
853
863
  if (existsSync4(dir)) {
854
864
  log3(` Error: Directory "${opts.name}" already exists.`);
package/dist/init.js CHANGED
@@ -146,10 +146,13 @@ POLICY PRESETS
146
146
  async function main() {
147
147
  const options = parseInitArgs(process.argv);
148
148
  console.error("");
149
- console.error(" \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557");
150
- console.error(" \u2551 SolonGate \u2014 Init Setup \u2551");
151
- console.error(" \u2551 Secure your MCP servers in seconds \u2551");
152
- console.error(" \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D");
149
+ console.error(" ____ _ ____ _");
150
+ console.error(" / ___| ___ | | ___ _ __ / ___| __ _| |_ ___");
151
+ console.error(" \\___ \\ / _ \\| |/ _ \\| '_ \\| | _ / _` | __/ _ \\");
152
+ console.error(" ___) | (_) | | (_) | | | | |_| | (_| | || __/");
153
+ console.error(" |____/ \\___/|_|\\___/|_| |_|\\____|\\__,_|\\__\\___|");
154
+ console.error("");
155
+ console.error(" Init Setup");
153
156
  console.error("");
154
157
  const configInfo = findConfigFile(options.configPath);
155
158
  if (!configInfo) {
package/dist/inject.js CHANGED
@@ -248,10 +248,13 @@ function showDiff(result) {
248
248
  async function main() {
249
249
  const opts = parseInjectArgs(process.argv);
250
250
  log("");
251
- log(" \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557");
252
- log(" \u2551 SolonGate \u2014 Inject SDK \u2551");
253
- log(" \u2551 Add security to your MCP server \u2551");
254
- log(" \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D");
251
+ log(" ____ _ ____ _");
252
+ log(" / ___| ___ | | ___ _ __ / ___| __ _| |_ ___");
253
+ log(" \\___ \\ / _ \\| |/ _ \\| '_ \\| | _ / _` | __/ _ \\");
254
+ log(" ___) | (_) | | (_) | | | | |_| | (_| | || __/");
255
+ log(" |____/ \\___/|_|\\___/|_| |_|\\____|\\__,_|\\__\\___|");
256
+ log("");
257
+ log(" Inject SDK");
255
258
  log("");
256
259
  if (!detectProject()) {
257
260
  log(" Could not detect a TypeScript MCP server project.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solongate/proxy",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
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": {