- Add @aws-sdk/client-s3 dependency for Filebase S3-compatible IPFS uploads - Add uploadToFilebase() helper: uploads JSON, computes blake2b_256 hash, returns CID from Filebase IPFS bucket - vector_governance_submit_proposal: add optional proposalDocument param for automatic IPFS upload + hash computation (proposalHash/storageUri become optional when document is provided) - vector_governance_critique: add optional critiqueDocument param, same flow - Fix stale default script hashes to match v6 deployment - Fix address derivation: replace broken validatorToAddress(CBOR) with credentialToAddress(hash) — eliminates need for GOV_*_CBOR env vars - Fix getAddressDetails: import from Lucid instead of globalThis - Backward compatible: manual proposalHash + storageUri still works Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
63 lines
1.6 KiB
JSON
63 lines
1.6 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 build && node --import tsx --test test/run.test.ts"
|
|
},
|
|
"files": [
|
|
"build"
|
|
],
|
|
"keywords": [
|
|
"vector",
|
|
"mcp",
|
|
"blockchain",
|
|
"cardano",
|
|
"apex-fusion",
|
|
"ai-agent",
|
|
"utxo"
|
|
],
|
|
"author": "Apex Fusion",
|
|
"license": "ISC",
|
|
"description": "MCP server for Vector blockchain — AI agent interface for Apex Fusion's L2",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Apex-Fusion/mcp-server.git"
|
|
},
|
|
"homepage": "https://github.com/Apex-Fusion/mcp-server#readme",
|
|
"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"
|
|
}
|
|
}
|