MCP server for getMe (HTTP over Unix domain socket).
Project description
getMe MCP Server
An MCP server that exposes getMe key-value operations as Model Context Protocol (MCP) tools, enabling LLMs to talk to the getMe core database over HTTP via a Unix Domain Socket (UDS).
🔗 Quick Links
- GitHub Repository: AatirNadim/getMe
- PyPI Package: getme-mcp-server
- Core Database Docs: Architecture & Deep Dive
- DockerHub Image: getme
- Blog Part I - Building getMe: Read here!
- Blog Part II - Building getMe: Read here!
Using the MCP Server
The getme-mcp-server package is published on PyPI. For integration with MCP-compatible clients like Claude Desktop, Cursor, or the MCP Inspector, you can seamlessly run it using uvx or pipx.
Claude Desktop Configuration
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"getme": {
"command": "uvx",
"args": ["getme-mcp-server"],
"env": {
"GETME_SOCKET_PATH": "/tmp/getMeStore/sockDir/getMe.sock",
"GETME_KEY_PREFIX": "agent-context:",
"GETME_READ_ONLY": "false"
}
}
}
}
Features & Safety
- Read-Only Mode: Ensure LLMs don't mutate data via
GETME_READ_ONLY=true. - Destructive Operation Guards: The
cleartool is disabled by default, ensuring agents can't accidentally drop the store. - Payload & Connection Limits: Defends against massive payloads/batches and re-uses HTTP connections for performance.
- Prefix Isolation: Restrict the LLM to a specific namespace in the DB with
GETME_KEY_PREFIX. - Masked Logging: Tool execution metadata is logged, but payloads are masked to prevent leaking secrets.
Configuration (Environment Variables)
Control safety rules and performance via environment variables.
GETME_SOCKET_PATH(default:/tmp/getMeStore/sockDir/getMe.sock): Path to the UNIX socket used by the core getMe daemon.GETME_READ_ONLY(default:false): Iftrue, onlygetandget_jsontools are registered.GETME_ALLOW_CLEAR(default:false): Iftrue, enables the dangerouscleartool.GETME_KEY_PREFIX(default:""): String prefix prepended to all keys. Sandboxes the LLM (e.g.,agent1:).GETME_MAX_VALUE_SIZE_BYTES(default:5242880/ 5MB): Limit on single value payload sizes.GETME_MAX_BATCH_ITEMS(default:100): Maximum keys processed in onebatch_put.
Best Practices
- Sandbox with Prefixes: Always use
GETME_KEY_PREFIXwhen handing the database over to an LLM. For instance, usingGETME_KEY_PREFIX="claude:"ensures the model can't overwrite core application data. - Restrict Privileges: If the agent only needs context (e.g., fetching RAG documents or reading app state), enforce
GETME_READ_ONLY=true. - Never Allow Clear: Keep
GETME_ALLOW_CLEAR=false(the default) in production environments to prevent catastrophic drops caused by hallucinated commands. - Volume Mounts: Make sure the environment running the MCP server has adequate read/write permissions to the
GETME_SOCKET_PATH.
Tools
Once connected, the LLM has access to the following operations:
get(key) -> strget_json(key) -> objectput(key, value) -> strput_json(key, json_value) -> strdelete(key) -> strclear() -> str(RequiresGETME_ALLOW_CLEAR=true)batch_put(pairs: object) -> objectbatch_get(keys: list) -> objectbatch_delete(keys: list) -> object
Development & Installation
Prereqs
uvinstalledgetMecore server running and listening on the Unix socket
Install from Source
cd mcp-server
uv sync
Fixing VS Code "package not installed" warnings
If Pylance shows warnings like Package "httpx" is not installed in the selected environment, VS Code is using a different Python interpreter than the uv virtualenv.
- Open Command Palette →
Python: Select Interpreter - Select:
getMe/mcp-server/.venv/bin/python
This repo also includes a workspace setting that points the interpreter at mcp-server/.venv.
Run Locally
cd mcp-server
# optional override
export GETME_SOCKET_PATH=/tmp/getMeStore/sockDir/getMe.sock
uv run getme-mcp-server
Docker deployment
This MCP server speaks stdio (JSON-RPC), so when running in Docker you must avoid allocating a TTY.
Build the image:
cd mcp-server
docker compose build
Run it over stdio (recommended for MCP clients):
cd mcp-server
docker compose run --rm -T getme-mcp-server
The compose file bind-mounts the host UDS directory:
- host:
/tmp/getMeStore/sockDir - container:
/tmp/getMeStore/sockDir
So the MCP server can reach the core getMe server via GETME_SOCKET_PATH=/tmp/getMeStore/sockDir/getMe.sock.
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 getme_mcp_server-1.0.3.tar.gz.
File metadata
- Download URL: getme_mcp_server-1.0.3.tar.gz
- Upload date:
- Size: 68.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9781c1e2177fb9445c9311c09aaf9ddd2c5988b531171f9089c2906befbe7297
|
|
| MD5 |
a64b1d426e96272822d22b78b7ac8c09
|
|
| BLAKE2b-256 |
d9172e5eeff39e8a893f3569aae51f590aefb09d52a0034907567aba24817d2c
|
Provenance
The following attestation bundles were made for getme_mcp_server-1.0.3.tar.gz:
Publisher:
mcp-server-ci.yml on AatirNadim/getMe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
getme_mcp_server-1.0.3.tar.gz -
Subject digest:
9781c1e2177fb9445c9311c09aaf9ddd2c5988b531171f9089c2906befbe7297 - Sigstore transparency entry: 1739564757
- Sigstore integration time:
-
Permalink:
AatirNadim/getMe@aaa60ad55f7b23cae5d08caa0b387f4aa7ab9ad1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/AatirNadim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mcp-server-ci.yml@aaa60ad55f7b23cae5d08caa0b387f4aa7ab9ad1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file getme_mcp_server-1.0.3-py3-none-any.whl.
File metadata
- Download URL: getme_mcp_server-1.0.3-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c0f0ac569f08f80305627109a2d26e35a002a3f279117672e8c1f64ee01f12d
|
|
| MD5 |
c0a74893c05613fe32b047e53e8cfead
|
|
| BLAKE2b-256 |
21d3861daf3677370520428b1f0f736ad87a750cc9a6d223ce2aa1510e763756
|
Provenance
The following attestation bundles were made for getme_mcp_server-1.0.3-py3-none-any.whl:
Publisher:
mcp-server-ci.yml on AatirNadim/getMe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
getme_mcp_server-1.0.3-py3-none-any.whl -
Subject digest:
2c0f0ac569f08f80305627109a2d26e35a002a3f279117672e8c1f64ee01f12d - Sigstore transparency entry: 1739564811
- Sigstore integration time:
-
Permalink:
AatirNadim/getMe@aaa60ad55f7b23cae5d08caa0b387f4aa7ab9ad1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/AatirNadim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mcp-server-ci.yml@aaa60ad55f7b23cae5d08caa0b387f4aa7ab9ad1 -
Trigger Event:
push
-
Statement type: