{"_id":"@cognitivegraphai/branching-exploration","name":"@cognitivegraphai/branching-exploration","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@cognitivegraphai/branching-exploration","version":"0.0.1","description":"MCP server for exploring multiple pathways or scenarios from a single point","keywords":["mcp","thinking","ai","agents"],"homepage":"https://thinkingpatterns.ai","bugs":{"url":"https://github.com/cognitivegraphai/thinking-patterns/issues"},"repository":{"type":"git","url":"git+https://github.com/cognitivegraphai/thinking-patterns.git"},"license":"MIT","author":{"name":"CognitiveGraph.ai","url":"https://cognitivegraph.ai"},"type":"module","main":"index.js","bin":{"mcp-server-branching-exploration":"dist/index.js"},"scripts":{"build":"tsc && shx chmod +x dist/*.js","prepare":"npm run build","watch":"tsc --watch"},"dependencies":{"@modelcontextprotocol/sdk":"0.5.0","chalk":"^5.3.0","yargs":"^17.7.2"},"devDependencies":{"@types/node":"^22","@types/yargs":"^17.0.32","shx":"^0.3.4","typescript":"^5.3.3"},"publishConfig":{"access":"public"},"_id":"@cognitivegraphai/branching-exploration@0.0.1","gitHead":"3e0625c2052df438d2425695cc038e1f47fc3394","_nodeVersion":"24.3.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-SFHCImOfIWsmBmKJFCxszc8z2252WM9wARg7aGb1V9sZBLHnKq8xEvQJSMw4Zwnb1SKWY4333k3pUr0+Ucq8mQ==","shasum":"f91bd6dabc1f408d2b974b016f7ed6dd897e32d7","tarball":"https://registry.npmjs.org/@cognitivegraphai/branching-exploration/-/branching-exploration-0.0.1.tgz","fileCount":4,"unpackedSize":41914,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBA4X0Soyb6H0pzKWEeDMYeWKvPEUf8n+hjMYSBljZzlAiAL81/oxtnaG7FPvC9t/adqUIf66iBYfJeiFT9isipL9g=="}]},"_npmUser":{"name":"stephenatcgai","email":"stephen@cognitivegraph.ai","actor":{"name":"stephenatcgai","email":"stephen@cognitivegraph.ai","type":"user"}},"directories":{},"maintainers":[{"name":"stephenatcgai","email":"stephen@cognitivegraph.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/branching-exploration_0.0.1_1751984007505_0.24929737132478502"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-08T14:13:27.382Z","0.0.1":"2025-07-08T14:13:27.687Z","modified":"2025-07-08T14:13:28.025Z"},"maintainers":[{"name":"stephenatcgai","email":"stephen@cognitivegraph.ai"}],"description":"MCP server for exploring multiple pathways or scenarios from a single point","homepage":"https://thinkingpatterns.ai","keywords":["mcp","thinking","ai","agents"],"repository":{"type":"git","url":"git+https://github.com/cognitivegraphai/thinking-patterns.git"},"author":{"name":"CognitiveGraph.ai","url":"https://cognitivegraph.ai"},"bugs":{"url":"https://github.com/cognitivegraphai/thinking-patterns/issues"},"license":"MIT","readme":"# Branching Exploration MCP Server\n\nAn MCP server for exploring multiple pathways or scenarios from a single point, similar to a Tree-of-Thoughts approach.\n\n## Overview\n\nThe Branching Exploration server provides a structured approach to exploring different possibilities and outcomes through a tree-like structure of branches. This is particularly useful for:\n\n- Exploring different possible solutions to a problem\n- Analyzing \"what-if\" scenarios and their consequences\n- Decision-making with multiple possible outcomes\n- Planning for contingencies and alternative paths\n- Exploring the implications of different assumptions\n- Mapping out complex solution spaces\n- Identifying optimal paths through a decision tree\n\n## Features\n\n- Create scenarios with initial conditions and objectives\n- Branch out into multiple pathways from any point\n- Explore each branch with detailed steps\n- Track probability and status of each branch\n- Identify insights and outcomes for each exploration\n- Visualize the complete tree of possibilities\n- Support for abandoning unproductive branches\n- Multi-level branching for complex scenario exploration\n\n## Usage\n\n### Installation\n\n```bash\nnpm install -g @cognitivegraphai/branching-exploration\n```\n\n### Running the Server\n\n```bash\nnpx @cognitivegraphai/branching-exploration\n```\n\n## API\n\nThe server provides the following actions:\n\n### `createScenario`\n\nCreate a new scenario as the root of a branching exploration.\n\n```json\n{\n  \"action\": \"createScenario\",\n  \"scenarioData\": {\n    \"scenarioId\": \"scenario-123\",\n    \"scenarioName\": \"Product Launch Strategy\",\n    \"scenarioDescription\": \"Exploring different strategies for launching our new product\",\n    \"initialConditions\": \"Limited budget, competitive market, 3-month timeline\",\n    \"objectives\": [\n      \"Maximize market penetration\",\n      \"Minimize costs\",\n      \"Build brand awareness\"\n    ],\n    \"constraints\": [\n      \"Budget cannot exceed $100,000\",\n      \"Must launch within 3 months\",\n      \"Must comply with industry regulations\"\n    ]\n  }\n}\n```\n\n### `createBranch`\n\nCreate a new branch from a scenario or another branch.\n\n```json\n{\n  \"action\": \"createBranch\",\n  \"branchData\": {\n    \"branchId\": \"branch-456\",\n    \"parentScenarioId\": \"scenario-123\",\n    \"parentBranchId\": null,\n    \"branchName\": \"Digital Marketing Focus\",\n    \"branchDescription\": \"Focus primarily on digital marketing channels\",\n    \"branchConditions\": \"If digital channels show higher ROI than traditional\",\n    \"probability\": 0.7,\n    \"depth\": 1,\n    \"status\": \"unexplored\"\n  }\n}\n```\n\n### `updateBranchStatus`\n\nUpdate the status of a branch.\n\n```json\n{\n  \"action\": \"updateBranchStatus\",\n  \"branchId\": \"branch-456\",\n  \"status\": \"exploring\"\n}\n```\n\n### `createExploration`\n\nCreate an exploration step for a branch.\n\n```json\n{\n  \"action\": \"createExploration\",\n  \"explorationData\": {\n    \"explorationId\": \"exploration-789\",\n    \"branchId\": \"branch-456\",\n    \"explorationStep\": 1,\n    \"totalSteps\": 3,\n    \"description\": \"Analyze social media marketing effectiveness\",\n    \"outcome\": \"Social media shows 2.5x ROI compared to other channels\",\n    \"insights\": [\n      \"Instagram performs best for our target demographic\",\n      \"Video content generates 3x engagement of static posts\"\n    ],\n    \"nextBranches\": [\"branch-567\", \"branch-568\"],\n    \"isTerminal\": false\n  }\n}\n```\n\n### `getScenarioDetails`\n\nGet details about a scenario and its branches.\n\n```json\n{\n  \"action\": \"getScenarioDetails\",\n  \"scenarioId\": \"scenario-123\"\n}\n```\n\n### `getBranchDetails`\n\nGet details about a branch and its explorations.\n\n```json\n{\n  \"action\": \"getBranchDetails\",\n  \"branchId\": \"branch-456\"\n}\n```\n\n### `getExplorationDetails`\n\nGet details about an exploration step.\n\n```json\n{\n  \"action\": \"getExplorationDetails\",\n  \"explorationId\": \"exploration-789\"\n}\n```\n\n### `getScenarioTree`\n\nGet the complete tree structure of a scenario.\n\n```json\n{\n  \"action\": \"getScenarioTree\",\n  \"scenarioId\": \"scenario-123\"\n}\n```\n\n### `abandonBranch`\n\nMark a branch as abandoned with a reason.\n\n```json\n{\n  \"action\": \"abandonBranch\",\n  \"branchId\": \"branch-456\",\n  \"reason\": \"Cost exceeds budget constraints\"\n}\n```\n\n## License\n\nMIT","readmeFilename":"README.md","_rev":"1-6d0e0e52d24158ed99361b6fae3af30b"}