@omkar273/mcp-temp 0.0.58 → 2.0.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 +2 -2
- package/bin/mcp-server.js +7 -7
- package/bin/mcp-server.js.map +5 -5
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/lib/config.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/mcp-server.js.map +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/models/creditgrantexpirydurationunit.d.ts +1 -1
- package/esm/models/windowsize.d.ts +2 -2
- package/esm/models/windowsize.js +2 -2
- package/esm/models/windowsize.js.map +1 -1
- package/esm/tsconfig.tsbuildinfo +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/windowsize.ts +2 -2
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ Use this if you want to change code or run without npm:
|
|
|
44
44
|
1. Clone the repository and go to the MCP server directory (e.g. `api/mcp` or the repo that contains it).
|
|
45
45
|
2. Install dependencies: `npm install`
|
|
46
46
|
3. Create a `.env` file (from `.env.example` if present) with:
|
|
47
|
-
- `BASE_URL=https://us.api.flexprice.io/v1` (must include `/v1
|
|
47
|
+
- `BASE_URL=https://us.api.flexprice.io/v1` (must include `/v1`; no trailing space or trailing slash)
|
|
48
48
|
- `API_KEY_APIKEYAUTH=your_api_key_here`
|
|
49
49
|
4. Build: `npm run build`
|
|
50
50
|
5. Start: `npm start`
|
|
@@ -238,7 +238,7 @@ Use `read` for read-only access when the server defines a `read` scope.
|
|
|
238
238
|
### "Invalid URL" or request errors
|
|
239
239
|
|
|
240
240
|
- The server builds request URLs from `BASE_URL` + path. If `BASE_URL` is unset or wrong, requests fail.
|
|
241
|
-
- **Fix:** Set `BASE_URL=https://us.api.flexprice.io/v1` (no trailing slash after `v1`). For npx, pass `--server-url https://us.api.flexprice.io/v1`.
|
|
241
|
+
- **Fix:** Set `BASE_URL=https://us.api.flexprice.io/v1` (no trailing space or slash after `v1`). For npx, pass `--server-url https://us.api.flexprice.io/v1`.
|
|
242
242
|
- If you get **404** on tool calls, ensure the base URL includes `/v1`.
|
|
243
243
|
|
|
244
244
|
### API connection issues
|
package/bin/mcp-server.js
CHANGED
|
@@ -50418,9 +50418,9 @@ var init_config = __esm(() => {
|
|
|
50418
50418
|
SDK_METADATA = {
|
|
50419
50419
|
language: "typescript",
|
|
50420
50420
|
openapiDocVersion: "1.0",
|
|
50421
|
-
sdkVersion: "0.0
|
|
50421
|
+
sdkVersion: "2.0.0",
|
|
50422
50422
|
genVersion: "2.845.12",
|
|
50423
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.0
|
|
50423
|
+
userAgent: "speakeasy-sdk/mcp-typescript 2.0.0 2.845.12 1.0 @omkar273/mcp-temp"
|
|
50424
50424
|
};
|
|
50425
50425
|
});
|
|
50426
50426
|
|
|
@@ -52517,6 +52517,7 @@ var WindowSize$zodSchema;
|
|
|
52517
52517
|
var init_windowsize = __esm(() => {
|
|
52518
52518
|
init_zod();
|
|
52519
52519
|
WindowSize$zodSchema = _enum([
|
|
52520
|
+
"MONTH",
|
|
52520
52521
|
"MINUTE",
|
|
52521
52522
|
"15MIN",
|
|
52522
52523
|
"30MIN",
|
|
@@ -52525,8 +52526,7 @@ var init_windowsize = __esm(() => {
|
|
|
52525
52526
|
"6HOUR",
|
|
52526
52527
|
"12HOUR",
|
|
52527
52528
|
"DAY",
|
|
52528
|
-
"WEEK"
|
|
52529
|
-
"MONTH"
|
|
52529
|
+
"WEEK"
|
|
52530
52530
|
]);
|
|
52531
52531
|
});
|
|
52532
52532
|
|
|
@@ -59738,7 +59738,7 @@ Use when changing price configuration (e.g. amount, billing scheme, or metadata)
|
|
|
59738
59738
|
function createMCPServer(deps) {
|
|
59739
59739
|
const server = new McpServer({
|
|
59740
59740
|
name: "Flexprice",
|
|
59741
|
-
version: "0.0
|
|
59741
|
+
version: "2.0.0"
|
|
59742
59742
|
});
|
|
59743
59743
|
const getClient = deps.getSDK || (() => new FlexpriceCore({
|
|
59744
59744
|
security: deps.security,
|
|
@@ -63633,7 +63633,7 @@ var routes = buildRouteMap({
|
|
|
63633
63633
|
var app = buildApplication(routes, {
|
|
63634
63634
|
name: "mcp",
|
|
63635
63635
|
versionInfo: {
|
|
63636
|
-
currentVersion: "0.0
|
|
63636
|
+
currentVersion: "2.0.0"
|
|
63637
63637
|
}
|
|
63638
63638
|
});
|
|
63639
63639
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -63641,5 +63641,5 @@ export {
|
|
|
63641
63641
|
app
|
|
63642
63642
|
};
|
|
63643
63643
|
|
|
63644
|
-
//# debugId=
|
|
63644
|
+
//# debugId=637A25E9E995E4E664756E2164756E21
|
|
63645
63645
|
//# sourceMappingURL=mcp-server.js.map
|