
mcp think tank py
基于FastMCP V2的新一代知识图谱和推理工具,使用Python重写,功能增强。
Repository Info
About This Server
基于FastMCP V2的新一代知识图谱和推理工具,使用Python重写,功能增强。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP Think Tank 🧠
A next-generation knowledge graph and reasoning tool built with FastMCP V2. This is a complete Python rewrite of the original TypeScript version with enhanced capabilities.
Features
- Advanced Knowledge Graph - Store and retrieve information with semantic search capabilities
- Structured Reasoning - Think and reflect on complex problems with chain-of-thought
- Task Management - Plan and organize multi-step workflows
- Cross-Tool Intelligence - Orchestrated interactions between memory, reasoning, and tasks
- File System Awareness - Index and search code in your projects
Installation
Prerequisites
- Python 3.12+
- uv for dependency management
Install with uv
# Clone the repository
git clone https://github.com/flight505/mcp-think-tank-py.git
cd mcp-think-tank-py
# Create a virtual environment and install dependencies
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e .
Install with Claude Desktop
# Install directly for Claude Desktop
fastmcp install src/server.py --name "MCP Think Tank"
Quick Start
- Run in development mode
fastmcp dev src/server.py
- Use with Claude Desktop
After installing with fastmcp install, the MCP Think Tank will be available as a tool in Claude Desktop.
Usage
Knowledge Graph
# Create entities
create_entities(entities=[{"name": "FastMCP", "entityType": "Technology", "observations": ["A Pythonic MCP framework"]}])
# Create relations
create_relations(relations=[{"from": "FastMCP", "to": "Python", "relationType": "built with"}])
# Search for entities
search_nodes(query="FastMCP")
Structured Reasoning
# Think about a problem
think(structured_reasoning="Let me analyze how to approach this problem step by step...", store_in_memory=True)
Task Management
# Create tasks from requirements
create_tasks(prd_text="Build a feature that integrates with our database and provides a REST API")
# List current tasks
list_tasks()
Architecture
MCP Think Tank is built with a modular architecture:
- Core Server - FastMCP-based server implementation
- Orchestrator - Coordinates interactions between tools
- Tools - Memory, Think, and Task functionality
- Storage - JSONL-based persistence with semantic search
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- FastMCP for the powerful MCP server framework
- Model Context Protocol for standardizing LLM context provision
Quick Start
Clone the repository
git clone https://github.com/flight505/mcp-think-tank-pyInstall dependencies
cd mcp-think-tank-py
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.