mcp-context-server
An MCP server that provides persistent multimodal context storage for LLM agents.
Package Details
mcp-context-server
Environment Variables
Log level
Storage backend type: sqlite (default) or postgresql
Maximum individual image size in megabytes
Maximum total request size in megabytes
Custom database file location path
Maximum number of concurrent read connections in the pool
Maximum number of concurrent write connections in the pool
Connection timeout in seconds
Idle connection timeout in seconds
Connection health check interval in seconds
Maximum number of retry attempts for failed operations
Base delay in seconds between retry attempts
Maximum delay in seconds between retry attempts
Enable random jitter in retry delays
Exponential backoff multiplication factor for retries
Enable SQLite foreign key constraints
SQLite journal mode (e.g., WAL, DELETE)
SQLite synchronous mode (e.g., NORMAL, FULL, OFF)
SQLite temporary storage location (e.g., MEMORY, FILE)
SQLite memory-mapped I/O size in bytes
SQLite cache size (negative value for KB, positive for pages)
SQLite page size in bytes
SQLite WAL autocheckpoint threshold in pages
SQLite busy timeout in milliseconds
SQLite WAL checkpoint mode (e.g., PASSIVE, FULL, RESTART)
Server shutdown timeout in seconds
Test mode shutdown timeout in seconds
Queue operation timeout in seconds
Test mode queue timeout in seconds
Circuit breaker failure threshold before opening
Circuit breaker recovery timeout in seconds
Maximum calls allowed in circuit breaker half-open state
Complete PostgreSQL connection string (overrides individual settings if provided)
PostgreSQL server host address
PostgreSQL server port number
PostgreSQL database username
PostgreSQL database password
PostgreSQL database name
PostgreSQL connection pool minimum size
PostgreSQL connection pool maximum size
PostgreSQL connection pool timeout in seconds
PostgreSQL command execution timeout in seconds
PostgreSQL SSL mode (disable, allow, prefer, require, verify-ca, verify-full)
PostgreSQL schema name for table and index operations (default: public)
Enable semantic search functionality
Ollama API host URL for embedding generation
Embedding model name for semantic search
Embedding vector dimensions
Timeout in seconds for embedding generation API calls
Maximum number of retry attempts for embedding generation
Base delay in seconds between retry attempts (with exponential backoff)
Enable full-text search functionality
Language for FTS stemming (e.g., english, german, french)
Enable hybrid search combining FTS and semantic search with RRF fusion
RRF smoothing constant for hybrid search (default 60)
Embedding provider: ollama (default), openai, azure, huggingface, or voyage
OpenAI API key for OpenAI embedding provider
Custom base URL for OpenAI-compatible APIs
OpenAI organization ID
Azure OpenAI API key
Azure OpenAI endpoint URL
Azure OpenAI embedding deployment name
Azure OpenAI API version (default: 2024-02-01)
HuggingFace Hub API token for HuggingFace embedding provider
Voyage AI API key for Voyage embedding provider
Voyage AI truncation mode (true/false)
Voyage AI batch size for embedding requests
Enable LangSmith tracing
LangSmith API key
LangSmith project name
LangSmith API endpoint URL
Comma-separated list of metadata fields to index (field:type format)
Index sync mode: strict (fail), auto (sync), warn (log), additive (default, add missing only)
Transport mode: stdio for local, http for Docker/remote
HTTP bind address (use 0.0.0.0 for Docker)
HTTP port number
Comma-separated list of tools to disable (e.g., delete_context,update_context)
Bearer token for HTTP authentication (required when using SimpleTokenVerifier)
Client ID to assign to authenticated requests
Authentication provider class path (e.g., app.auth.simple_token.SimpleTokenVerifier)
Google OAuth Client ID (required when using GoogleProvider)
Google OAuth Client Secret (required when using GoogleProvider)
Server base URL for OAuth callbacks (required when using GoogleProvider)
Required OAuth scopes (comma-separated, e.g., openid,email)
Azure OAuth Client ID (required when using AzureProvider)
Azure OAuth Client Secret (required when using AzureProvider)
Azure Tenant ID - use specific GUID for org-only access, 'organizations' for multi-tenant, or 'consumers' for personal accounts
Server base URL for OAuth callbacks (required when using AzureProvider)
Required OAuth scopes for Azure (comma-separated, e.g., read,write)
ghcr.io/alex-feel/mcp-context-server:0.17.0
Environment Variables
Log level
Storage backend type: sqlite (default) or postgresql
Maximum individual image size in megabytes
Maximum total request size in megabytes
Custom database file location path
Maximum number of concurrent read connections in the pool
Maximum number of concurrent write connections in the pool
Connection timeout in seconds
Idle connection timeout in seconds
Connection health check interval in seconds
Maximum number of retry attempts for failed operations
Base delay in seconds between retry attempts
Maximum delay in seconds between retry attempts
Enable random jitter in retry delays
Exponential backoff multiplication factor for retries
Enable SQLite foreign key constraints
SQLite journal mode (e.g., WAL, DELETE)
SQLite synchronous mode (e.g., NORMAL, FULL, OFF)
SQLite temporary storage location (e.g., MEMORY, FILE)
SQLite memory-mapped I/O size in bytes
SQLite cache size (negative value for KB, positive for pages)
SQLite page size in bytes
SQLite WAL autocheckpoint threshold in pages
SQLite busy timeout in milliseconds
SQLite WAL checkpoint mode (e.g., PASSIVE, FULL, RESTART)
Server shutdown timeout in seconds
Test mode shutdown timeout in seconds
Queue operation timeout in seconds
Test mode queue timeout in seconds
Circuit breaker failure threshold before opening
Circuit breaker recovery timeout in seconds
Maximum calls allowed in circuit breaker half-open state
Complete PostgreSQL connection string (overrides individual settings if provided)
PostgreSQL server host address
PostgreSQL server port number
PostgreSQL database username
PostgreSQL database password
PostgreSQL database name
PostgreSQL connection pool minimum size
PostgreSQL connection pool maximum size
PostgreSQL connection pool timeout in seconds
PostgreSQL command execution timeout in seconds
PostgreSQL SSL mode (disable, allow, prefer, require, verify-ca, verify-full)
PostgreSQL schema name for table and index operations (default: public)
Enable semantic search functionality
Ollama API host URL for embedding generation
Embedding model name for semantic search
Embedding vector dimensions
Timeout in seconds for embedding generation API calls
Maximum number of retry attempts for embedding generation
Base delay in seconds between retry attempts (with exponential backoff)
Enable full-text search functionality
Language for FTS stemming (e.g., english, german, french)
Enable hybrid search combining FTS and semantic search with RRF fusion
RRF smoothing constant for hybrid search (default 60)
Embedding provider: ollama (default), openai, azure, huggingface, or voyage
OpenAI API key for OpenAI embedding provider
Custom base URL for OpenAI-compatible APIs
OpenAI organization ID
Azure OpenAI API key
Azure OpenAI endpoint URL
Azure OpenAI embedding deployment name
Azure OpenAI API version (default: 2024-02-01)
HuggingFace Hub API token for HuggingFace embedding provider
Voyage AI API key for Voyage embedding provider
Voyage AI truncation mode (true/false)
Voyage AI batch size for embedding requests
Enable LangSmith tracing
LangSmith API key
LangSmith project name
LangSmith API endpoint URL
Comma-separated list of metadata fields to index (field:type format)
Index sync mode: strict (fail), auto (sync), warn (log), additive (default, add missing only)
Transport mode: stdio for local, http for Docker/remote
HTTP bind address (use 0.0.0.0 for Docker)
HTTP port number
Comma-separated list of tools to disable (e.g., delete_context,update_context)
Bearer token for HTTP authentication (required when using SimpleTokenVerifier)
Client ID to assign to authenticated requests
Authentication provider class path (e.g., app.auth.simple_token.SimpleTokenVerifier)
Google OAuth Client ID (required when using GoogleProvider)
Google OAuth Client Secret (required when using GoogleProvider)
Server base URL for OAuth callbacks (required when using GoogleProvider)
Required OAuth scopes (comma-separated, e.g., openid,email)
Azure OAuth Client ID (required when using AzureProvider)
Azure OAuth Client Secret (required when using AzureProvider)
Azure Tenant ID - use specific GUID for org-only access, 'organizations' for multi-tenant, or 'consumers' for personal accounts
Server base URL for OAuth callbacks (required when using AzureProvider)
Required OAuth scopes for Azure (comma-separated, e.g., read,write)