Back to Home
gavlooth icon

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

Run Command
reasoning-tools

Environment 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

Stats

Interest Score0
Security Score4
Cost ClassHigh
Avg Tokens1000
Stars0
Forks0
Last Update2026-01-19

Tags

ReasoningLLMMCPMulti-AgentTools