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/build/cjs/MCPLocal.js +864 -0
- package/build/cjs/MCPLocal.js.map +7 -0
- package/build/cjs/MCPRemote.js +608 -0
- package/build/cjs/MCPRemote.js.map +7 -0
- package/build/esm/MCPLocal.mjs +845 -0
- package/build/esm/MCPLocal.mjs.map +7 -0
- package/build/esm/MCPRemote.mjs +592 -0
- package/build/esm/MCPRemote.mjs.map +7 -0
- package/build-examples/cjs/example_mcp_local.js +19 -0
- package/build-examples/cjs/example_mcp_local.js.map +7 -0
- package/build-examples/esm/example_mcp_local.mjs +19 -0
- package/build-examples/esm/example_mcp_local.mjs.map +7 -0
- package/package.json +30 -15
- package/types/MCPLocal.d.ts +14 -0
- package/types/{MCPPlugin.d.ts → MCPRemote.d.ts} +1 -1
- package/types/PluginOptions.d.ts +6 -0
- package/types/index.d.ts +3 -1
- package/build/esm/MCPPlugin.mjs +0 -190634
- package/build/esm/MCPPlugin.mjs.map +0 -7
package/package.json
CHANGED
|
@@ -1,33 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fixparser-plugin-mcp",
|
|
3
|
-
"version": "9.1.
|
|
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:
|
|
21
|
-
"example:
|
|
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.
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
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
|
-
"
|
|
50
|
+
"MCP Server",
|
|
51
|
+
"LLM",
|
|
52
|
+
"AI Trading Agent"
|
|
41
53
|
],
|
|
42
54
|
"homepage": "https://fixparser.dev",
|
|
43
|
-
"license": "
|
|
44
|
-
"types": "./types/
|
|
55
|
+
"license": "LICENSE.md",
|
|
56
|
+
"types": "./types/MCPLocal.d.ts",
|
|
45
57
|
"exports": {
|
|
46
58
|
".": {
|
|
47
|
-
"types": "./types/
|
|
48
|
-
"import": "./build/esm/
|
|
49
|
-
"require": "./build/cjs/
|
|
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
|
|
8
|
+
export declare class MCPRemote implements IPlugin<IFIXParser> {
|
|
9
9
|
/**
|
|
10
10
|
* Port number the server will listen on.
|
|
11
11
|
* @private
|
package/types/index.d.ts
CHANGED