PowerMem MCP Server - Model Context Protocol server for PowerMem memory management
Project description
PowerMem MCP Server
PowerMem MCP Server - Model Context Protocol server for PowerMem memory management.
English | 简体中文
Prerequisites
Before using the PowerMem MCP Server, please ensure:
-
PowerMem is installed: The server requires PowerMem to be installed. You can install it via:
pip install powermem
-
Configuration file exists: Create a
.envfile in your working directory or project root with PowerMem configuration. The server will automatically search for.envfiles in:- Current working directory's
.env - Project root directory's
.env examples/configs/.env
You can copy the
.env.examplefile as a template:cp powermem_mcp/.env.example .env
Then edit the
.envfile and configure the following key settings:- Database Provider: Choose from
sqlite,oceanbase, orpostgres - LLM Provider: Choose from
qwen,openai, ormock - Embedding Provider: Choose from
qwen,openai, ormock - API Keys: Set your LLM and Embedding API keys
- Agent Configuration: Configure memory management settings
- Intelligent Memory: Enable/configure Ebbinghaus forgetting curve settings
- Performance: Adjust batch sizes, cache settings, and search parameters
- Security: Configure encryption and access control
- Logging: Set logging levels and file paths
The
.env.examplefile contains detailed comments and example configurations for different use cases. - Current working directory's
For PowerMem installation and configuration, please refer to:
Startup
Support for multiple types of MCP
You can start PowerMem MCP with different protocols using the following commands:
uvx powermem-mcp sse # sse mode, default port 8000 (recommended)
uvx powermem-mcp stdio # stdio mode
uvx powermem-mcp sse 8001 # sse mode, specify port 8001
uvx powermem-mcp streamable-http # streamable-http mode, default port 8000
uvx powermem-mcp streamable-http 8001 # streamable-http mode, specify port 8001
Usage
Use with MCP Client, must use a client that supports Prompts, such as: Claude Desktop. Before entering a request, you need to manually select the required Prompt, then enter the request.
Claude Desktop config example:
{
"mcpServers": {
"powermem": {
"url": "http://{host}:8000/mcp"
}
}
}
Available Tools
The PowerMem MCP Server provides the following memory management tools:
- add_memory: Add new memory to storage. Supports string, message dict, or message list format. Can use intelligent mode for automatic inference.
- search_memories: Search memories by query text with optional filters, limit, and similarity threshold.
- get_memory_by_id: Get a specific memory by its ID.
- update_memory: Update the content and metadata of an existing memory.
- delete_memory: Delete a specific memory by its ID.
- delete_all_memories: Batch delete memories by user_id, agent_id, or run_id.
- list_memories: List all memories with pagination support (limit and offset) and optional filters.
Community
When you need help, you can find developers and other community partners at https://github.com/oceanbase/powermem.
When you discover project defects, please create a new issue on the issues page.
License
For more information, see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file powermem_mcp-0.1.0.tar.gz.
File metadata
- Download URL: powermem_mcp-0.1.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7645fb15b80d43986f787a3e4044e02ca69499f17b929fd838113cd34a987082
|
|
| MD5 |
f6d0907cb3a8d0bec48ce24e60246aa5
|
|
| BLAKE2b-256 |
354b4729a5db136c969b1bdab9184f30de40c3bd2cdf03a5f9156552938500ed
|
Provenance
The following attestation bundles were made for powermem_mcp-0.1.0.tar.gz:
Publisher:
publish.yaml on oceanbase/awesome-oceanbase-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
powermem_mcp-0.1.0.tar.gz -
Subject digest:
7645fb15b80d43986f787a3e4044e02ca69499f17b929fd838113cd34a987082 - Sigstore transparency entry: 702099718
- Sigstore integration time:
-
Permalink:
oceanbase/awesome-oceanbase-mcp@ced4501c008029e7e535d72b7cec6a1eb827353f -
Branch / Tag:
refs/tags/powermem-mcp-v0.0.1 - Owner: https://github.com/oceanbase
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@ced4501c008029e7e535d72b7cec6a1eb827353f -
Trigger Event:
release
-
Statement type:
File details
Details for the file powermem_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: powermem_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c21e68d32bcb311ae379e91da7289a4de231b520016e0302229f0f24c6319a18
|
|
| MD5 |
75acafdb8580cc79be6e11277064b639
|
|
| BLAKE2b-256 |
93258f89d2c56f2def1de20734e9c5e0a7ceb8ac34db4a4028f17f2843a73628
|
Provenance
The following attestation bundles were made for powermem_mcp-0.1.0-py3-none-any.whl:
Publisher:
publish.yaml on oceanbase/awesome-oceanbase-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
powermem_mcp-0.1.0-py3-none-any.whl -
Subject digest:
c21e68d32bcb311ae379e91da7289a4de231b520016e0302229f0f24c6319a18 - Sigstore transparency entry: 702099721
- Sigstore integration time:
-
Permalink:
oceanbase/awesome-oceanbase-mcp@ced4501c008029e7e535d72b7cec6a1eb827353f -
Branch / Tag:
refs/tags/powermem-mcp-v0.0.1 - Owner: https://github.com/oceanbase
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@ced4501c008029e7e535d72b7cec6a1eb827353f -
Trigger Event:
release
-
Statement type: