一个展示克劳德·香农系统化问题解决方法的MCP服务器。该服务器提供了一个工具,帮助按照香农的问题定义、数学建模和实际实现的方法来分解复杂问题。
<a href="https://glama.ai/mcp/servers/iffffhwqqw"> <img width="380" height="200" src="https://gips3.baidu.com/it/u=2169982485,3476475857&fm=3081&app=3081&f=PNG?w=760&h=400" alt="Shannon Thinking Server MCP服务器" /> </a>克劳德·香农,信息理论之父,通过一种系统化的思维方式来处理复杂问题:
这个MCP服务器展示了这种方法作为工具,帮助指导通过这些阶段的系统化问题解决过程。
{
"mcpServers": {
"shannon-thinking": {
"command": "npx",
"args": [
"-y",
"server-shannon-thinking@latest"
]
}
}
}
该服务器提供了一个名为shannonthinking的工具,根据香农的方法结构化问题解决思路。
每个想法必须包括:
附加功能:
const thought = {
thought: "核心问题可以定义为信息流优化",
thoughtType: "problem_definition",
thoughtNumber: 1,
totalThoughts: 5,
uncertainty: 0.2,
dependencies: [],
assumptions: ["系统具有有限容量", "信息流是连续的"],
nextThoughtNeeded: true,
// 可选:标记为早期定义的修订
isRevision: false,
// 可选:指示步骤需要重新检查
recheckStep: {
stepToRecheck: "constraints",
reason: "发现新的容量限制",
newInformation: "系统显示非线性扩展"
}
};
// 使用MCP客户端
const result = await client.callTool("shannonthinking", thought);
# 安装依赖
npm install
# 构建
npm run build
# 运行测试
npm test
# 开发期间的监视模式
npm run watch
该工具接受以下结构的思想:
interface ShannonThought {
thought: string;
thoughtType: "problem_definition" | "constraints" | "model" | "proof" | "implementation";
thoughtNumber: number;
totalThoughts: number;
uncertainty: number; // 0-1
dependencies: number[];
assumptions: string[];
nextThoughtNeeded: boolean;
// 可选修订字段
isRevision?: boolean;
revisesThought?: number;
// 可选重新检查字段
recheckStep?: {
stepToRecheck: ThoughtType;
reason: string;
newInformation?: string;
};
// 可选验证字段
proofElements?: {
hypothesis: string;
validation: string;
};
experimentalElements?: {
testDescription: string;
results: string;
confidence: number; // 0-1
limitations: string[];
};
// 可选实现字段
implementationNotes?: {
practicalConstraints: string[];
proposedSolution: string;
};
}
这种思考模式特别适用于: