Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ENVNoEnvironment settinglocal
LLM_API_KEYYesAPI key for the LLM service
TOKENIZERS_PARALLELISMNoControl for tokenizers parallelismfalse

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
rememberA

Store data in memory.

Two modes depending on whether session_id is provided:

Without session_id (permanent memory): Runs the full add + cognify
pipeline to ingest data and build the knowledge graph.

With session_id (session memory): Stores the data in the session
cache only. Fast, no entity extraction. Omit session_id when the
content should be stored as permanent graph memory.

Parameters
----------
data : str
    The data to store (text content).
dataset_name : str, optional
    Target dataset name. Defaults to the current MCP client's
    agent-scoped dataset (e.g. "cursor_vscode_memory"), or
    "main_dataset" if no client identity is detected.
session_id : str, optional
    Session ID. When set, stores in session cache only.
custom_prompt : str, optional
    Custom prompt for entity extraction (permanent mode only).
recallA

Search memory with auto-routing and session awareness.

When session_id is provided without datasets or search_type,
searches session cache first by keyword matching. Falls through
to the permanent knowledge graph if no session results match.

Auto-routing picks the best search strategy when search_type
is not specified.

Parameters
----------
query : str
    Natural language query to search for.
search_type : str, optional
    Override auto-routing. Options: GRAPH_COMPLETION,
    GRAPH_COMPLETION_COT, RAG_COMPLETION, CHUNKS, SUMMARIES,
    TEMPORAL, FEELING_LUCKY, etc.
datasets : str, optional
    Comma-separated dataset names to search within.
session_id : str, optional
    Session ID for session-first search.
top_k : int
    Maximum results to return (default: 10).
forgetA

Delete data from memory.

Can target a specific dataset or delete everything the user owns.
Removes data from the relational DB, graph DB, and vector DB.

Parameters
----------
dataset : str, optional
    Dataset name to delete entirely.
everything : bool
    If true, delete ALL data across all datasets.
visualize_graph_uiC

Open the Cognee workspace UI and render the current knowledge graph. The UI also lets the user upload files to memory.

upload_file_uiA

Open the Cognee workspace UI so the user can upload files to memory. The UI also shows the current knowledge graph.

open_cognee_workspaceA

Open the Cognee workspace UI. Use for generic intents like 'run the cognee UI', 'show the cognee app', 'open cognee'. The UI provides dataset management, file upload, text ingestion, search, and graph visualization.

cognify_fileA

Ingest an uploaded file into Cognee memory. Accepts the file as base64. Runs add synchronously, then launches cognify in the background.

list_datasets_jsonA

List datasets as structured JSON for the Cognee workspace UI. Returns {datasets: [{id, name}, ...]} in structuredContent.

list_dataset_data_jsonA

List data items in a dataset as structured JSON for the Cognee workspace UI. Returns {data: [{id, name}, ...]} in structuredContent.

get_client_info_jsonA

Return the current MCP client identity and its agent-scoped default dataset. The workspace UI uses this to automatically separate memory per agent (e.g. Cursor writes to 'cursor_memory', Claude Code to 'claude_code_memory'). The default dataset is created on demand. Returns {client: {name, version}, default_dataset} in structuredContent.

create_dataset_jsonA

Create an empty dataset with the given name (idempotent). Returns {dataset: {id, name}} in structuredContent.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Cognee Graph Visualization UIInteractive MCP App UI that renders a Cognee knowledge graph.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/topoteretes/cognee'

If you have feedback or need assistance with the MCP directory API, please join our Discord server