MCP Think Tank

by flight505
MIT License
152
2
  • Apple
  • Linux

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AUTO_LINKNoEnable automatic entity linking in knowledge graphtrue
LOG_LEVELNoSet logging level (debug, info, warn, error)info
MCP_DEBUGNoEnable debug loggingfalse
TOOL_LIMITNoMaximum number of tool calls per session25
EXA_API_KEYYesAPI key for Exa web search (required for exa_search and exa_answer tools)
MEMORY_PATHNoPath to the memory storage file~/.mcp-think-tank/memory.jsonl
MCP_LOG_FILENoEnable/disable file loggingtrue
CACHE_CONTENTNoEnable/disable content-based caching for file/URL operationstrue
MCP_LISTEN_PORTNoSet custom port for MCP server3399
TOOL_CACHE_SIZENoMaximum number of cached tool calls100
CACHE_TOOL_CALLSNoEnable/disable duplicate tool call cachingtrue
CONTENT_CACHE_TTLNoTime-to-live for cached content in milliseconds300000
CONTENT_CACHE_SIZENoMaximum number of items in content cache50
MAX_OPERATION_TIMENoMaximum time for batch operations in milliseconds5000
MIN_SIMILARITY_SCORENoThreshold for entity matching0.85

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Health

Tools

Functions exposed to the LLM to take actions

NameDescription
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.

ID: pgg03wdx49