Installing think-tool
This guide walks you through installing and configuring the think-tool MCP server.
Prerequisites
- Claude Code installed and working
- Node.js 18.0 or higher
- Active Claudefast subscription
Installation Methods
- NPM (Recommended)
- Project-Local
- Docker
Global Installation
Install think-tool globally for use across all projects:
# Install globally
npm install -g @claudefast/think-tool
# Verify installation
think-tool --version
Register with Claude
# Add to Claude's MCP servers
claude mcp add think-tool npx @claudefast/think-tool
# Restart Claude to load the server
claude restart
Local Installation
Install think-tool for a specific project:
# In your project directory
npm install --save-dev @claudefast/think-tool
# Add to package.json scripts
npm pkg set scripts.think-tool="think-tool"
Configure Claude
Create or update .claude/settings.json
:
{
"mcp": {
"think-tool": {
"transport": "local",
"command": "npm",
"args": ["run", "think-tool"]
}
}
}
Docker Installation
Run think-tool in a container:
# Pull the official image
docker pull claudefast/think-tool:latest
# Run the container
docker run -d \
--name think-tool \
-p 3461:3461 \
-e LICENSE_KEY=$YOUR_LICENSE_KEY \
claudefast/think-tool:latest
Configure Claude
{
"mcp": {
"think-tool": {
"transport": "http",
"url": "http://localhost:3461/mcp"
}
}
}
Configuration
Basic Configuration
Create ~/.think-tool/config.json
:
{
"license": "YOUR_LICENSE_KEY",
"reflection": {
"autoTrigger": true,
"verbosity": "normal",
"saveHistory": true
}
}
Advanced Configuration
{
"license": "YOUR_LICENSE_KEY",
"reflection": {
"autoTrigger": true,
"verbosity": "detailed",
"saveHistory": true,
"historyPath": "~/.think-tool/history",
"triggers": {
"commands": ["bash", "edit", "write"],
"keywords": ["deploy", "delete", "production"],
"complexity": 8
},
"export": {
"format": "markdown",
"includeTimestamps": true
}
},
"server": {
"port": 3461,
"host": "localhost"
}
}
Verification
Check Installation
# List Claude's MCP servers
claude mcp list
# Should show:
# - think-tool (local) ✓
Test Reflection
You: Test think-tool reflection
Claude: [REFLECTION] Testing think-tool integration:
- Server status: Connected ✓
- License: Valid ✓
- Auto-trigger: Enabled ✓
- History: Recording ✓
Think-tool is working correctly!
Environment Setup
For Teams
Share configuration across team:
# .env
THINK_TOOL_LICENSE=team-license-key
THINK_TOOL_HISTORY_PATH=/shared/reflections
THINK_TOOL_VERBOSITY=detailed
For CI/CD
Configure for automated environments:
# .github/workflows/ci.yml
env:
THINK_TOOL_LICENSE: ${{ secrets.THINK_TOOL_LICENSE }}
THINK_TOOL_AUTO_TRIGGER: true
THINK_TOOL_EXPORT_FORMAT: json
IDE Integration
VS Code
Add to workspace settings:
{
"claude.mcp.servers": {
"think-tool": {
"enabled": true,
"showInline": true
}
}
}
JetBrains
Configure in project settings:
- Open Settings → Tools → Claude Code
- Add MCP Server → think-tool
- Enable "Show reflections inline"
Troubleshooting
Server Not Found
# Check if think-tool is in PATH
which think-tool
# If not found, add to PATH
export PATH="$PATH:$(npm bin -g)"
Connection Failed
# Check server status
think-tool status
# Restart server
claude mcp restart think-tool
# Check logs
think-tool logs --tail 50
License Issues
# Verify license
think-tool license verify
# Update license
think-tool license update YOUR_NEW_KEY
Performance Issues
If reflections are slow:
- Check verbosity setting (use "normal" instead of "detailed")
- Disable history if not needed
- Increase server resources in Docker
Security Considerations
License Key Protection
Never commit license keys:
# .gitignore
.think-tool/config.json
.env
Network Security
For remote teams:
{
"server": {
"host": "0.0.0.0",
"port": 3461,
"ssl": {
"enabled": true,
"cert": "/path/to/cert.pem",
"key": "/path/to/key.pem"
}
}
}
Updating
Check for Updates
# Check current version
think-tool --version
# Check for updates
npm outdated -g @claudefast/think-tool
# Update to latest
npm update -g @claudefast/think-tool
Migration Guide
When updating major versions:
# Backup current config
think-tool backup
# Update
npm update -g @claudefast/think-tool
# Run migration
think-tool migrate
# Verify
think-tool verify
Uninstallation
If you need to remove think-tool:
# Remove from Claude
claude mcp remove think-tool
# Uninstall package
npm uninstall -g @claudefast/think-tool
# Clean up config (optional)
rm -rf ~/.think-tool
Next Steps
- Learn how to use think-tool
- Explore configuration options
- Read about best practices