{"_id":"@cognitivegraphai/critique-revision","name":"@cognitivegraphai/critique-revision","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@cognitivegraphai/critique-revision","version":"0.0.1","description":"MCP server for evaluating ideas for flaws and refining them","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-critique-revision":"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/critique-revision@0.0.1","gitHead":"3e0625c2052df438d2425695cc038e1f47fc3394","_nodeVersion":"24.3.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-ssrwSYe7DYXmWy6Ai9YgMi/RKGT0S3AiLOAc9BwzgUvV6toRtrk0fjCUVfR6w1piukBXgJf5DI9Oa23xPt4A+A==","shasum":"835a78eaa66cfd2639d0cc50a8565c4ff722bbd3","tarball":"https://registry.npmjs.org/@cognitivegraphai/critique-revision/-/critique-revision-0.0.1.tgz","fileCount":4,"unpackedSize":33149,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFilJ6XbFlU0a5xwShMepg7u8H/JTsIlI/VCcPk7kmAxAiEA5jO342XpcHvsNhTw2qPRJbtjcGU/tJ+BuKx3QOqsZwY="}]},"_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/critique-revision_0.0.1_1751984096257_0.3965846506825592"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-08T14:14:56.150Z","0.0.1":"2025-07-08T14:14:56.438Z","modified":"2025-07-08T14:14:56.753Z"},"maintainers":[{"name":"stephenatcgai","email":"stephen@cognitivegraph.ai"}],"description":"MCP server for evaluating ideas for flaws and refining them","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":"# Critique-Revision MCP Server\n\nAn MCP server for evaluating ideas for flaws and then refining them through a structured critique-revision process.\n\n## Overview\n\nThe Critique-Revision server provides a structured approach to improving ideas through a two-phase process:\n\n1. **Critique Phase**: Systematically evaluate an idea to identify specific flaws, weaknesses, or areas for improvement\n2. **Revision Phase**: Refine the original idea by addressing the identified flaws and making targeted improvements\n\nThis approach is particularly useful for:\n- Improving the quality and robustness of proposals or solutions\n- Identifying potential issues before implementation\n- Refining ideas through multiple iterations\n- Testing assumptions and identifying weaknesses\n- Quality assurance for important decisions\n\n## Features\n\n- Systematic critique of ideas from multiple perspectives\n- Identification of specific flaws with severity assessment\n- Structured revision process to address identified issues\n- Tracking of improvement areas and addressed flaws\n- Support for multiple critique-revision cycles\n- Confidence assessment for critiques\n- Final revision status tracking\n\n## Usage\n\n### Installation\n\n```bash\nnpm install -g @cognitivegraphai/critique-revision\n```\n\n### Running the Server\n\n```bash\nnpx @cognitivegraphai/critique-revision\n```\n\n## API\n\nThe server provides the following actions:\n\n### `createIdea`\n\nCreate a new idea to be critiqued and revised.\n\n```json\n{\n  \"action\": \"createIdea\",\n  \"ideaId\": \"idea-123\",\n  \"ideaContent\": \"The content of the idea to critique and revise\"\n}\n```\n\n### `createCritique`\n\nCreate a critique of an idea, identifying specific flaws.\n\n```json\n{\n  \"action\": \"createCritique\",\n  \"critiqueData\": {\n    \"ideaId\": \"idea-123\",\n    \"ideaContent\": \"The content of the idea being critiqued\",\n    \"critiqueId\": \"critique-456\",\n    \"critiqueFocus\": \"Feasibility\",\n    \"critiqueMethod\": \"Cost-benefit analysis\",\n    \"flawsIdentified\": [\n      \"Requires too many resources\",\n      \"Timeline is unrealistic\"\n    ],\n    \"severityLevel\": \"Medium\",\n    \"confidenceLevel\": \"High\",\n    \"critiqueNumber\": 1,\n    \"totalCritiques\": 3,\n    \"needsRevision\": true\n  }\n}\n```\n\n### `createRevision`\n\nCreate a revision of an idea based on a critique.\n\n```json\n{\n  \"action\": \"createRevision\",\n  \"revisionData\": {\n    \"revisionId\": \"revision-789\",\n    \"parentCritiqueId\": \"critique-456\",\n    \"originalIdeaId\": \"idea-123\",\n    \"revisionContent\": \"The revised content addressing the identified flaws\",\n    \"addressedFlaws\": [\n      \"Requires too many resources\",\n      \"Timeline is unrealistic\"\n    ],\n    \"improvementAreas\": [\n      \"Resource allocation\",\n      \"Project timeline\"\n    ],\n    \"revisionNumber\": 1,\n    \"totalRevisions\": 2,\n    \"isFinalRevision\": false\n  }\n}\n```\n\n### `getIdeaDetails`\n\nGet details about an idea and its critiques.\n\n```json\n{\n  \"action\": \"getIdeaDetails\",\n  \"ideaId\": \"idea-123\"\n}\n```\n\n### `getCritiqueDetails`\n\nGet details about a critique and its revisions.\n\n```json\n{\n  \"action\": \"getCritiqueDetails\",\n  \"critiqueId\": \"critique-456\"\n}\n```\n\n### `getRevisionDetails`\n\nGet details about a revision and its parent critique.\n\n```json\n{\n  \"action\": \"getRevisionDetails\",\n  \"revisionId\": \"revision-789\"\n}\n```\n\n### `getCritiqueRevisionChain`\n\nGet the complete chain of critiques and revisions for an idea.\n\n```json\n{\n  \"action\": \"getCritiqueRevisionChain\",\n  \"ideaId\": \"idea-123\"\n}\n```\n\n## License\n\nMIT","readmeFilename":"README.md","_rev":"1-0826137e8cade92b3d0cfbd1487c5188"}