fr3k-think
v6.0.0
Published
FR3K structured thinking MCP server for coding implementation
Maintainers
Readme
FR3K-Think MCP 🚀
A structured thinking MCP server for coding implementation - guides coding agents through detailed thinking processes.
Version 1.0: Pure TypeScript Implementation
Features
- Structured Thinking Process - Guides through implementation thinking step by step
- Pure TypeScript - Built with the official
@modelcontextprotocol/sdk - Single Tool Design - One powerful
thinktool for all thinking needs - Session Management - Track thinking progress and history
- Dynamic Guidance - Provides contextual thinking suggestions
Installation
One-Line Install (Claude Code)
claude mcp add fr3k-think -s user -- npx -y fr3k-thinkClaude Desktop
Add to your configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"fr3k-think": {
"command": "npx",
"args": ["-y", "fr3k-think"]
}
}
}Key Features
- Structured Thinking: Step-by-step guidance through coding implementation
- Session Tracking: Maintains thinking context across multiple thoughts
- Dynamic Guidance: Provides contextual suggestions based on thinking progress
- Investigation Support: Special handling for research and exploration phases
- Confidence Tracking: Monitor certainty levels throughout the process
Usage
The MCP provides a single think tool with these parameters:
thought(required): Your current thinking content (should be rich and detailed)thoughtNumber(required): Current thought number (1, 2, 3...)totalThoughts(required): Total thoughts planned for this problemisInvestigating(optional): Set to true when researching/investigatinginvestigationArea(optional): What you're investigatingbranchReason(optional): Reason for branching to alternative approachconfidence(optional): Your confidence level (0.0-1.0)
Example Flow
// First thought - Understanding
think({
thought: "Understanding dark mode toggle request. Need: UI component, theme state management, CSS architecture, persistence mechanism.",
thoughtNumber: 1,
totalThoughts: 3,
isInvestigating: true,
investigationArea: "existing UI patterns"
})
// Middle thought - Investigation results
think({
thought: "Found: React Context for state, CSS variables for theming, localStorage for persistence. Will create ThemeContext with useTheme hook.",
thoughtNumber: 2,
totalThoughts: 3,
confidence: 0.95
})
// Final thought - Implementation plan
think({
thought: `Implementation plan:
1. Create contexts/ThemeContext.jsx with ThemeProvider and useTheme hook
2. Build components/ui/ThemeToggle.jsx using existing Button component
3. Add CSS variables to :root for --bg-color, --text-color
4. Integrate: Wrap App in ThemeProvider, add toggle to Header
5. Test: Verify persistence, smooth transitions, existing component compatibility`,
thoughtNumber: 3,
totalThoughts: 3
})Resources
The MCP also provides resources for introspection:
thinking://current- View current thinking sessionthinking://history- See all thoughts from current session
Development
To modify or extend FR3K-Think:
- Clone the repository
- Install dependencies:
npm install - Make changes in
src/index.ts - Build:
npm run build - Test:
npm start
Development with hot reload:
npm run devPhilosophy
FR3K-Think provides structured thinking support for coding implementation:
- Progressive Thinking - Build understanding step by step
- Context Preservation - Maintain session state across thoughts
- Dynamic Guidance - Contextual suggestions based on progress
- Implementation Focus - Designed specifically for coding tasks
- Minimal Interface - Simple parameters, powerful results
License
MIT License - See LICENSE file for details.
Built with frustration about Python dependencies and love for simple solutions.
