MCP.Market

Styx MCP server

by timmx7·io.github.timmx7/styx-mcp-server·v1.0.0·5 stars

MCP server for Styx — intelligent AI routing across OpenAI, Anthropic, Google, and Mistral.

C69/100grade C
What users say
No reviews yet
Be the first
Safety scan
C69/100

full report

Adoption
New

5 stars29 downloads/wk

Reviews

Write one

Nobody has reviewed Styx yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Styx tools (9, 3 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • styx_check_usage

    Get usage statistics for your Styx account.

  • styx_create_api_keywrite action

    Create a new API key for a project.

  • styx_create_projectwrite action

    Create a new project in your Styx account.

  • styx_list_api_keys

    List all API keys for the authenticated user.

  • styx_list_models

    List all AI models available through the Styx gateway.

  • styx_list_projects

    List all projects for the authenticated user.

  • styx_manage_providers

    Manage BYOK (Bring Your Own Key) provider keys for a project.

  • styx_send_requestwrite action

    Send a chat completion request through the Styx AI gateway.

  • styx_switch_model

    Set the default model for subsequent styx_send_request calls.

Public scan report

scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it

no findings
  • Code scan3 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 112 days ago8/15
  • Maintainer identityregistry namespace matches repository owner6/10
Overall 69/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Styx compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
69/100
higher than 35% of 4,460 AI and agents servers
Tools
9
the typical AI and agents server has 6
Tools that change things
33%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
5
more than 78% of 2,711 AI and agents servers
Downloads a week
29
more than 15% of 1,538 AI and agents servers with a package

What its tools let an agent do: 6 read · 3 change

Install Styx in Claude Code, Cursor or VS Code

Runs npx -y styx-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add styx-mcp-server -- npx -y styx-mcp-server
Add to Cursor

What the publisher says

From the Styx repository's README, as published. We do not edit it. Read it on GitHub

⚡ Styx The MCP-Native AI Gateway Route requests to any AI provider through one universal endpoint. Self-hosted. Open source. BYOK.

<!-- Badges -->

What is Styx?

Styx is an open-source AI gateway that sits between your app and AI providers. Send requests to OpenAI, Anthropic, Google, or Mistral — all through one OpenAI-compatible endpoint. Bring your own API keys, self-host on your infra, and get full visibility into every request.

The first AI gateway with native MCP (Model Context Protocol) support.

from openai import OpenAI

client = OpenAI(
    api_key="your-styx-api-key",
    base_url="http://localhost:8080/v1",  # ← Only change needed
)

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Hello from Styx"}],
)

Features

  • 🔌 MCP Native — Built-in MCP server. Connect Claude Code or Cursor in one command
  • 🔀 Universal Routing — One OpenAI-compatible endpoint for all providers
  • 🤖 styx:auto — Intelligent model routing: use "model": "styx:auto" and let Styx pick the right model based on request complexity
  • 🔑 BYOK — Bring your own API keys, encrypted at rest (Fernet/AES)
  • 📊 Dashboard — Track requests, costs, latency per project and model
  • 🔄 Fallbacks — Auto-failover between providers with circuit breakers
  • 💰 Billing — Built-in subscription and credit-based billing (Stripe)
  • 🧠 Semantic Cache — Similar questions return cached responses instantly
  • ⚡ Smart Routing — ML classifier routes to the optimal model for each request
  • 🐳 Self-Hosted — Docker Compose, 5-minute setup
  • 🔒 Secure — HMAC key hashing, Fernet encryption, rate limiting, TLS

Prerequisites

  • Docker Engine 24+ and Docker Compose v2
  • At least one AI provider API key (OpenAI, Anthropic, Google, or Mistral)
  • Supabase account (free tier) — only for production mode (not needed for dev mode)

Quick Start

Option A: Setup Wizard (recommended)

git clone https://github.com/timmx7/styx.git
cd styx
./setup.sh                 # interactive wizard, generates .env
docker compose up -d --build   # first build: ~15-20 min; subsequent starts: ~60s

The wizard lets you choose between:

  • Dev mode — No Supabase needed, no authentication, instant start
  • Production mode — Full Supabase auth, account creation, API keys

Option B: Manual Setup

git clone https://github.com/timmx7/styx.git
cd styx
cp .env.example .env

Edit .env with:

  1. Set SKIPAUTH=true for dev mode, or configure Supabase** for production
  2. At least one AI provider key (e.g., OPENAIAPIKEY)
docker compose up -d --build   # first build: ~15-20 min; subsequent starts: ~60s

Access Points

  • Dashboard: http://localhost:3000
  • API Gateway: http://localhost:8080 (direct) or https://localhost/v1 (via nginx/TLS)
  • Docs API: https://localhost/api (via nginx)

Connect Claude Code

claude mcp add styx -- npx styx-mcp

Connect Cursor

Add to .cursor/mcp.json:

{
  "styx": {
    "command": "npx",
    "args": ["styx-mcp"],
    "env": { "STYX_API_KEY": "your-key" }
  }
}

Send your first request

curl -X POST http://localhost:8080/v1/chat/completions \
  -H "Authorization: Bearer YOUR_STYX_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "messages": [{"role": "user", "content": "Hello from Styx"}]
  }'

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Styx: common questions

Is Styx MCP server safe?
With care: it is graded C, so read the findings first (69/100). Read the Styx safety report
How do I install Styx?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Styx need an API key?
Yes. The registry entry asks for STYX_API_KEY, STYX_TOKEN.
Is Styx maintained?
The last commit was 149 days ago (2026-06-08). The latest release is v1.0.0.
What can I use instead of Styx?
Servers from other publishers that do the same job: freellmpool MCP server, LLM Sandbox MCP server and Agent-Native Slides MCP server.
How does Styx compare with other AI and agents MCP servers?
safety score 69/100 (higher than 35% of 4,460 AI and agents servers); tools 9 (the typical AI and agents server has 6); tools that change things 33% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Styx

Same job from other publishers: the closest match first, then the best rated.

  • freellmpool
    OpenAI-compatible MCP gateway cataloging 22 LLM providers, with routing, failover, and tools.
    A
  • LLM Sandbox
    Securely run LLM-generated code in isolated containers across 7 languages and 3 container backends.
    A
  • Agent-Native Slides
    Agent-Native Google Slides - generate and edit React presentations
    A
  • Agoragentic Agent OS MCP
    Triptych OS (Agent OS) MCP for governed routing, receipts, and USDC settlement on Base.
    B
  • Agent Lsp
    Orchestrates language servers into 65 code-intelligence tools across 32 languages, token-optimized.
    A