KevoDB MCP Server
This project implements a MCP (Multimodal Communication Protocol) server for KevoDB, allowing AI agents to interact with KevoDB using a standardized API.
Features
- Exposes KevoDB operations through MCP tools
- Supports all core KevoDB functionality:
- Basic key-value operations (get, put, delete)
- Range, prefix, and suffix scans
- Transactions
- Batch operations
- Database statistics
- Simple string-based API with UTF-8 encoding
Prerequisites
- Python 3.8+
- Running KevoDB server (default: localhost:50051)
- FastMCP library
- Python-Kevo SDK
Installation
- Install dependencies:
pip install fastmcp python-kevo
- Ensure KevoDB is running on localhost:50051 (or set the
KEVO_HOSTandKEVO_PORTenvironment variables to connect to a different endpoint)
Usage
Running the MCP Server
Start the MCP server:
python main.py
This will launch the MCP server on http://localhost:9000/mcp
You can configure the KevoDB connection using environment variables:
KEVO_HOST: Hostname of the KevoDB server (default: "localhost")KEVO_PORT: Port of the KevoDB server (default: "50051")
Example:
KEVO_HOST=192.168.1.100 KEVO_PORT=5000 python main.py
Using with AI Agents
AI agents that support MCP can connect to this server and use all exposed tools. The server provides the following tools:
| Tool | Description |
|---|---|
connect |
Connect to the KevoDB server |
get |
Get a value by key from KevoDB |
put |
Store a key-value pair in KevoDB |
delete |
Delete a key-value pair from KevoDB |
scan |
Scan keys in KevoDB with options |
batch_write |
Perform multiple operations in a batch |
get_stats |
Get database statistics |
begin_transaction |
Begin a new transaction and return transaction ID |
commit_transaction |
Commit a transaction by ID |
rollback_transaction |
Roll back a transaction by ID |
tx_put |
Store a key-value pair within a transaction |
tx_get |
Get a value by key within a transaction |
tx_delete |
Delete a key-value pair within a transaction |
cleanup |
Close the KevoDB connection |
Integration with AI Applications
To use KevoDB with your AI application:
- Start the KevoDB server
- Start this MCP server
- Configure your AI agent to connect to the MCP endpoint
- The AI agent can now use all KevoDB operations through the MCP interface
License
Metadata
Release files for kevo-mcp-fastmcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kevo_mcp_fastmcp-0.1.1.tar.gz | 6.2 kB | Without provenance | Details for kevo_mcp_fastmcp-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kevo_mcp_fastmcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for kevo_mcp_fastmcp-0.1.1-py3-none-any.whl |
Total release size: 12.8 kB
Release files / kevo_mcp_fastmcp-0.1.1.tar.gz
| Download URL | kevo_mcp_fastmcp-0.1.1.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
070b8f26381a6c718201461663e146d5792e903b39a294fcc8d6c174299f0a7a
|
|
BLAKE2b-256 checksum How to use checksums |
7643638f894f306f3fc7150b8101c23923b2ce17a80b581b21bb41ed9834e6f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Release files / kevo_mcp_fastmcp-0.1.1-py3-none-any.whl
| Download URL | kevo_mcp_fastmcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a29bb1236e9eb9cd56eb8bd4cedde48635f68a8380f7ad0ef94577f17fc7511
|
|
BLAKE2b-256 checksum How to use checksums |
fde368cd83badaf628a5feea3b9b9038a65079e31fb92690985bb6a8497b6809
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Security for kevo-mcp-fastmcp 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.