0.0.2 • Published 5 months ago

@waldzellai/server-glassbead-thinks v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@waldzellai/server-glassbead-thinks

An MCP server providing advanced problem-solving capabilities through sequential thinking, mental models, and debugging approaches.

smithery badge

Usage Options

1. NPX (Recommended for Claude Desktop)

npx @waldzellai/server-glassbead-thinks

Add to Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "glassbead-thinks": {
      "command": "npx",
      "args": ["@waldzellai/server-glassbead-thinks"],
      "env": {}
    }
  }
}

2. Docker

# Pull the image
docker pull ghcr.io/waldzellai/server-glassbead-thinks

# Run the container
docker run -it --rm ghcr.io/waldzellai/server-glassbead-thinks

Add to Claude Desktop configuration:

{
  "mcpServers": {
    "glassbead-thinks": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/waldzellai/server-glassbead-thinks"
      ],
      "env": {}
    }
  }
}

3. NPM Installation

For use in your own projects:

npm install @waldzellai/server-glassbead-thinks

Features

1. Sequential Thinking

  • Dynamic thought progression
  • Revision capabilities
  • Branching thought paths
  • Progress tracking
  • Hypothesis generation and verification

2. Mental Models

  • First Principles Thinking
  • Opportunity Cost Analysis
  • Error Propagation Understanding
  • Rubber Duck Debugging
  • Pareto Principle
  • Occam's Razor

3. Debugging Approaches

  • Binary Search
  • Reverse Engineering
  • Divide and Conquer
  • Backtracking
  • Cause Elimination
  • Program Slicing

Usage

As an MCP Server

import { Server } from '@modelcontextprotocol/sdk/server/index.js';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';

// The server will automatically register its tools
const transport = new StdioServerTransport();
await server.connect(transport);

Available Tools

  1. sequentialthinking
interface ThoughtData {
  thought: string;
  thoughtNumber: number;
  totalThoughts: number;
  nextThoughtNeeded: boolean;
  isRevision?: boolean;
  revisesThought?: number;
  branchFromThought?: number;
  branchId?: string;
  needsMoreThoughts?: boolean;
}
  1. mentalmodel
interface MentalModelData {
  modelName: string;
  problem: string;
  steps: string[];
  reasoning: string;
  conclusion: string;
}
  1. debuggingapproach
interface DebuggingApproachData {
  approachName: string;
  issue: string;
  steps: string[];
  findings: string;
  resolution: string;
}

Tool Examples

Sequential Thinking

const result = await server.callTool("sequentialthinking", {
  thought: "Breaking down the problem into components",
  thoughtNumber: 1,
  totalThoughts: 5,
  nextThoughtNeeded: true
});

Mental Model

const result = await server.callTool("mentalmodel", {
  modelName: "first_principles",
  problem: "Optimize database queries",
  steps: ["Identify core operations", "Analyze query patterns"],
  reasoning: "Breaking down to fundamental operations",
  conclusion: "Implement query caching"
});

Debugging Approach

const result = await server.callTool("debuggingapproach", {
  approachName: "binary_search",
  issue: "Performance degradation",
  steps: ["Isolate timing", "Check midpoint", "Narrow search"],
  findings: "Memory leak in loop",
  resolution: "Fixed resource cleanup"
});

Requirements

  • Node.js >= 18
  • ESM module support

License

MIT

Author

waldzellai fork of work by Anthropic, PBC (https://anthropic.com)

Contributing

Issues and pull requests welcome at https://github.com/modelcontextprotocol/servers/issues