Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DATABASE_URL | Yes | PostgreSQL connection string (e.g., postgresql://user:pass@localhost:5432/mcp_memory) | |
| DB_IDLE_TIMEOUT | No | Idle connection timeout in milliseconds | 30000 |
| DB_MAX_POOL_SIZE | No | Database connection pool size | 20 |
| EMBEDDINGS_MODEL | No | The embedding model to use | text-embedding-v3 |
| DASHSCOPE_API_KEY | Yes | Aliyun DashScope API Key for generating embeddings | |
| DASHSCOPE_API_URL | No | Embedding API endpoint URL | https://dashscope.aliyuncs.com/... |
| MCP_DEBUG_LOG_PATH | No | Path for the debug log file | memory-debug.log |
| SEARCH_DEFAULT_LIMIT | No | Default number of search results to return | 10 |
| EMBEDDINGS_DIMENSIONS | No | Vector dimensions for the embedding model | 1024 |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |