Skip to main content
Glama
affteamgit

Casino Kings MCP Server

by affteamgit

Casino Kings MCP Server

A remote MCP server that wraps the bitcoincasinokings.com APIs and exposes them as native tools for Claude.

Tools

  • list_casinos — array of {casino_id, brand_name} for all casinos

  • find_casino_by_name — partial, case-insensitive brand search → matches

  • get_casino_data — full data for one or more casino IDs

  • get_casino_by_name — resolve name → full data in one call

  • live_bonuses — snapshot of active bonuses (WordPress REST API)

Related MCP server: Bitcoin MCP Server

Quick start (local)

npm install
cp .env.example .env.local
# edit .env.local if needed
npm run dev

Endpoint is now live at http://localhost:3000/api/mcp.

Without Auth0 env vars configured, the server is open (no auth required). Set AUTH0_DOMAIN, AUTH0_AUDIENCE, and MCP_SERVER_URL to enable OAuth.

Deploy to Vercel

Option A: Vercel CLI

npm install -g vercel
vercel              # first time: link/create project
vercel --prod       # deploy production

Option B: GitHub integration

  1. Push this repo to GitHub

  2. Go to vercel.com → "Add New Project" → import your repo

  3. Vercel auto-detects Next.js, no config needed

Set environment variables

In Vercel dashboard → Project → Settings → Environment Variables:

Name

Required

Notes

CASINO_API_TOKEN

yes

Token for the upstream internal API

AUTH0_DOMAIN

prod

Auth0 tenant domain, e.g. your-tenant.us.auth0.com

AUTH0_AUDIENCE

prod

API identifier; must match MCP_SERVER_URL

MCP_SERVER_URL

prod

Canonical MCP URL, e.g. https://<project>.vercel.app/api/mcp

Redeploy after adding env vars.

Auth0 tenant setup

Before deploying with OAuth, configure your Auth0 tenant. Full guide: Auth0 Tenant Setup

Minimum steps:

  1. Enable Resource Parameter Compatibility Profile — required for MCP (Auth0 guide)

  2. Enable tenant flags for Claude auto-registration:

    • client_id_metadata_document_supported

    • enable_dynamic_client_registration

    • use_scope_descriptions_for_consent

  3. Create an API (Resource Server)

    • Identifier: https://<your-project>.vercel.app/api/mcp (must match AUTH0_AUDIENCE)

    • Signing algorithm: RS256

    • Add scope: mcp:tools

  4. Promote login connections to domain-level so third-party clients (Claude) can use them

  5. Create users (or enable a connection like Google/email) who should access the connector

  6. Optional: pre-register a Claude OAuth app in Auth0 and add Client ID/Secret in Claude connector Advanced settings

Connect to Claude

  1. In claude.ai → Settings → Connectors → Add custom connector

  2. Name: Casino Kings

  3. URL: https://<your-project>.vercel.app/api/mcp

  4. Open your project → enable the connector

  5. On first use, Claude opens an Auth0 login popup; after consent, tools work automatically

  6. Test: ask Claude "what tools do you have?" — you should see the 5 tools above

Local testing

# Check OAuth discovery endpoint (returns 503 if Auth0 not configured)
curl http://localhost:3000/.well-known/oauth-protected-resource

# Unauthenticated request (returns 401 when Auth0 is configured)
curl -X POST http://localhost:3000/api/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl-test","version":"1.0.0"}}}'

Use MCP Inspector for interactive testing:

npx @modelcontextprotocol/inspector

Select Streamable HTTP, URL http://localhost:3000/api/mcp.

Notes

  • vercel.json extends function timeout to 10s

  • Server is stateless — no database, just proxies API calls

  • Tools return raw JSON in a text content block; Claude parses it

  • Upstream CASINO_API_TOKEN is server-side only; never exposed to MCP clients

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/affteamgit/casinos-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server