mcp-chain-of-draft-prompt-tool
Version:
MCP Chain of Draft (CoD) Prompt Tool - A Model Context Protocol tool for efficient reasoning
73 lines (72 loc) • 2.49 kB
JSON
{
"name": "mcp-chain-of-draft-prompt-tool",
"version": "1.1.1",
"description": "MCP Chain of Draft (CoD) Prompt Tool - A Model Context Protocol tool for efficient reasoning",
"type": "module",
"engines": {
"node": ">=22"
},
"bin": {
"mcp-chain-of-draft-prompt-tool": "dist/index.js"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc && shx chmod +x dist/*.js",
"build:docker": "docker build -t mcp-chain-of-draft-prompt-tool .",
"build:sea": "nx build && nx run-many --target=sea --all",
"build:macos": "nx build && nx run-many --target=sea --all --args=\"--platform=darwin\"",
"build:linux": "nx build && nx run-many --target=sea --all --args=\"--platform=linux\"",
"build:windows": "nx build && nx run-many --target=sea --all --args=\"--platform=win32\"",
"watch": "tsc --watch",
"start": "node dist/index.js",
"dev": "ts-node-esm dist/index.ts",
"test": "node dist/test-query.js",
"inspector": "npx @modelcontextprotocol/inspector -e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY -- node dist/index.js",
"open-browser": "sleep 2 && open http://localhost:5173 || xdg-open http://localhost:5173 || start http://localhost:5173",
"test-inspector": "npm run start & sleep 2 && trap 'kill $!' SIGINT SIGTERM; (npm run inspector & npm run open-browser) || kill $!"
},
"keywords": [
"mcp",
"chain-of-draft",
"claude",
"reasoning",
"prompt-tool"
],
"author": "brendancopley",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/brendancopley/mcp-chain-of-draft-prompt-tool.git"
},
"bugs": {
"url": "https://github.com/brendancopley/mcp-chain-of-draft-prompt-tool/issues"
},
"homepage": "https://github.com/brendancopley/mcp-chain-of-draft-prompt-tool#readme",
"dependencies": {
"@anthropic-ai/sdk": "^0.39.0",
"@mistralai/mistralai": "^1.5.2",
"@modelcontextprotocol/sdk": "1.7.0",
"chalk": "5",
"dotenv": "^16.4.5",
"node-fetch": "^3.3.2",
"ollama": "^0.5.14",
"openai": "^4.28.0"
},
"devDependencies": {
"@getlarge/nx-node-sea": "^0.2.0",
"@nx/devkit": "^20.6.2",
"@nx/js": "^20.6.2",
"@nx/workspace": "^20.6.2",
"@types/node": "^22",
"@types/node-fetch": "^2.6.11",
"nx": "^20.6.2",
"shx": "^0.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7390f61a6610"
}