reasoning-tools
by gavlooth
Overview
An MCP (Model Context Protocol) server that provides advanced reasoning tools (sequential, graph-of-thoughts, reflexion, dialectic) using configurable LLM backends.
Installation
reasoning-toolsEnvironment Variables
- ZAI_API_KEY
- GLM_API_KEY
- GROQ_API_KEY
- DEEPSEEK_API_KEY
- OPENROUTER_API_KEY
- TOGETHER_API_KEY
- ANTHROPIC_API_KEY
- OPENAI_API_KEY
- LLM_PROVIDER
- LLM_MODEL
- CODE_EXEC_ENABLED
- OPENAI_TIMEOUT
- ANTHROPIC_TIMEOUT
- GROQ_TIMEOUT
- OLLAMA_TIMEOUT
- DEEPSEEK_TIMEOUT
- OPENROUTER_TIMEOUT
- ZAI_TIMEOUT
- TOGETHER_TIMEOUT
- CODE_EXEC_TIMEOUT
- WEB_FETCH_TIMEOUT
- LLM_MAX_CONCURRENT
- MCP_TRANSPORT
- MCP_PORT
- MCP_BASE_URL
- REASONING_STREAM_MODE
- MCP_STDERR_STREAM
- MCP_LOGGING_STREAM
- MCP_PROGRESS_STREAM
- REASONING_DEPRECATION_WARNINGS
Security Notes
The server includes a `code_exec` tool that executes Python code on the host system. While extensive validation (`validatePythonCode` using string pattern matching and AST analysis via Python subprocess) is implemented to block many dangerous operations (e.g., file system access, process execution, dynamic imports, dunder method manipulation, common obfuscation), running arbitrary user-supplied code, even with these restrictions, carries inherent residual risks of bypass or unforeseen vulnerabilities. The README explicitly warns: 'This tool executes code on the host system without full sandboxing. Only use in trusted environments.' Without dedicated containerization or a more isolated sandbox, it is not fully secure and should not be run in environments where untrusted input is processed or on critical systems.
Similar Servers
mcp-sequentialthinking-tools
Guides LLM-driven sequential problem-solving by breaking down complex problems into manageable steps and providing confidence-scored recommendations for MCP tool usage at each stage.
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
mcpc
Build and compose agentic Model Context Protocol (MCP) servers and tools, enabling AI assistants to discover, integrate, and orchestrate other MCP servers for complex tasks.
1xn-vmcp
An open-source platform for composing, customizing, and extending multiple Model Context Protocol (MCP) servers into a single logical, virtual MCP server, enabling fine-grained context engineering for AI workflows and agents.