Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SYNCCONTEXT_HOSTNoHTTP bind address0.0.0.0
SYNCCONTEXT_PORTNoHTTP port8080
SYNCCONTEXT_TRANSPORTNostdio, sse, or streamable-httpstdio
SYNCCONTEXT_ADMIN_TOKENNoAdmin token for create/list projects
SYNCCONTEXT_DATABASE_URLYesPostgreSQL connection string
SYNCCONTEXT_VECTOR_STORENopgvector or redispgvector
SYNCCONTEXT_PROJECT_TOKENYesDefault project token (stdio mode)
SYNCCONTEXT_GEMINI_API_KEYNoGemini API key
SYNCCONTEXT_OPENAI_API_KEYNoOpenAI API key
SYNCCONTEXT_OLLAMA_BASE_URLNoOllama server URL
SYNCCONTEXT_EMBEDDING_PROVIDERNoauto, gemini, openai, or ollamaauto

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
save_memoryA

Save a memory to the shared team knowledge base.

Use this to store architecture decisions, patterns, bugs, conventions, or any context useful for team members and AI agents.

Args: content: The memory content to save author: Who is saving this (developer name/email) tags: Categorization tags (e.g. ["auth", "frontend", "decision"]) file_path: Related file path if applicable memory_type: Type: general, decision, bug, pattern, onboarding

search_memoriesA

Search team memories by semantic similarity.

Use this to find relevant context, decisions, patterns, or conventions that team members have previously documented.

Args: query: Natural language search query top_k: Maximum number of results (default 5) tag: Filter by specific tag author: Filter by specific author

list_memoriesA

List recent memories from the project.

Args: limit: Maximum number of memories to return (default 20) tag: Filter by tag author: Filter by author memory_type: Filter by type (general, decision, bug, pattern, onboarding)

delete_memoryA

Delete a specific memory by its ID.

Args: memory_id: UUID of the memory to delete

update_memoryB

Update an existing memory. Re-embeds automatically if content changes.

Args: memory_id: UUID of the memory to update content: New content (triggers re-embedding if changed) tags: New tags (replaces existing) file_path: New file path memory_type: New memory type

get_project_contextA

Get a summary of the project's shared knowledge base.

Use this when onboarding to a project or when you need an overview of what the team has documented so far.

get_memoryA

Get a single memory by its UUID.

Args: memory_id: UUID of the memory to retrieve

list_tagsA

List all unique tags used in this project with their usage counts.

list_contributorsA

List all contributors who have saved memories in this project.

search_by_fileA

Find all memories related to a specific file path.

Args: file_path: File path to search for (substring match, case-insensitive) limit: Maximum number of results (default 20)

bulk_save_memoriesA

Save multiple memories at once.

Args: memories: List of memory objects with 'content' (required) and optional 'author', 'tags', 'file_path', 'memory_type'

find_similarB

Find memories semantically similar to an existing memory.

Args: memory_id: UUID of the source memory top_k: Maximum number of similar memories (default 5)

create_projectB

Create a new project. Returns the generated token.

Args: name: Display name for the project description: Optional project description admin_token: Admin authentication token

list_projectsA

List all registered projects. Requires admin token.

Args: admin_token: Admin authentication token

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/infinitylabs-io/SyncContext'

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