Hive Memory Enterprise MCP
Python MCP server for Cursor, Claude Code, and other agents. Connects to a self-hosted Hive Memory API with PII masking, governance tools, and FinOps feedback.
Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
Cursor configuration
{
"mcpServers": {
"hive-memory": {
"command": "uvx",
"args": ["hive-memory-mcp"],
"env": {
"HIVE_MEMORY_BACKEND_URL": "https://hive.yourcompany.com/api/v1",
"HIVE_API_KEY": "hm_live_..."
}
}
}
}
Environment variables
| Variable | Required | Description |
|---|---|---|
HIVE_MEMORY_BACKEND_URL |
Yes | API base URL (e.g. http://localhost:8000/api/v1) |
HIVE_API_KEY |
Yes* | Service account API key (hm_live_...) |
HIVE_MEMORY_API_KEY |
Alt | Same as HIVE_API_KEY |
ENTERPRISE_WEBHOOK_URL |
No | Slack/Discord webhook (server-side on API, not MCP) |
* Required for remote/production APIs. Local dev may use JWT from dashboard only for the web UI; MCP always needs an API key.
Local development
cd mcp-server-enterprise
uv sync
export HIVE_MEMORY_BACKEND_URL=http://localhost:8000/api/v1
export HIVE_API_KEY=hm_live_your_key
uv run python main.py
Tools
save_team_memory— save gotcha with PII sanitization + audit logsearch_team_memories— vector search with utility boostrecord_memory_feedback— FinOps ROI ledgermoderate_team_memory— approve / deprecate / editscan_duplicate_memories/merge_duplicate_memoriesget_analytics_and_roirun_memory_decay_auditsynthesize_team_knowledge
Troubleshooting
- 401 Unauthorized — check API key scopes (
memories:read,memories:write,governance:read) - TLS errors — ensure VPS certificate is valid; corporate proxy may need
HTTP_PROXY - Connection refused — verify
HIVE_MEMORY_BACKEND_URLand that the backend is reachable from your machine
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hive_memory_mcp-0.1.0.tar.gz
(7.3 kB
view details)
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 hive_memory_mcp-0.1.0.tar.gz.
File metadata
- Download URL: hive_memory_mcp-0.1.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91ed20b8ad5eb48e17bfc75999effb091dea7bbbf1b12d41fccbd616c6ff62fb
|
|
| MD5 |
8efdbfb44a49e2336a5947f0fb80ac1a
|
|
| BLAKE2b-256 |
ec45e6e0bda8003ca371886d6e2641f1b8bf9f7fc1369d478e7889c76138aad4
|
File details
Details for the file hive_memory_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hive_memory_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc67a976876a6637a43effa42f2b108258b79c0d2784fe6657bbea3d6670f4c0
|
|
| MD5 |
674e5d2d89f176635a40400e7dc225f4
|
|
| BLAKE2b-256 |
8ed492541bb182c3766f4f404ba4bdcc858cdc3267676cd24448d4774b0564a2
|