An MCP server implementation for WAII database interactions
Project description
MCP Server WAII
An MCP (Model Context Protocol) server implementation for WAII database interactions. This server allows language models to interact with databases through the WAII SDK.
Requirements
- Python 3.8 or higher
- A WAII account with API access
- Database credentials supported by WAII
Installation
pip install mcp-server-waii
Usage
You can run the server using the command-line interface:
python -m mcp-server-waii --database-key YOUR_DB_KEY --api-key YOUR_API_KEY --url YOUR_WAII_URL
Required Arguments
--database-key: Your database connection key--api-key: Your WAII API key--url: WAII API endpoint URL
Example
from mcp_server_waii import serve
import asyncio
# Run the server
asyncio.run(serve(
database_key="your_database_key",
api_key="your_api_key",
url="https://api.waii.ai/api/"
))
Features
- Database metadata management and conversation
- Natural language to SQL query conversion
- Query execution and result formatting
- Automatic query and data visualization
Development
To set up the development environment:
- Clone the repository
git clone https://github.com/waii-ai/mcp-server-waii.git
cd mcp-server-waii
- Install dependencies:
pip install -e .
- Run tests:
python -m pytest tests/
Support
For support, please:
- Check the GitHub Issues
- Contact WAII support for API-related questions
- Open a new issue if you find a bug
License
MIT License - see LICENSE file for details.
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 mcp_server_waii-0.1.1.tar.gz.
File metadata
- Download URL: mcp_server_waii-0.1.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf4ca3f53d35e2dbbeeab74f19f080399cdce10d49390edc6d61fed33ecd1388
|
|
| MD5 |
d046e5c8984507a9384898ae012a8e53
|
|
| BLAKE2b-256 |
6f831c126d90f849fb667d230614cad7f108701608784cfae430c5836f9699f1
|
File details
Details for the file mcp_server_waii-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mcp_server_waii-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a88e7422a47c33ddabfd847146ab1a25680e233533b498bccff90505dc39dca3
|
|
| MD5 |
43b5349ae86ce0e022d2142f2b65dcb9
|
|
| BLAKE2b-256 |
3fa1924cffcea42a23624cabdaf78b81d387733c464d8edb992a86afc773aaa5
|