veDB MySQL MCP Server
This MCP server provides a tool to interact with the VolcEngine veDB MySQL Service, allowing you to search and retrieve knowledge from your collections.
Features
- list_vedb_mysql_instances
Retrieve a list of all veDB MySQL instances for the user, including a batch of instance IDs and basic information
- describe_vedb_mysql_detail
Retrieve detailed information about a specific veDB MySQL instance
- list_vedb_mysql_instance_databases
Retrieve a list of databases created in a specific veDB MySQL instance, including privileges info
- list_vedb_mysql_instance_accounts
Obtain a list of accounts in a single veDB MySQL instance, with their privilege details
- modify_vedb_mysql_instance_alias
Modify a specific veDB MySQL instance's alias
Setup
Prerequisites
- Python 3.10 or higher
- API credentials (AK/SK)
Installation
- Install the package:
pip install -e .
Or with uv (recommended):
uv pip install -e .
Configuration
The server requires the following environment variables:
VOLC_ACCESSKEY: Your VolcEngine access keyVOLC_SECRETKEY: Your VolcEngine secret keyREGION: Your VolcEngine region (e.g., "cn-beijing")
Optional environment variables:
PORT: Port for the FastMCP server (default: 8000)
Usage
Running the Server
The server can be run with either stdio transport (for MCP integration) or SSE transport:
python -m mcp_server_vedb_mysql.server --transport stdio
Or:
python -m mcp_server_vedb_mysql.server --transport sse
MCP Integration
To add this server to your MCP configuration, add the following to your MCP settings file:
{
"mcpServers": {
"veDB_mysql": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/volcengine/mcp-server#subdirectory=server/mcp_server_vedb_mysql",
"mcp-server-vedb-mysql"
],
"env": {
"VOLC_ACCESSKEY": "your-access-key",
"VOLC_SECRETKEY": "your-secret-key",
"REGION": "cn-beijing",
"PORT": "8000",
"ENDPOINT": "vedbm.cn-beijing.volcengineapi.com"
}
}
}
}
Troubleshooting
Common Issues
-
Authentication Errors
- Verify your AK/SK credentials are correct
- Check that you have the necessary permissions for the collection
-
Connection Timeouts
- Check your network connection to the VolcEngine API
- Verify the host configuration is correct
-
Empty Results
- Verify the collection name is correct
- Try broadening your search query
Logging
The server uses Python's logging module with INFO level by default. You can see detailed logs in /tmp/mcp.vedbmysql.log when running the server.
Contributing
Contributions to improve the Viking Knowledge Base MCP Server are welcome. Please follow these steps:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
Please ensure your code follows the project's coding standards and includes appropriate tests.
License
volcengine/mcp-server is licensed under the MIT License.
Metadata
Release files for vedb-mysql-mcp-server 0.1.0
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 |
|---|---|---|---|---|
| vedb_mysql_mcp_server-0.1.0.tar.gz | 4.7 kB | Without provenance | Details for vedb_mysql_mcp_server-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vedb_mysql_mcp_server-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for vedb_mysql_mcp_server-0.1.0-py3-none-any.whl |
Total release size: 10.5 kB
Release files / vedb_mysql_mcp_server-0.1.0.tar.gz
| Download URL | vedb_mysql_mcp_server-0.1.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
788b25b65cd882a812542f2deecc7324669d9ff240dc602f7ee3a43984c915e4
|
|
BLAKE2b-256 checksum How to use checksums |
dd298db9bb2dddae09fd39745aeec40d84e2379b435c59bf0905367d7fa6b40e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.9
|
Release files / vedb_mysql_mcp_server-0.1.0-py3-none-any.whl
| Download URL | vedb_mysql_mcp_server-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71afd669dc8b2e077a7fd7c00f63f8a2af7275fb573e228aa037f2f20e90ba8c
|
|
BLAKE2b-256 checksum How to use checksums |
d85335a7f7f367aa9f89069a6dcfcbb5ed52b9ebc2d8452ca5c9b100c8283004
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.9
|
Security for vedb-mysql-mcp-server 0.1.0
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.