- Home
- MCP servers
- CoRT
CoRT
- python
6
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"kunihiros-cort-mcp": {
"command": "pipx",
"args": [
"run",
"cort-mcp",
"--log=off"
],
"env": {
"OPENAI_API_KEY": "{apikey}",
"OPENROUTER_API_KEY": "{apikey}"
}
}
}
}This CoRT MCP Server provides a Chain-of-Recursive-Thoughts approach for multi-round reasoning. It lets an AI think more deeply by iteratively challenging itself and evaluating alternative responses, helping you obtain more robust results in your AI interactions.
How to use
You run the CoRT MCP Server locally and connect to it with an MCP client. The server will perform multi-round thinking by generating alternatives, evaluating them, and selecting the best final response. You can enable or disable logging to suit your debugging needs. When logging is enabled, ensure the log file path is absolute and writable.
Typical usage patterns include feeding user queries to the server and receiving a structured final response after several thinking rounds. The system can use multiple models and providers for different alternatives, and it records which model and provider were used for each option in logs.
How to install
Prerequisites: you need Python and a way to manage Python executables. Install or ensure you have pipx available to run the Cort MCP server.
Install and run the server using the provided runtime command. You can start with logging disabled and later enable logging to troubleshoot.
"CoRT-chain-of-recursive-thinking": {
"command": "pipx",
"args": ["run", "cort-mcp", "--log=off"],
"env": {
"OPENAI_API_KEY": "{apikey}",
"OPENROUTER_API_KEY": "{apikey}"
}
}
Additional notes
If you need logging, switch to --log=on and provide an absolute path for --logfile. The server requires both --log and --logfile when logging is enabled, and the path must be absolute and writable by the MCP Server process.
If you are using a newer version of cort-mcp, you can update the version in the same place where the command is defined to pick up the latest features or fixes.
Available tools
simple
Output only the final selected alternative with no additional details.
details
Include detailed response history and the decision process when available.
mixed_llm
Use multiple LLMs to generate alternatives and log the model/provider used for each.
neweval
Enhanced evaluation prompt that analyzes intent, context, diversity, practicality, and consistency.