announcement··5 min read·WoWSQL Team

WoWSQL open-sources its MCP server

The WoWSQL MCP server is public on GitHub — HTTP MCP with OAuth, self-host locally, or use https://mcp.wowsql.com/mcp.

Announcement

WoWSQL’s Model Context Protocol (MCP) server is public on GitHub. Teams can read the source, run it locally against their WoWSQL API, or connect AI clients to the hosted endpoint.

  • Repository: https://github.com/WoWSQL/MCP-Server
  • Package in repo: @wowsql/mcp-server-wowsql (packages/mcp-server-wowsql)
  • License: Elastic License 2.0 (see LICENSE.txt in the repo)
  • Hosted production URL: https://mcp.wowsql.com/mcp

What it is

An HTTP MCP server (Streamable HTTP / JSON-RPC over POST) that sits in front of the WoWSQL API with OAuth 2.0 authorization code + PKCE. Assistants such as Cursor, Claude Desktop, and VS Code can list projects, inspect tables, run SQL, search docs, and list storage buckets — subject to feature gates and project scope.

Tools

Tool Feature gate Description
list_projects account List WoWSQL projects for the signed-in user
get_project account Fetch one project by slug
list_tables database + project List tables in the project Postgres database
execute_sql database + project Run SQL (read_only=true blocks mutating statements)
search_docs docs Search WoWSQL documentation
list_storage_buckets storage + project List storage buckets

How the hosted endpoint works

  1. Point your MCP client at https://mcp.wowsql.com/mcp.
  2. On first use, complete OAuth in the browser (WoWSQL consent).
  3. Later requests send Authorization: Bearer <token> to the MCP host, which talks to the WoWSQL API.
  4. Optional URL query parameters: project_ref, read_only=true, features=account,database,docs,storage.

Unauthenticated POST /mcp returns 401 with WWW-Authenticate metadata so clients can start OAuth. A browser GET /mcp is not the protocol path — clients must use POST JSON-RPC.

Self-host from the open-source repo

From the repo (see README):

cd mcp
npm install
npm run build
npm start

Default local MCP URL: http://localhost:8787/mcp (port via PORT / MCP_PORT).

Key environment variables:

Variable Purpose
WOWSQL_API_BASE WoWSQL API base (default https://api.wowsql.com)
WOWSQL_OAUTH_ISSUER_URL OAuth issuer advertised in protected-resource metadata
MCP_PUBLIC_URL Fixed public origin when behind a reverse proxy
MCP_ALLOW_UNAUTHENTICATED Dev only — skips Bearer check if true

Copy packages/mcp-server-wowsql/.env.example to .env / .env.local before starting.

Hosted vs self-host

Mode URL When to use
Hosted https://mcp.wowsql.com/mcp Production apps and most IDE setups
Self-host http://localhost:8787/mcp (or your deploy) Local development or your own MCP process

Client setup (same URL pattern)

  • Cursor: type + url in .cursor/mcp.json
  • VS Code: HTTP MCP extension + mcp.servers
  • Claude Desktop: npx mcp-remote https://mcp.wowsql.com/mcp

Docs: https://wowsql.com/docs/mcp/overview · https://wowsql.com/docs/mcp/mcp-reference

Links