fixparser-plugin-mcp 9.1.6-da9cb1d7 → 9.1.7-148b599b

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/package.json CHANGED
@@ -1,33 +1,44 @@
1
1
  {
2
2
  "name": "fixparser-plugin-mcp",
3
- "version": "9.1.6-da9cb1d7",
4
- "description": "FIXParser MCP plugin",
3
+ "version": "9.1.7-148b599b",
4
+ "description": "FIXParser MCP plugin (Local / Remote)",
5
5
  "files": [
6
6
  "./build/",
7
+ "./build-examples/",
7
8
  "./types/",
8
9
  "./LICENSE.md"
9
10
  ],
11
+ "main": "./build/cjs/MCPLocal.js",
12
+ "type": "module",
10
13
  "repository": {
11
14
  "type": "git",
12
15
  "url": "git+https://gitlab.com/logotype/fixparser.git"
13
16
  },
17
+ "bin": {
18
+ "fixparser-mcp-local": "build-examples/esm/example_mcp_local.mjs"
19
+ },
14
20
  "scripts": {
15
21
  "build": "npm run clean && npm run types && npm run build:main",
16
22
  "build:main": "node --experimental-strip-types -r ./../../esbuild-hook.ts ./scripts/build",
17
23
  "clean": "node --experimental-strip-types -r ./../../esbuild-hook.ts ./scripts/clean",
18
24
  "test": "echo 'No tests in the fixparser-plugin-mcp package'",
19
25
  "types": "tsc --declaration --emitDeclarationOnly --stripInternal --declarationDir ./types",
20
- "example:mcp_server": "tsx examples/run-example.ts example_mcp_server.ts",
21
- "example:mcp_client": "tsx examples/run-example.ts example_mcp_client.ts",
26
+ "example:mcp_local": "tsx examples/run-example.ts example_mcp_local.ts",
27
+ "example:mcp_remote": "tsx examples/run-example.ts example_mcp_remote.ts",
28
+ "example:mcp_remote_client": "tsx examples/run-example.ts example_mcp_remote_client.ts",
22
29
  "prepare": "husky",
23
30
  "upgrade-interactive": "ncu -u -t latest"
24
31
  },
25
32
  "author": "Victor Norgren",
26
33
  "dependencies": {
27
- "@modelcontextprotocol/sdk": "1.12.0",
28
- "fixparser": "*",
29
- "fixparser-common": "*",
30
- "zod": "3.25.27"
34
+ "@modelcontextprotocol/sdk": "1.12.1",
35
+ "body-parser": "2.2.0",
36
+ "express": "5.1.0",
37
+ "fixparser": "next",
38
+ "fixparser-common": "next",
39
+ "fixparser-plugin-log-console": "next",
40
+ "zod": "3.25.49",
41
+ "zod-to-json-schema": "3.24.5"
31
42
  },
32
43
  "keywords": [
33
44
  "FIXParser",
@@ -35,18 +46,22 @@
35
46
  "AI Agent",
36
47
  "agent",
37
48
  "AI",
38
- "MCP Server",
39
49
  "Model Context Protocol",
40
- "LLM"
50
+ "MCP Server",
51
+ "LLM",
52
+ "AI Trading Agent"
41
53
  ],
42
54
  "homepage": "https://fixparser.dev",
43
- "license": "SEE LICENSE IN LICENSE.md",
44
- "types": "./types/MCPPlugin.d.ts",
55
+ "license": "LICENSE.md",
56
+ "types": "./types/MCPLocal.d.ts",
45
57
  "exports": {
46
58
  ".": {
47
- "types": "./types/MCPPlugin.d.ts",
48
- "import": "./build/esm/MCPPlugin.mjs",
49
- "require": "./build/cjs/MCPPlugin.js"
59
+ "types": "./types/MCPLocal.d.ts",
60
+ "import": "./build/esm/MCPLocal.mjs",
61
+ "require": "./build/cjs/MCPLocal.js"
50
62
  }
63
+ },
64
+ "devDependencies": {
65
+ "@types/express": "5.0.2"
51
66
  }
52
67
  }
@@ -0,0 +1,14 @@
1
+ import { type IFIXParser } from 'fixparser';
2
+ import type { IPlugin } from 'fixparser-common';
3
+ import type { PluginOptions } from './PluginOptions';
4
+ export declare class MCPLocal implements IPlugin<IFIXParser> {
5
+ private parser;
6
+ private server;
7
+ private transport;
8
+ private onReady;
9
+ private pendingRequests;
10
+ private verifiedOrders;
11
+ constructor({ logger, onReady }: PluginOptions);
12
+ register(parser: IFIXParser): Promise<void>;
13
+ private addWorkflows;
14
+ }
@@ -5,7 +5,7 @@ export type PluginOptions = {
5
5
  logger?: Logger;
6
6
  onReady: () => void;
7
7
  };
8
- export declare class MCPPlugin implements IPlugin<IFIXParser> {
8
+ export declare class MCPRemote implements IPlugin<IFIXParser> {
9
9
  /**
10
10
  * Port number the server will listen on.
11
11
  * @private
@@ -0,0 +1,6 @@
1
+ import type { Logger } from 'fixparser';
2
+ export type PluginOptions = {
3
+ port: number;
4
+ logger?: Logger;
5
+ onReady: () => void;
6
+ };
package/types/index.d.ts CHANGED
@@ -1 +1,3 @@
1
- export { MCPPlugin, PluginOptions } from './MCPPlugin';
1
+ export { PluginOptions } from './PluginOptions';
2
+ export { MCPLocal } from './MCPLocal';
3
+ export { MCPRemote } from './MCPRemote';