Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
AUTO_LINK | No | Enable automatic entity linking in knowledge graph | true |
LOG_LEVEL | No | Set logging level (debug, info, warn, error) | info |
MCP_DEBUG | No | Enable debug logging | false |
TOOL_LIMIT | No | Maximum number of tool calls per session | 25 |
EXA_API_KEY | Yes | API key for Exa web search (required for exa_search and exa_answer tools) | |
MEMORY_PATH | No | Path to the memory storage file | ~/.mcp-think-tank/memory.jsonl |
MCP_LOG_FILE | No | Enable/disable file logging | true |
CACHE_CONTENT | No | Enable/disable content-based caching for file/URL operations | true |
MCP_LISTEN_PORT | No | Set custom port for MCP server | 3399 |
TOOL_CACHE_SIZE | No | Maximum number of cached tool calls | 100 |
CACHE_TOOL_CALLS | No | Enable/disable duplicate tool call caching | true |
CONTENT_CACHE_TTL | No | Time-to-live for cached content in milliseconds | 300000 |
CONTENT_CACHE_SIZE | No | Maximum number of items in content cache | 50 |
MAX_OPERATION_TIME | No | Maximum time for batch operations in milliseconds | 5000 |
MIN_SIMILARITY_SCORE | No | Threshold for entity matching | 0.85 |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
Health |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
upsert_entities | Create new entities or update existing ones in the knowledge graph using an upsert pattern |
create_relations | Create multiple new relations between entities in the knowledge graph. Relations should be in active voice |
add_observations | Add new observations to existing entities in the knowledge graph |
delete_entities | Delete multiple entities and their associated relations from the knowledge graph |
delete_observations | Delete specific observations from entities in the knowledge graph |
delete_relations | Delete multiple relations from the knowledge graph |
read_graph | Read the entire knowledge graph |
search_nodes | Search for nodes in the knowledge graph based on a query |
open_nodes | Open specific nodes in the knowledge graph by their names |
update_relations | Update multiple existing relations in the knowledge graph |
memory_query | Query the memory store with advanced filters |
think | Use the tool to think about something. It will not obtain new information or change the database, but just append the thought to the log. Use it when complex reasoning or some cache memory is needed. Consider including: problem definition, relevant context, analysis steps, self-reflection on your reasoning, and conclusions. Adapt this structure as needed for your specific thought process. |
plan_tasks | Create multiple tasks from a plan. Generates IDs and syncs with knowledge graph. |
list_tasks | List tasks with optional filtering by status and priority. |
next_task | Get the next highest priority todo task and mark it as in-progress. |
complete_task | Mark a task as completed. |
update_tasks | Update multiple tasks with new values. |
show_memory_path | Return absolute path of the active knowledge-graph file. |
exa_search | Search the web using Exa API |
exa_answer | Ask a question and get a sourced answer via Exa /answer API. |