Every PR in the non-custodial-split series is supposed to preserve `tools/list` returning 23 tools with identical schemas, but nothing enforced it — PRs 2, 6, 7 and 8 will restructure and rename tool families, and a snapshot only means something if it's taken before that starts. Boot the built server, call listTools(), and assert both the count and the exact sorted name list against a checked-in baseline captured from a live run on this branch. Failures report which names were added/removed rather than a bare array-diff. Reuses startServer()/stopServer() from test/setup.ts; does not call getMnemonic(), so it needs no wallet. Wired into CI as a new step after the unit tests. Also raises the server-start timeout in setup.ts from 15s to 60s — the Cardano WASM import makes cold starts slow enough that 15s was flaky on the smoke test's first CI run. test:smoke is intentionally separate from test:unit (which does not build) since startServer() spawns build/index.js.
66 lines
1.8 KiB
JSON
66 lines
1.8 KiB
JSON
{
|
|
"name": "@apexfusion/mcp-server",
|
|
"version": "0.1.0",
|
|
"main": "index.js",
|
|
"type": "module",
|
|
"bin": {
|
|
"mcp-server": "./build/index.js"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "ln -sf ../../../libsodium-sumo/dist/modules-sumo-esm/libsodium-sumo.mjs node_modules/libsodium-wrappers-sumo/dist/modules-sumo-esm/libsodium-sumo.mjs 2>/dev/null || true",
|
|
"clean": "rm -rf build",
|
|
"build": "tsup && chmod +x build/index.js",
|
|
"typecheck": "tsc --noEmit --incremental",
|
|
"start": "node build/index.js",
|
|
"test": "npm run test:unit",
|
|
"test:unit": "node --import tsx --test test/unit/*.test.ts",
|
|
"test:integration": "npm run build && node --import tsx --test test/integration/*.test.ts",
|
|
"test:smoke": "npm run build && node --import tsx --test test/smoke/*.test.ts"
|
|
},
|
|
"files": [
|
|
"build"
|
|
],
|
|
"keywords": [
|
|
"vector",
|
|
"mcp",
|
|
"blockchain",
|
|
"cardano",
|
|
"apex-fusion",
|
|
"ai-agent",
|
|
"utxo"
|
|
],
|
|
"author": "Apex Fusion",
|
|
"license": "ISC",
|
|
"description": "MCP server for Vector - AI agent interface for the Apex Fusion eUTXO L2",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Apex-Fusion/mcp-server.git"
|
|
},
|
|
"homepage": "https://apex-fusion.github.io/vector-ai-documentation/",
|
|
"bugs": {
|
|
"url": "https://github.com/Apex-Fusion/mcp-server/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
},
|
|
"private": false,
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.1027.0",
|
|
"@lucid-evolution/lucid": "^0.4.29",
|
|
"@modelcontextprotocol/sdk": "^1.4.1",
|
|
"@noble/hashes": "^1.7.1",
|
|
"cross-fetch": "^4.0.0",
|
|
"dotenv": "^16.4.5",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.13.1",
|
|
"tsup": "^8.5.1",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|