Skip to main content

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:

  1. Clone the repository
git clone https://github.com/waii-ai/mcp-server-waii.git
cd mcp-server-waii
  1. Install dependencies:
pip install -e .
  1. Run tests:
python -m pytest tests/

Support

For support, please:

  1. Check the GitHub Issues
  2. Contact WAII support for API-related questions
  3. Open a new issue if you find a bug

License

MIT License - see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_waii-0.1.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_waii-0.1.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

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

Hashes for mcp_server_waii-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cf4ca3f53d35e2dbbeeab74f19f080399cdce10d49390edc6d61fed33ecd1388
MD5 d046e5c8984507a9384898ae012a8e53
BLAKE2b-256 6f831c126d90f849fb667d230614cad7f108701608784cfae430c5836f9699f1

See more details on using hashes here.

File details

Details for the file mcp_server_waii-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_waii-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a88e7422a47c33ddabfd847146ab1a25680e233533b498bccff90505dc39dca3
MD5 43b5349ae86ce0e022d2142f2b65dcb9
BLAKE2b-256 3fa1924cffcea42a23624cabdaf78b81d387733c464d8edb992a86afc773aaa5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page