Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Styx MCP Server
S
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Styx MCP Server

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

MCP server for Styx β€” intelligent AI routing across OpenAI, Anthropic, Google, and Mistral.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "styx-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "styx-mcp-server"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

⚑ Styx

The MCP-Native AI Gateway

Route requests to any AI provider through one universal endpoint.
Self-hosted. Open source. BYOK.


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.

server.ts
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)

bash
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

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

Edit .env with:

  1. Set SKIP_AUTH=true for dev mode, or configure Supabase for production
  2. At least one AI provider key (e.g., OPENAI_API_KEY)
Terminal
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

Terminal
claude mcp add styx -- npx styx-mcp

Connect Cursor

Add to .cursor/mcp.json:

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

Send your first request

Terminal
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"}]
  }'

Dev mode: skip the Authorization header β€” requests are accepted without an API key.

Use with any OpenAI SDK

server.ts
// Node.js / TypeScript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "your-styx-key",
  baseURL: "http://localhost:8080/v1",
});
server.ts
# Python
from openai import OpenAI

client = OpenAI(
    api_key="your-styx-key",
    base_url="http://localhost:8080/v1",
)

Supported Providers

ProviderModelsStatus
OpenAIgpt-4.1, gpt-4.1-mini, gpt-4o, gpt-4o-mini, o3, o4-miniβœ…
Anthropicclaude-sonnet-4, claude-3-5-sonnet, claude-3-5-haiku, claude-3-haikuβœ…
Googlegemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, gemini-2.0-flashβœ…
Mistralmistral-large, mistral-medium-3, mistral-small, codestralβœ…
Azure OpenAISame as OpenAI models, via Azure deploymentsβœ…

Auto-routing: Any model matching the provider prefixes above (gpt-*, claude-*, gemini-*, mistral-*, o3*, o4*) is routed automatically β€” even models released after your last config update.

Architecture

Code
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Client  │────▢│  Go Router   │────▢│  AI Provider  β”‚
β”‚  (app)   │◀────│  (port 8080) │◀────│  (OpenAI...)  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                       β”‚
                β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”
                β”‚ Python API   β”‚
                β”‚ (port 8000)  β”‚
                β”‚ Auth/Billing β”‚
                β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜
                       β”‚
          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
          β”‚            β”‚            β”‚
    β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”  β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”
    β”‚Postgresβ”‚  β”‚  Redis   β”‚  β”‚ Next.jsβ”‚
    β”‚  (DB)  β”‚  β”‚ (cache)  β”‚  β”‚ (UI)   β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Request flow:

Code
Client request
    β”‚
    β–Ό
Go Router (:8080) ──▢ Cache check ──▢ HIT? Return instantly
    β”‚                                   MISS? Continue...
    β–Ό
Budget check ──▢ OVER LIMIT? Block + alert
    β”‚              OK? Continue...
    β–Ό
Route to best provider (OpenAI / Anthropic / Google / Mistral)
    β”‚
    β–Ό
Provider error? ──▢ Automatic fallback (circuit breaker)
    β”‚
    β–Ό
Response to client + log to ClickHouse + update Redis counters

Project Structure

Code
styx/
β”œβ”€β”€ router/          # Go reverse proxy β€” the fast path (<10ms overhead)
β”œβ”€β”€ backend/         # Python FastAPI β€” auth, billing, business logic
β”œβ”€β”€ dashboard/       # Next.js + Tailwind β€” web dashboard
β”œβ”€β”€ classifier/      # ML request classifier (complexity scoring)
β”œβ”€β”€ cache-service/   # Semantic cache (Qdrant + sentence-transformers)
β”œβ”€β”€ sdk/             # Python & Node.js client SDKs
β”œβ”€β”€ packages/        # MCP server, gateway CLI
β”œβ”€β”€ infra/           # Docker, Helm, K8s, k6 load tests, Prometheus
└── docker-compose.yml

Comparison

FeatureStyxOpenRouterLiteLLMPortkey
MCP Nativeβœ…βŒβŒβŒ
Self-Hostedβœ…βŒβœ…βŒ
Open Sourceβœ… Apache 2.0βŒβœ…βŒ
Dashboardβœ… Full❌Basicβœ…
BYOKβœ… EncryptedβŒβœ…βœ…
Semantic Cacheβœ…βŒβŒβŒ
Smart Routingβœ… MLβŒβŒβœ…
Circuit Breakerβœ…βŒβœ…βœ…
One-Command Installβœ…N/A❌N/A

Claude Code Plugin

Install the Styx plugin directly in Claude Code:

Code
/plugin install styx@claude-plugin-directory

Or browse: /plugin > Discover > styx

This gives you /styx:setup, /styx:status, and the @styx-ops agent for managing your gateway from Claude Code.

MCP Connector

Styx includes a native MCP server. Connect it to Claude, Cursor, or any MCP-compatible client.

Local (stdio β€” requires npx)

Claude Code:

Terminal
claude mcp add styx -- npx styx-mcp

Cursor: Add to .cursor/mcp.json:

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

Remote MCP Server

Connect to a hosted Styx instance without local installation:

Claude.ai / Claude Desktop: Settings > Connectors > Add custom connector > URL: https://mcp.styxhq.com/mcp

Claude Code:

Terminal
claude mcp add --transport http styx https://mcp.styxhq.com/mcp

See docs/DEPLOY_MCP_REMOTE.md for self-hosting the remote MCP server.

Examples

Check gateway health

Prompt: "Check if my AI gateway is healthy and which providers are connected" β†’ Styx checks all provider connections, returns status and latency per provider, flags any issues.

Analyze spending

Prompt: "How much have I spent on AI APIs this month?" β†’ Styx aggregates usage across providers, returns cost breakdown by model, shows cache savings.

Create a scoped API key

Prompt: "Create an API key for the marketing team limited to 1000 requests/day" β†’ Styx generates a rate-limited key, returns the key and its configuration.

Contributing

We welcome contributions! Please see CONTRIBUTING.md.

License

Apache 2.0 β€” see LICENSE for details.

Links

  • Privacy Policy
  • Security
  • Support

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • Labelhead Artist Momentum logoLabelhead Artist Momentum

    Trending hip-hop artist momentum scores across four cultural dimensions.

    πŸ’» Developer Tools0 views
    Compare vs Labelhead Artist Momentum β†’
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    πŸ’» Developer Tools1 views
    Compare vs PraisonAI β†’
  • Mediagen logoMediagen

    Generate images and video from text prompts across Gemini, OpenAI and Kie AI.

    πŸ’» Developer Tools0 views
    Compare vs Mediagen β†’
  • NotFair GoogleAds logoNotFair GoogleAds

    Hosted Google Ads MCP with OAuth, 117 tools, MCC routing, image assets, and approval-gated writes.

    πŸ’» Developer Tools0 views
    Compare vs NotFair GoogleAds β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Styx MCP Server

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "styx-mcp-server": { "command": "npx", "args": ["-y", "styx-mcp-server"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewStyx MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/styx-mcp-server?style=directory)](https://allmcps.com/mcp/styx-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/styx-mcp-server"><img src="https://allmcps.com/api/badge/styx-mcp-server?style=directory" alt="Styx MCP Server on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Styx MCP Server β†’Install in Claude DesktopInstall in CursorInstall in VS Code