Skip to main content

An MCP server implementation for WAII database interactions

Project description

WAII MCP Server

A Model Context Protocol server that provides database interaction capabilities through WAII. This server enables Language Models to interact with databases, execute queries, and process database content through natural language.

Available Tools

database

Interact with databases through WAII's natural language interface.

Arguments:

  • database-key (string, required): Your database connection string
  • api-key (string, required): Your WAII API key
  • url (string, required): WAII API endpoint URL

Installation

Using uv/uvx (recommended)

When using uv/uvx no specific installation is needed. You can directly run the server using either approach:

Using uv:

uv run -m mcp_server_waii \
  --url "YOUR_WAII_URL" \
  --api-key "YOUR_API_KEY" \
  --database-key "YOUR_DATABASE_CONNECTION_STRING"

Using pip

Alternatively, you can install mcp-server-waii via pip:

pip install mcp-server-waii

After installation, you can run it as a module:

python -m mcp_server_waii \
  --url "YOUR_WAII_URL" \
  --api-key "YOUR_API_KEY" \
  --database-key "YOUR_DATABASE_CONNECTION_STRING"

Requirements

  • Python 3.10 or higher
  • A WAII account with API access
  • Database credentials supported by WAII

Configuration

Configure for Claude.app

There are several ways to configure the server for Claude:

1. Using uvx (Recommended)

{
    "mcpServers": {
        "waii": {
            "command": "uvx",
            "args": [
                "mcp_server_waii",
                "--url",
                "YOUR_WAII_URL",
                "--api-key",
                "YOUR_API_KEY",
                "--database-key",
                "YOUR_DATABASE_CONNECTION_STRING"
            ]
        }
    }
}

2. Using Python installation

{
    "mcpServers": {
        "waii": {
            "command": "python",
            "args": [
                "-m",
                "mcp_server_waii",
                "--url",
                "YOUR_WAII_URL",
                "--api-key",
                "YOUR_API_KEY",
                "--database-key",
                "YOUR_DATABASE_CONNECTION_STRING"
            ]
        }
    }
}

Example Values:

  • YOUR_WAII_URL: e.g., "http://WAII_URL/api/"
  • YOUR_API_KEY: Your WAII API key
  • YOUR_DATABASE_CONNECTION_STRING: e.g., "snowflake://USER@HOST/DB?role=ROLE&warehouse=WAREHOUSE"

Features

  • Natural language to SQL conversion
  • Database schema understanding and management
  • Query execution and result formatting
  • Automatic query optimization suggestions
  • Data visualization capabilities

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 in development mode:
uv pip install -e .

Support

For support:

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

License

Apache License 2.0 - 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-1.0.0.tar.gz (10.0 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-1.0.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_waii-1.0.0.tar.gz.

File metadata

  • Download URL: mcp_server_waii-1.0.0.tar.gz
  • Upload date:
  • Size: 10.0 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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 207ecf4a5585d45b007dbb4771c55d1e8bbb0dd96c5dd378947a0b5d460c696b
MD5 170dece9a23b2dc0724dcf34c7acf992
BLAKE2b-256 12ee8a8603e660971cca89ffd9feba9c89c19350ea783397ff290bd68fe5e9be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_server_waii-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c12c2063c174fae8deee560f26de2c3f1fe575a0122a8531f61339a283470528
MD5 e88c1f0326f55e8d9fab026b932932e4
BLAKE2b-256 a7316b2ab53c167caf2fae851c2caa472bb2d70c0c71c311e25f2d0ea40b3155

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