@omkar273/mcp-temp 0.0.21 → 0.0.42

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
@@ -16,10 +16,10 @@ You can run the server in two ways: **npm package** (one command) or **local rep
16
16
 
17
17
  ### Option 1: npm package
18
18
 
19
- Run the server with one command; no clone or build:
19
+ Install: `npm i @omkar273/mcp-temp`. Or run with one command (no clone or build):
20
20
 
21
21
  ```bash
22
- npx @flexprice/mcp-server start --server-url https://api.cloud.flexprice.io/v1 --api-key-auth YOUR_API_KEY
22
+ npx @omkar273/mcp-temp start --server-url https://api.cloud.flexprice.io/v1 --api-key-auth YOUR_API_KEY
23
23
  ```
24
24
 
25
25
  Replace `YOUR_API_KEY` with your FlexPrice API key. Next: [Add to your MCP client](#add-to-your-mcp-client).
@@ -74,7 +74,7 @@ Add the FlexPrice MCP server in your editor. Replace `YOUR_API_KEY` with your Fl
74
74
  "command": "npx",
75
75
  "args": [
76
76
  "-y",
77
- "@flexprice/mcp-server",
77
+ "@omkar273/mcp-temp",
78
78
  "start",
79
79
  "--server-url",
80
80
  "https://api.cloud.flexprice.io/v1",
@@ -101,7 +101,7 @@ Add the FlexPrice MCP server in your editor. Replace `YOUR_API_KEY` with your Fl
101
101
  "command": "npx",
102
102
  "args": [
103
103
  "-y",
104
- "@flexprice/mcp-server",
104
+ "@omkar273/mcp-temp",
105
105
  "start",
106
106
  "--server-url",
107
107
  "https://api.cloud.flexprice.io/v1",
@@ -118,7 +118,7 @@ Add the FlexPrice MCP server in your editor. Replace `YOUR_API_KEY` with your Fl
118
118
  ### Claude Code
119
119
 
120
120
  ```bash
121
- claude mcp add FlexPrice -- npx -y @flexprice/mcp-server start --server-url https://api.cloud.flexprice.io/v1 --api-key-auth YOUR_API_KEY
121
+ claude mcp add FlexPrice -- npx -y @omkar273/mcp-temp start --server-url https://api.cloud.flexprice.io/v1 --api-key-auth YOUR_API_KEY
122
122
  ```
123
123
 
124
124
  Then run `claude` and use `/mcp` to confirm the server is connected.
@@ -136,7 +136,7 @@ Add to your Claude Desktop config file (path in the table above):
136
136
  "command": "npx",
137
137
  "args": [
138
138
  "-y",
139
- "@flexprice/mcp-server",
139
+ "@omkar273/mcp-temp",
140
140
  "start",
141
141
  "--server-url",
142
142
  "https://api.cloud.flexprice.io/v1",
@@ -205,7 +205,7 @@ Servers with many tools can bloat context and token usage. **Dynamic mode** expo
205
205
  To enable dynamic mode, add `--mode dynamic` when starting the server:
206
206
 
207
207
  ```json
208
- "args": ["-y", "@flexprice/mcp-server", "start", "--server-url", "https://api.cloud.flexprice.io/v1", "--api-key-auth", "YOUR_API_KEY", "--mode", "dynamic"]
208
+ "args": ["-y", "@omkar273/mcp-temp", "start", "--server-url", "https://api.cloud.flexprice.io/v1", "--api-key-auth", "YOUR_API_KEY", "--mode", "dynamic"]
209
209
  ```
210
210
 
211
211
  This reduces tokens per request and can improve tool choice when there are many operations.
@@ -215,7 +215,7 @@ This reduces tokens per request and can improve tool choice when there are many
215
215
  If the server is configured with scopes (e.g. `read`, `write`), you can limit tools by scope:
216
216
 
217
217
  ```bash
218
- npx @flexprice/mcp-server start --server-url https://api.cloud.flexprice.io/v1 --api-key-auth YOUR_API_KEY --scope read
218
+ npx @omkar273/mcp-temp start --server-url https://api.cloud.flexprice.io/v1 --api-key-auth YOUR_API_KEY --scope read
219
219
  ```
220
220
 
221
221
  Use `read` for read-only access when the server defines a `read` scope.
package/bin/mcp-server.js CHANGED
@@ -5,30 +5,53 @@ var __getProtoOf = Object.getPrototypeOf;
5
5
  var __defProp = Object.defineProperty;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ function __accessProp(key) {
9
+ return this[key];
10
+ }
11
+ var __toESMCache_node;
12
+ var __toESMCache_esm;
8
13
  var __toESM = (mod, isNodeMode, target) => {
14
+ var canCache = mod != null && typeof mod === "object";
15
+ if (canCache) {
16
+ var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
17
+ var cached = cache.get(mod);
18
+ if (cached)
19
+ return cached;
20
+ }
9
21
  target = mod != null ? __create(__getProtoOf(mod)) : {};
10
22
  const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
11
23
  for (let key of __getOwnPropNames(mod))
12
24
  if (!__hasOwnProp.call(to, key))
13
25
  __defProp(to, key, {
14
- get: () => mod[key],
26
+ get: __accessProp.bind(mod, key),
15
27
  enumerable: true
16
28
  });
29
+ if (canCache)
30
+ cache.set(mod, to);
17
31
  return to;
18
32
  };
19
33
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
34
+ var __returnValue = (v) => v;
35
+ function __exportSetter(name, newValue) {
36
+ this[name] = __returnValue.bind(null, newValue);
37
+ }
20
38
  var __export = (target, all) => {
21
39
  for (var name in all)
22
40
  __defProp(target, name, {
23
41
  get: all[name],
24
42
  enumerable: true,
25
43
  configurable: true,
26
- set: (newValue) => all[name] = () => newValue
44
+ set: __exportSetter.bind(all, name)
27
45
  });
28
46
  };
29
47
  var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
30
48
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
31
49
 
50
+ // src/mcp-server/cli.ts
51
+ function buildContext(process2) {
52
+ return { process: process2 };
53
+ }
54
+
32
55
  // node_modules/zod/v4/core/core.js
33
56
  function $constructor(name, initializer, params) {
34
57
  function init(inst, def) {
@@ -50395,9 +50418,9 @@ var init_config = __esm(() => {
50395
50418
  SDK_METADATA = {
50396
50419
  language: "typescript",
50397
50420
  openapiDocVersion: "1.0",
50398
- sdkVersion: "0.0.21",
50399
- genVersion: "2.844.2",
50400
- userAgent: "speakeasy-sdk/mcp-typescript 0.0.21 2.844.2 1.0 @random/mcp-temp"
50421
+ sdkVersion: "0.0.42",
50422
+ genVersion: "2.845.1",
50423
+ userAgent: "speakeasy-sdk/mcp-typescript 0.0.42 2.845.1 1.0 @omkar273/mcp-temp"
50401
50424
  };
50402
50425
  });
50403
50426
 
@@ -80370,7 +80393,7 @@ Use when listing or auditing workflow runs (e.g. ops dashboard or debugging). Re
80370
80393
  function createMCPServer(deps) {
80371
80394
  const server = new McpServer({
80372
80395
  name: "Flexprice",
80373
- version: "0.0.21"
80396
+ version: "0.0.42"
80374
80397
  });
80375
80398
  const getClient = deps.getSDK || (() => new FlexpriceCore({
80376
80399
  security: deps.security,
@@ -81944,14 +81967,14 @@ http_headers = { "server-url" = "YOUR_SERVER_URL", "api-key-auth" = "YOUR_API_KE
81944
81967
  <head>
81945
81968
  <meta charset="UTF-8">
81946
81969
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
81947
- <title>@random/mcp-temp MCP</title>
81948
- <meta name="description" content="Install @random/mcp-temp MCP server.">
81970
+ <title>@omkar273/mcp-temp MCP</title>
81971
+ <meta name="description" content="Install @omkar273/mcp-temp MCP server.">
81949
81972
  <meta property="og:type" content="website">
81950
- <meta property="og:title" content="@random/mcp-temp - MCP Server">
81951
- <meta property="og:description" content="Install @random/mcp-temp MCP server.">
81973
+ <meta property="og:title" content="@omkar273/mcp-temp - MCP Server">
81974
+ <meta property="og:description" content="Install @omkar273/mcp-temp MCP server.">
81952
81975
  <meta property="twitter:card" content="summary">
81953
- <meta property="twitter:title" content="@random/mcp-temp - MCP Server">
81954
- <meta property="twitter:description" content="Install @random/mcp-temp MCP server.">
81976
+ <meta property="twitter:title" content="@omkar273/mcp-temp - MCP Server">
81977
+ <meta property="twitter:description" content="Install @omkar273/mcp-temp MCP server.">
81955
81978
  <meta name="robots" content="index, follow">
81956
81979
  <link rel="preconnect" href="https://fonts.googleapis.com">
81957
81980
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@@ -82558,7 +82581,7 @@ http_headers = { "server-url" = "YOUR_SERVER_URL", "api-key-auth" = "YOUR_API_KE
82558
82581
  </svg>
82559
82582
  </div>
82560
82583
  <div class="header-content">
82561
- <div class="mcp-name">@random/mcp-temp</div>
82584
+ <div class="mcp-name">@omkar273/mcp-temp</div>
82562
82585
  <div class="mcp-description">MCP Server</div>
82563
82586
  </div>
82564
82587
  </div>
@@ -82574,7 +82597,7 @@ http_headers = { "server-url" = "YOUR_SERVER_URL", "api-key-auth" = "YOUR_API_KE
82574
82597
  </svg>
82575
82598
  </button>
82576
82599
  <div class="popover-menu hidden" id="popover-menu">
82577
- <a class="popover-button install-link" href="cursor://anysphere.cursor-deeplink/mcp/install?name=Flexprice&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyJAcmFuZG9tL21jcC10ZW1wIiwic3RhcnQiLCItLXNlcnZlci11cmwiLCIiLCItLWFwaS1rZXktYXV0aCIsIiJdfQ==">
82600
+ <a class="popover-button install-link" href="cursor://anysphere.cursor-deeplink/mcp/install?name=Flexprice&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyJAb21rYXIyNzMvbWNwLXRlbXAiLCJzdGFydCIsIi0tc2VydmVyLXVybCIsIiIsIi0tYXBpLWtleS1hdXRoIiwiIl19">
82578
82601
  Cursor
82579
82602
  </a>
82580
82603
  <button class="popover-button" onclick="showModal('claude-code')">
@@ -82583,7 +82606,7 @@ http_headers = { "server-url" = "YOUR_SERVER_URL", "api-key-auth" = "YOUR_API_KE
82583
82606
  <button class="popover-button" onclick="showModal('claude-desktop')">
82584
82607
  Claude Desktop
82585
82608
  </button>
82586
- <a class="popover-button install-link" href="vscode://ms-vscode.vscode-mcp/install?name=Flexprice&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyJAcmFuZG9tL21jcC10ZW1wIiwic3RhcnQiLCItLXNlcnZlci11cmwiLCIiLCItLWFwaS1rZXktYXV0aCIsIiJdfQ==">
82609
+ <a class="popover-button install-link" href="vscode://ms-vscode.vscode-mcp/install?name=Flexprice&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyJAb21rYXIyNzMvbWNwLXRlbXAiLCJzdGFydCIsIi0tc2VydmVyLXVybCIsIiIsIi0tYXBpLWtleS1hdXRoIiwiIl19">
82587
82610
  VS Code
82588
82611
  </a>
82589
82612
  <button class="popover-button" onclick="showModal('gemini')">
@@ -82606,7 +82629,7 @@ http_headers = { "server-url" = "YOUR_SERVER_URL", "api-key-auth" = "YOUR_API_KE
82606
82629
  </div>
82607
82630
  </header>
82608
82631
  <div class="install-targets">
82609
- <a tabindex="0" class="card install-target install-link" href="cursor://anysphere.cursor-deeplink/mcp/install?name=Flexprice&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyJAcmFuZG9tL21jcC10ZW1wIiwic3RhcnQiLCItLXNlcnZlci11cmwiLCIiLCItLWFwaS1rZXktYXV0aCIsIiJdfQ==">
82632
+ <a tabindex="0" class="card install-target install-link" href="cursor://anysphere.cursor-deeplink/mcp/install?name=Flexprice&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyJAb21rYXIyNzMvbWNwLXRlbXAiLCJzdGFydCIsIi0tc2VydmVyLXVybCIsIiIsIi0tYXBpLWtleS1hdXRoIiwiIl19">
82610
82633
  <div class="target">
82611
82634
  <img src="https://cursor.com/assets/images/logo.svg" alt="Cursor">
82612
82635
  <span>Cursor</span>
@@ -82628,7 +82651,7 @@ http_headers = { "server-url" = "YOUR_SERVER_URL", "api-key-auth" = "YOUR_API_KE
82628
82651
  <span>Claude Desktop</span>
82629
82652
  </div>
82630
82653
  </div>
82631
- <a tabindex="0" class="card install-target install-link" href="vscode://ms-vscode.vscode-mcp/install?name=Flexprice&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyJAcmFuZG9tL21jcC10ZW1wIiwic3RhcnQiLCItLXNlcnZlci11cmwiLCIiLCItLWFwaS1rZXktYXV0aCIsIiJdfQ==">
82654
+ <a tabindex="0" class="card install-target install-link" href="vscode://ms-vscode.vscode-mcp/install?name=Flexprice&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyJAb21rYXIyNzMvbWNwLXRlbXAiLCJzdGFydCIsIi0tc2VydmVyLXVybCIsIiIsIi0tYXBpLWtleS1hdXRoIiwiIl19">
82632
82655
  <div class="target">
82633
82656
  <svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">
82634
82657
  <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="100" height="100">
@@ -82799,7 +82822,7 @@ http_headers = { "server-url" = "YOUR_SERVER_URL", "api-key-auth" = "YOUR_API_KE
82799
82822
  <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"></path>
82800
82823
  </svg>
82801
82824
  </button>
82802
- <code class="code-snippet language-json" id="claude-cli-cmd">claude mcp add Flexprice -- npx -y @random/mcp-temp start --server-url --api-key-auth </code>
82825
+ <code class="code-snippet language-json" id="claude-cli-cmd">claude mcp add Flexprice -- npx -y @omkar273/mcp-temp start --server-url --api-key-auth </code>
82803
82826
  </div>
82804
82827
  </div>
82805
82828
  </div>
@@ -82850,7 +82873,7 @@ http_headers = { "server-url" = "YOUR_SERVER_URL", "api-key-auth" = "YOUR_API_KE
82850
82873
  <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"></path>
82851
82874
  </svg>
82852
82875
  </button>
82853
- <code class="code-snippet language-json" id="gemini-config">gemini mcp add Flexprice -- npx -y @random/mcp-temp start --server-url --api-key-auth </code>
82876
+ <code class="code-snippet language-json" id="gemini-config">gemini mcp add Flexprice -- npx -y @omkar273/mcp-temp start --server-url --api-key-auth </code>
82854
82877
  </div>
82855
82878
  </div>
82856
82879
  </div>
@@ -85221,11 +85244,6 @@ async function run(app, inputs, context) {
85221
85244
  // src/mcp-server/mcp-server.ts
85222
85245
  import process4 from "node:process";
85223
85246
 
85224
- // src/mcp-server/cli.ts
85225
- function buildContext(process2) {
85226
- return { process: process2 };
85227
- }
85228
-
85229
85247
  // src/mcp-server/cli/serve/command.ts
85230
85248
  init_zod();
85231
85249
  init_console_logger();
@@ -85422,7 +85440,7 @@ var routes = buildRouteMap({
85422
85440
  var app = buildApplication(routes, {
85423
85441
  name: "mcp",
85424
85442
  versionInfo: {
85425
- currentVersion: "0.0.21"
85443
+ currentVersion: "0.0.42"
85426
85444
  }
85427
85445
  });
85428
85446
  run(app, process4.argv.slice(2), buildContext(process4));
@@ -85430,5 +85448,5 @@ export {
85430
85448
  app
85431
85449
  };
85432
85450
 
85433
- //# debugId=D6FA6166377025E764756E2164756E21
85451
+ //# debugId=EF0F9B1E2E9807DF64756E2164756E21
85434
85452
  //# sourceMappingURL=mcp-server.js.map