mcp-context-server

io.github.alex-feel/mcp-context-server

About mcp-context-server

mcp-context-server is an MCP server published by the GitHub account alex-feel. An MCP server that provides persistent multimodal context storage for LLM agents.

It runs on your own machine: your AI client starts it from the PyPI package mcp-context-server at version 2.2.2.

It asks for 9 secrets: POSTGRESQL_CONNECTION_STRING, POSTGRESQL_PASSWORD, ANTHROPIC_API_KEY, OPENAI_API_KEY, AZURE_OPENAI_API_KEY, HUGGINGFACEHUB_API_TOKEN, VOYAGE_API_KEY, LANGSMITH_API_KEY and MCP_AUTH_TOKEN. Give it a key with the least access that still works.

Version 2.2.2 was published on 28 March 2026, and the source code is public, so you can read it before installing.

Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 1 warn, 0 fail, 1 info. How we check.

What it asks for

VariableRequiredSecretDescription
LOG_LEVELNoNoLog level
STORAGE_BACKENDNoNoStorage backend type: sqlite (default) or postgresql
MAX_IMAGE_SIZE_MBNoNoMaximum individual image size in megabytes
MAX_TOTAL_SIZE_MBNoNoMaximum total request size in megabytes
DB_PATHNoNoCustom database file location path
POOL_MAX_READERSNoNoMaximum number of concurrent read connections in the pool
POOL_MAX_WRITERSNoNoMaximum number of concurrent write connections in the pool
POOL_CONNECTION_TIMEOUT_SNoNoConnection timeout in seconds
POOL_IDLE_TIMEOUT_SNoNoIdle connection timeout in seconds
POOL_HEALTH_CHECK_INTERVAL_SNoNoConnection health check interval in seconds
RETRY_MAX_RETRIESNoNoMaximum number of retry attempts for failed operations
RETRY_BASE_DELAY_SNoNoBase delay in seconds between retry attempts
RETRY_MAX_DELAY_SNoNoMaximum delay in seconds between retry attempts
RETRY_JITTERNoNoEnable random jitter in retry delays
RETRY_BACKOFF_FACTORNoNoExponential backoff multiplication factor for retries
SQLITE_FOREIGN_KEYSNoNoEnable SQLite foreign key constraints
SQLITE_JOURNAL_MODENoNoSQLite journal mode (e.g., WAL, DELETE)
SQLITE_SYNCHRONOUSNoNoSQLite synchronous mode (e.g., NORMAL, FULL, OFF)
SQLITE_TEMP_STORENoNoSQLite temporary storage location (e.g., MEMORY, FILE)
SQLITE_MMAP_SIZENoNoSQLite memory-mapped I/O size in bytes
SQLITE_CACHE_SIZENoNoSQLite cache size (negative value for KB, positive for pages)
SQLITE_PAGE_SIZENoNoSQLite page size in bytes
SQLITE_WAL_AUTOCHECKPOINTNoNoSQLite WAL autocheckpoint threshold in pages
SQLITE_BUSY_TIMEOUT_MSNoNoSQLite busy timeout in milliseconds
SQLITE_WAL_CHECKPOINTNoNoSQLite WAL checkpoint mode (e.g., PASSIVE, FULL, RESTART)
SHUTDOWN_TIMEOUT_SNoNoServer shutdown timeout in seconds
SHUTDOWN_TIMEOUT_TEST_SNoNoTest mode shutdown timeout in seconds
QUEUE_TIMEOUT_SNoNoQueue operation timeout in seconds
QUEUE_TIMEOUT_TEST_SNoNoTest mode queue timeout in seconds
CIRCUIT_BREAKER_FAILURE_THRESHOLDNoNoCircuit breaker failure threshold before opening
CIRCUIT_BREAKER_RECOVERY_TIMEOUT_SNoNoCircuit breaker recovery timeout in seconds
CIRCUIT_BREAKER_HALF_OPEN_MAX_CALLSNoNoMaximum calls allowed in circuit breaker half-open state
POSTGRESQL_CONNECTION_STRINGNoYesComplete PostgreSQL connection string (overrides individual settings if provided)
POSTGRESQL_HOSTNoNoPostgreSQL server host address
POSTGRESQL_PORTNoNoPostgreSQL server port number
POSTGRESQL_USERNoNoPostgreSQL database username
POSTGRESQL_PASSWORDNoYesPostgreSQL database password
POSTGRESQL_DATABASENoNoPostgreSQL database name
POSTGRESQL_POOL_MINNoNoPostgreSQL connection pool minimum size
POSTGRESQL_POOL_MAXNoNoPostgreSQL connection pool maximum size
POSTGRESQL_POOL_TIMEOUT_SNoNoPostgreSQL connection pool timeout in seconds
POSTGRESQL_COMMAND_TIMEOUT_SNoNoPostgreSQL command execution timeout in seconds
POSTGRESQL_MIGRATION_TIMEOUT_SNoNoTimeout in seconds for PostgreSQL migration operations (default: 300)
POSTGRESQL_MAX_INACTIVE_LIFETIME_SNoNoClose idle PostgreSQL connections after this many seconds (0 to disable, default: 300)
POSTGRESQL_MAX_QUERIESNoNoRecycle PostgreSQL connections after this many queries (0 to disable, default: 10000)
POSTGRESQL_TCP_KEEPALIVES_IDLE_SNoNoSeconds of idle time before sending first TCP keepalive probe (0 to disable, default: 15)
POSTGRESQL_TCP_KEEPALIVES_INTERVAL_SNoNoSeconds between subsequent TCP keepalive probes (0 to disable, default: 5)
POSTGRESQL_TCP_KEEPALIVES_COUNTNoNoNumber of failed TCP keepalive probes before connection is considered dead (0 to disable, default: 3)
POSTGRESQL_STATEMENT_CACHE_SIZENoNoasyncpg prepared statement cache size. Set to 0 for external pooler compatibility (PgBouncer transaction mode, Pgpool-II, etc.). Default: 100
POSTGRESQL_MAX_CACHED_STATEMENT_LIFETIME_SNoNoMaximum lifetime of cached prepared statements in seconds (default: 300). Has no effect when statement_cache_size=0
POSTGRESQL_MAX_CACHEABLE_STATEMENT_SIZENoNoMaximum size of statement to cache in bytes (default: 15360). Has no effect when statement_cache_size=0
POSTGRESQL_SSL_MODENoNoPostgreSQL SSL mode (disable, allow, prefer, require, verify-ca, verify-full)
POSTGRESQL_SCHEMANoNoPostgreSQL schema name for table and index operations (default: public)
ENABLE_SEMANTIC_SEARCHNoNoEnable semantic search functionality
ENABLE_EMBEDDING_GENERATIONNoNoEnable embedding generation for stored context. Default true - server fails if dependencies not met. Set false to disable embeddings.
OLLAMA_HOSTNoNoOllama API host URL for embedding generation
OLLAMA_AUTO_PULLNoNoAutomatically pull missing Ollama models on startup (default: true)
OLLAMA_PULL_TIMEOUT_SNoNoTimeout in seconds for pulling Ollama models (default: 900, range: 30-3600)
EMBEDDING_OLLAMA_TRUNCATENoNoOllama embedding truncation mode: false (default) returns error when context exceeded, true enables silent truncation
EMBEDDING_OLLAMA_NUM_CTXNoNoOllama embedding context window size in tokens (default: 4096, range: 512-2097152)
EMBEDDING_MODELNoNoEmbedding model name for semantic search
EMBEDDING_DIMNoNoEmbedding vector dimensions
EMBEDDING_TIMEOUT_SNoNoTimeout in seconds for embedding generation API calls
EMBEDDING_RETRY_MAX_ATTEMPTSNoNoMaximum number of retry attempts for embedding generation
EMBEDDING_RETRY_BASE_DELAY_SNoNoBase delay in seconds between retry attempts (with exponential backoff)
EMBEDDING_MAX_CONCURRENTNoNoMaximum concurrent embedding generation operations (default: 3, range: 1-20)
ENABLE_SUMMARY_GENERATIONNoNoEnable summary generation for stored context. Default true - server fails if dependencies not met. Set false to disable summaries.
SUMMARY_PROVIDERNoNoSummary provider: ollama (default), openai, or anthropic
SUMMARY_MODELNoNoSummary generation model name (default: qwen3:0.6b)
SUMMARY_MAX_TOKENSNoNoMaximum output tokens for summary generation (default: 4000, range: 50-16384). Increase if summaries are truncated by reasoning models
SUMMARY_TIMEOUT_SNoNoTimeout in seconds for summary generation API calls
SUMMARY_RETRY_MAX_ATTEMPTSNoNoMaximum number of retry attempts for summary generation
SUMMARY_RETRY_BASE_DELAY_SNoNoBase delay in seconds between retry attempts (with exponential backoff)
SUMMARY_MAX_CONCURRENTNoNoMaximum concurrent summary generation operations (default: 3, range: 1-20)
SUMMARY_PROMPTNoNoCustom summarization prompt. Overrides the built-in default. Used as system message for the LLM.
SUMMARY_MIN_CONTENT_LENGTHNoNoMinimum text content length in characters to trigger summary generation (default: 500, range: 0-10000). Set to 0 to always generate.
SUMMARY_OLLAMA_NUM_CTXNoNoOllama summary context window size in tokens (default: 32768, range: 512-2097152)
SUMMARY_OLLAMA_TRUNCATENoNoOllama summary truncation mode: false (default) returns error when context exceeded, true enables silent truncation
SUMMARY_OPENAI_REASONING_EFFORTNoNoReasoning effort level for OpenAI reasoning models (default: low). Valid values vary by generation: gpt-5: low, medium, high; gpt-5.1+: none, low, medium, high, xhigh. Default low is universally valid across all generations
SUMMARY_ANTHROPIC_EFFORTNoNoEffort level for Anthropic Claude models (default: none). Valid values: max, high, medium, low. Controls inference effort (adaptive thinking)
ANTHROPIC_API_KEYNoYesAnthropic API key for summary generation
ENABLE_FTSNoNoEnable full-text search functionality
FTS_LANGUAGENoNoLanguage for FTS stemming (e.g., english, german, french)
FTS_RERANK_WINDOW_SIZENoNoCharacters of context around each FTS match for reranking passage extraction (default: 750)
FTS_RERANK_GAP_MERGENoNoMerge FTS match regions within this character distance (default: 100)
ENABLE_HYBRID_SEARCHNoNoEnable hybrid search combining FTS and semantic search with RRF fusion
HYBRID_RRF_KNoNoRRF smoothing constant for hybrid search (default 60)
HYBRID_RRF_OVERFETCHNoNoMultiplier for over-fetching results before RRF fusion (default: 2)
HYBRID_FTS_OR_THRESHOLDNoNoMinimum significant query terms to switch hybrid FTS from AND to OR logic (default: 4)
SEARCH_DEFAULT_SORT_BYNoNoDefault sort order for search results: relevance (only 'relevance' supported in current version)
SEARCH_TRUNCATION_LENGTHNoNoMaximum character length for truncated text_content in search results (default: 300, range: 50-1000)
ENABLE_CHUNKINGNoNoEnable text chunking for embedding generation (default: true)
CHUNK_SIZENoNoTarget chunk size in characters (default: 1500)
CHUNK_OVERLAPNoNoOverlap between chunks in characters (default: 150)
CHUNK_AGGREGATIONNoNoChunk score aggregation method: max (only 'max' supported in current version)
CHUNK_DEDUP_OVERFETCHNoNoMultiplier for over-fetching chunks before deduplication (default: 5)
ENABLE_RERANKINGNoNoEnable cross-encoder reranking of search results (default: true)
RERANKING_PROVIDERNoNoReranking provider (default: flashrank)
RERANKING_MODELNoNoReranking model name (default: ms-marco-MiniLM-L-12-v2)
RERANKING_MAX_LENGTHNoNoMaximum input length for reranking in tokens (default: 512)
RERANKING_OVERFETCHNoNoMultiplier for over-fetching results before reranking (default: 4)
RERANKING_CACHE_DIRNoNoDirectory for caching reranking models
RERANKING_CHARS_PER_TOKENNoNoEstimated characters per token for passage size validation (default: 4.0, range: 2.0-8.0)
RERANKING_INTRA_OP_THREADSNoNoONNX Runtime intra-operation parallelism threads for reranking (default: 0 = auto-detect)
RERANKING_CPU_MEM_ARENANoNoEnable ONNX Runtime CPU memory arena for reranking (default: false)
RERANKING_BATCH_SIZENoNoMaximum passages per ONNX Runtime inference batch during reranking (default: 32)
EMBEDDING_PROVIDERNoNoEmbedding provider: ollama (default), openai, azure, huggingface, or voyage
OPENAI_API_KEYNoYesOpenAI API key for OpenAI embedding provider
OPENAI_API_BASENoNoCustom base URL for OpenAI-compatible APIs
OPENAI_ORGANIZATIONNoNoOpenAI organization ID
AZURE_OPENAI_API_KEYNoYesAzure OpenAI API key
AZURE_OPENAI_ENDPOINTNoNoAzure OpenAI endpoint URL
AZURE_OPENAI_EMBEDDING_DEPLOYMENT_NAMENoNoAzure OpenAI embedding deployment name
AZURE_OPENAI_API_VERSIONNoNoAzure OpenAI API version (default: 2024-02-01)
HUGGINGFACEHUB_API_TOKENNoYesHuggingFace Hub API token for HuggingFace embedding provider
VOYAGE_API_KEYNoYesVoyage AI API key for Voyage embedding provider
VOYAGE_TRUNCATIONNoNoVoyage AI truncation mode: false (default) returns error when context exceeded, true enables silent truncation
VOYAGE_BATCH_SIZENoNoVoyage AI batch size for embedding requests
LANGSMITH_TRACINGNoNoEnable LangSmith tracing
LANGSMITH_API_KEYNoYesLangSmith API key
LANGSMITH_PROJECTNoNoLangSmith project name
LANGSMITH_ENDPOINTNoNoLangSmith API endpoint URL
METADATA_INDEXED_FIELDSNoNoComma-separated list of metadata fields to index (field:type format)
METADATA_INDEX_SYNC_MODENoNoIndex sync mode: strict (fail), auto (sync), warn (log), additive (default, add missing only)
MCP_TRANSPORTNoNoTransport mode: stdio for local, http for Docker/remote
FASTMCP_HOSTNoNoHTTP bind address (use 0.0.0.0 for Docker)
FASTMCP_PORTNoNoHTTP port number
FASTMCP_STATELESS_HTTPNoNoEnable stateless HTTP mode for horizontal scaling. Enabled by default as the server has no stateful MCP features. Set to false only if you need server-side MCP session tracking.
DISABLED_TOOLSNoNoComma-separated list of tools to disable (e.g., delete_context,update_context)
MCP_AUTH_TOKENNoYesBearer token for HTTP authentication (required when using SimpleTokenVerifier)
MCP_AUTH_CLIENT_IDNoNoClient ID to assign to authenticated requests
MCP_AUTH_PROVIDERNoNoAuthentication provider: none (default), simple_token
MCP_SERVER_INSTRUCTIONSNoNoCustom server instructions text. Overrides built-in default. Set to empty string to disable.

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/alex-feel/mcp-context-server
Version pinnedPassEvery package has an explicit version
Secrets requestedWarnAsks for 9 secrets: POSTGRESQL_CONNECTION_STRING, POSTGRESQL_PASSWORD, ANTHROPIC_API_KEY, OPENAI_API_KEY, AZURE_OPENAI_API_KEY, HUGGINGFACEHUB_API_TOKEN, VOYAGE_API_KEY, LANGSMITH_API_KEY, MCP_AUTH_TOKEN
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account alex-feel
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPassmcp-context-server 2.2.2 has no setup.py; nothing runs at install
Code red flagsPassRead 260 files in mcp-context-server 2.2.2: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo hidden characters or instructions to the AI in 260 files, including comments and the README

Popularity & health: 60 / 100

Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.

Popularity11 / 40

9 GitHub stars, 61 downloads last week, no Hacker News posts found. Best two of the three, each on a log scale.

Activity25 / 25

Last push 2026-10-28, last release 2026-03-28, 80 commits in 90 days.

Issue health8 / 15

0 closed of 0 issues, too few to judge. No data, so half marks.

Our checks16 / 20

1 warning, each costing a fifth.

6 forks, 135 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.

What people say

No Hacker News threads link to its source code.

Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.

Facts

Registry nameio.github.alex-feel/mcp-context-server
PublisherGitHub account alex-feel
How the name is verifiedName verified via GitHub account alex-feel. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagespypi mcp-context-server 2.2.2 (stdio)
oci ghcr.io/alex-feel/mcp-context-server:2.2.2 no version given (streamable-http)
Version2.2.2
Published
Last updated
Source repositoryhttps://github.com/alex-feel/mcp-context-server
WebsiteNone linked
CategoryFiles & documents (assigned by keyword rule, not by hand)

Related servers in Files & documents