forked from fleek-platform/eliza-plugin-mcp
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 4.86 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 4.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@elizaos/plugin-mcp-root",
"private": true,
"description": "elizaOS plugin to integrate with MCP (Model Context Protocol) servers",
"version": "2.0.0-alpha.1",
"type": "module",
"main": "dist/node/index.js",
"module": "dist/node/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"node": {
"types": "./dist/node/index.d.ts",
"import": "./dist/node/index.js",
"require": "./dist/cjs/index.cjs",
"default": "./dist/node/index.js"
},
"import": "./dist/node/index.js",
"require": "./dist/cjs/index.cjs",
"default": "./dist/node/index.js"
},
"./rust": {
"node": {
"import": "./rust/pkg/node/elizaos_plugin_mcp.js",
"default": "./rust/pkg/node/elizaos_plugin_mcp.js"
},
"default": "./rust/pkg/node/elizaos_plugin_mcp.js"
}
},
"files": [
"dist"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/elizaos-plugins/plugin-mcp.git"
},
"tags": [
"mcp",
"model",
"context",
"protocol",
"elizaos-plugins"
],
"scripts": {
"build:prompts": "node ../../packages/prompts/scripts/generate-plugin-prompts.js ./prompts ./typescript/src/generated/prompts --target all",
"build": "npm run build:prompts && bun run build:ts && bun run build:rust && bun run build:python",
"build:ts": "cd typescript && bun run build.ts",
"build:python": "test -n \"$SKIP_PYTHON_BUILD\" && echo 'Python build skipped (SKIP_PYTHON_BUILD set)' || (test -d python && cd python && (timeout 120 python3 -m build 2>/dev/null || timeout 120 pyproject-build 2>/dev/null) || echo 'Python build skipped or timed out')",
"dev": "cd typescript && bun run build.ts --watch",
"clean": "rm -rf dist .turbo node_modules .turbo-tsconfig.json tsconfig.tsbuildinfo",
"check:write": "bunx @biomejs/biome check --write ./typescript/src",
"check": "bunx @biomejs/biome check ./typescript/src",
"ci": "bunx @biomejs/biome ci ./typescript/src",
"lint": "bunx @biomejs/biome check --write --unsafe ./typescript/src",
"lint:check": "bunx @biomejs/biome check ./typescript/src",
"typecheck": "tsc --noEmit -p typescript/tsconfig.json",
"format": "bunx @biomejs/biome format --write ./typescript/src",
"format:check": "bunx @biomejs/biome format ./typescript/src",
"test": "bun run test:ts && bun run test:rust && bun run test:python",
"test:ts": "vitest run typescript/__tests__/",
"test:unit": "vitest run typescript/__tests__/unit/",
"test:integration": "vitest run typescript/__tests__/integration/",
"build:rust": "test -d rust && cd rust && ./build.sh || echo 'Rust build skipped - no rust directory'",
"build:rust:native": "cd rust && cargo build --release",
"build:rust:wasm": "cd rust && wasm-pack build --target nodejs --out-dir pkg/node",
"test:rust": "test -d rust && cd rust && cargo test || echo 'Rust tests skipped'",
"lint:rust": "cd rust && cargo clippy --all-targets --fix --allow-dirty --allow-staged -- -D warnings && cargo fmt",
"lint:python": "cd python && ruff check --fix . && ruff format .",
"test:python": "test -d python && cd python && pytest -p no:anchorpy --asyncio-mode=auto || echo 'Python tests skipped'",
"typecheck:python": "cd python && python3 -m mypy elizaos_plugin_mcp",
"version:patch": "bunx bumpp patch --tag -y",
"version:minor": "bunx bumpp minor --tag -y",
"version:major": "bunx bumpp major --tag -y",
"release:patch": "bun run version:patch && git push --follow-tags",
"release:minor": "bun run version:minor && git push --follow-tags",
"release:major": "bun run version:major && git push --follow-tags",
"typecheck:rust": "test -d rust && cd rust && cargo check || echo 'Rust typecheck skipped'"
},
"devDependencies": {
"@biomejs/biome": "^2.3.11",
"@types/bun": "^1.3.5",
"@types/json-schema": "^7.0.15",
"@types/node": "^25.0.3",
"bumpp": "10.1.0",
"typescript": "^5.9.3"
},
"dependencies": {
"@elizaos/core": "next",
"@modelcontextprotocol/sdk": "^1.7.0",
"ajv": "^8.17.1",
"json5": "^2.2.3"
},
"agentConfig": {
"pluginType": "elizaos:plugin:1.0.0",
"pluginParameters": {
"PATH": {
"type": "string",
"description": "System PATH inherited from the host environment and forwarded to child processes when launching an MCP server through stdio transport.",
"required": false,
"sensitive": false
},
"mcp": {
"type": "string",
"description": "Serialized (e.g., JSON) configuration that defines MCP settings and server definitions; read at runtime to establish MCP server connections.",
"required": false,
"sensitive": false
}
}
},
"gitHead": "05d4ca11d769db8c7f54a722ee24b2ce2b951543"
}