S

Staan MCP

by MarcinWolnyEU · io.github.MarcinWolnyEU/staan-mcp

Your agents keep on finding the same stuff through the usual connectors? Expand your horizons with Staan MCP, a unique search index built by two European companies to deliver perspectives American providers do not.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-marcinwolnyeu-staan-mcp": {
      "command": "uvx",
      "args": [
        "staan-mcp"
      ],
      "env": {
        "STAAN_API_KEY": "<YOUR_VALUE>",
        "STAAN_TIMEOUT": "30",
        "STAAN_BASE_URL": "https://api.staan.ai/v2",
        "STAAN_DEADLINE": "50",
        "STAAN_MCP_HOST": "127.0.0.1",
        "STAAN_MCP_PATH": "/mcp",
        "STAAN_MCP_PORT": "8000",
        "STAAN_RATE_LIMIT": "20",
        "STAAN_MAX_RETRIES": "2",
        "STAAN_MCP_LOG_LEVEL": "WARNING",
        "STAAN_MCP_TRANSPORT": "stdio",
        "STAAN_MCP_AUTH_SCOPES": "<VALUE>",
        "STAAN_MCP_ALLOWED_HOSTS": "<VALUE>",
        "STAAN_MCP_AUTH_JWKS_URL": "<VALUE>",
        "STAAN_MCP_AUTH_CLIENT_ID": "<VALUE>",
        "STAAN_MCP_ALLOWED_ORIGINS": "<VALUE>",
        "STAAN_MCP_AUTH_ALGORITHMS": "RS256,ES256",
        "STAAN_MCP_AUTH_ISSUER_URL": "<VALUE>",
        "STAAN_MCP_AUTH_RESOURCE_URL": "<VALUE>",
        "STAAN_MCP_MAX_CONTENT_CHARS": "0",
        "STAAN_MCP_AUTH_CLIENT_SECRET": "<VALUE>",
        "STAAN_MCP_AUTH_INTROSPECTION_URL": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-marcinwolnyeu-staan-mcp": {
      "command": "uvx",
      "args": [
        "staan-mcp"
      ],
      "env": {
        "STAAN_API_KEY": "<YOUR_VALUE>",
        "STAAN_TIMEOUT": "30",
        "STAAN_BASE_URL": "https://api.staan.ai/v2",
        "STAAN_DEADLINE": "50",
        "STAAN_MCP_HOST": "127.0.0.1",
        "STAAN_MCP_PATH": "/mcp",
        "STAAN_MCP_PORT": "8000",
        "STAAN_RATE_LIMIT": "20",
        "STAAN_MAX_RETRIES": "2",
        "STAAN_MCP_LOG_LEVEL": "WARNING",
        "STAAN_MCP_TRANSPORT": "stdio",
        "STAAN_MCP_AUTH_SCOPES": "<VALUE>",
        "STAAN_MCP_ALLOWED_HOSTS": "<VALUE>",
        "STAAN_MCP_AUTH_JWKS_URL": "<VALUE>",
        "STAAN_MCP_AUTH_CLIENT_ID": "<VALUE>",
        "STAAN_MCP_ALLOWED_ORIGINS": "<VALUE>",
        "STAAN_MCP_AUTH_ALGORITHMS": "RS256,ES256",
        "STAAN_MCP_AUTH_ISSUER_URL": "<VALUE>",
        "STAAN_MCP_AUTH_RESOURCE_URL": "<VALUE>",
        "STAAN_MCP_MAX_CONTENT_CHARS": "0",
        "STAAN_MCP_AUTH_CLIENT_SECRET": "<VALUE>",
        "STAAN_MCP_AUTH_INTROSPECTION_URL": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-marcinwolnyeu-staan-mcp": {
      "command": "uvx",
      "args": [
        "staan-mcp"
      ],
      "env": {
        "STAAN_API_KEY": "<YOUR_VALUE>",
        "STAAN_TIMEOUT": "30",
        "STAAN_BASE_URL": "https://api.staan.ai/v2",
        "STAAN_DEADLINE": "50",
        "STAAN_MCP_HOST": "127.0.0.1",
        "STAAN_MCP_PATH": "/mcp",
        "STAAN_MCP_PORT": "8000",
        "STAAN_RATE_LIMIT": "20",
        "STAAN_MAX_RETRIES": "2",
        "STAAN_MCP_LOG_LEVEL": "WARNING",
        "STAAN_MCP_TRANSPORT": "stdio",
        "STAAN_MCP_AUTH_SCOPES": "<VALUE>",
        "STAAN_MCP_ALLOWED_HOSTS": "<VALUE>",
        "STAAN_MCP_AUTH_JWKS_URL": "<VALUE>",
        "STAAN_MCP_AUTH_CLIENT_ID": "<VALUE>",
        "STAAN_MCP_ALLOWED_ORIGINS": "<VALUE>",
        "STAAN_MCP_AUTH_ALGORITHMS": "RS256,ES256",
        "STAAN_MCP_AUTH_ISSUER_URL": "<VALUE>",
        "STAAN_MCP_AUTH_RESOURCE_URL": "<VALUE>",
        "STAAN_MCP_MAX_CONTENT_CHARS": "0",
        "STAAN_MCP_AUTH_CLIENT_SECRET": "<VALUE>",
        "STAAN_MCP_AUTH_INTROSPECTION_URL": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-marcinwolnyeu-staan-mcp": {
      "command": "uvx",
      "args": [
        "staan-mcp"
      ],
      "env": {
        "STAAN_API_KEY": "<YOUR_VALUE>",
        "STAAN_TIMEOUT": "30",
        "STAAN_BASE_URL": "https://api.staan.ai/v2",
        "STAAN_DEADLINE": "50",
        "STAAN_MCP_HOST": "127.0.0.1",
        "STAAN_MCP_PATH": "/mcp",
        "STAAN_MCP_PORT": "8000",
        "STAAN_RATE_LIMIT": "20",
        "STAAN_MAX_RETRIES": "2",
        "STAAN_MCP_LOG_LEVEL": "WARNING",
        "STAAN_MCP_TRANSPORT": "stdio",
        "STAAN_MCP_AUTH_SCOPES": "<VALUE>",
        "STAAN_MCP_ALLOWED_HOSTS": "<VALUE>",
        "STAAN_MCP_AUTH_JWKS_URL": "<VALUE>",
        "STAAN_MCP_AUTH_CLIENT_ID": "<VALUE>",
        "STAAN_MCP_ALLOWED_ORIGINS": "<VALUE>",
        "STAAN_MCP_AUTH_ALGORITHMS": "RS256,ES256",
        "STAAN_MCP_AUTH_ISSUER_URL": "<VALUE>",
        "STAAN_MCP_AUTH_RESOURCE_URL": "<VALUE>",
        "STAAN_MCP_MAX_CONTENT_CHARS": "0",
        "STAAN_MCP_AUTH_CLIENT_SECRET": "<VALUE>",
        "STAAN_MCP_AUTH_INTROSPECTION_URL": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-marcinwolnyeu-staan-mcp": {
      "command": "uvx",
      "args": [
        "staan-mcp"
      ],
      "env": {
        "STAAN_API_KEY": "<YOUR_VALUE>",
        "STAAN_TIMEOUT": "30",
        "STAAN_BASE_URL": "https://api.staan.ai/v2",
        "STAAN_DEADLINE": "50",
        "STAAN_MCP_HOST": "127.0.0.1",
        "STAAN_MCP_PATH": "/mcp",
        "STAAN_MCP_PORT": "8000",
        "STAAN_RATE_LIMIT": "20",
        "STAAN_MAX_RETRIES": "2",
        "STAAN_MCP_LOG_LEVEL": "WARNING",
        "STAAN_MCP_TRANSPORT": "stdio",
        "STAAN_MCP_AUTH_SCOPES": "<VALUE>",
        "STAAN_MCP_ALLOWED_HOSTS": "<VALUE>",
        "STAAN_MCP_AUTH_JWKS_URL": "<VALUE>",
        "STAAN_MCP_AUTH_CLIENT_ID": "<VALUE>",
        "STAAN_MCP_ALLOWED_ORIGINS": "<VALUE>",
        "STAAN_MCP_AUTH_ALGORITHMS": "RS256,ES256",
        "STAAN_MCP_AUTH_ISSUER_URL": "<VALUE>",
        "STAAN_MCP_AUTH_RESOURCE_URL": "<VALUE>",
        "STAAN_MCP_MAX_CONTENT_CHARS": "0",
        "STAAN_MCP_AUTH_CLIENT_SECRET": "<VALUE>",
        "STAAN_MCP_AUTH_INTROSPECTION_URL": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-marcinwolnyeu-staan-mcp": {
      "command": "uvx",
      "args": [
        "staan-mcp"
      ],
      "env": {
        "STAAN_API_KEY": "<YOUR_VALUE>",
        "STAAN_TIMEOUT": "30",
        "STAAN_BASE_URL": "https://api.staan.ai/v2",
        "STAAN_DEADLINE": "50",
        "STAAN_MCP_HOST": "127.0.0.1",
        "STAAN_MCP_PATH": "/mcp",
        "STAAN_MCP_PORT": "8000",
        "STAAN_RATE_LIMIT": "20",
        "STAAN_MAX_RETRIES": "2",
        "STAAN_MCP_LOG_LEVEL": "WARNING",
        "STAAN_MCP_TRANSPORT": "stdio",
        "STAAN_MCP_AUTH_SCOPES": "<VALUE>",
        "STAAN_MCP_ALLOWED_HOSTS": "<VALUE>",
        "STAAN_MCP_AUTH_JWKS_URL": "<VALUE>",
        "STAAN_MCP_AUTH_CLIENT_ID": "<VALUE>",
        "STAAN_MCP_ALLOWED_ORIGINS": "<VALUE>",
        "STAAN_MCP_AUTH_ALGORITHMS": "RS256,ES256",
        "STAAN_MCP_AUTH_ISSUER_URL": "<VALUE>",
        "STAAN_MCP_AUTH_RESOURCE_URL": "<VALUE>",
        "STAAN_MCP_MAX_CONTENT_CHARS": "0",
        "STAAN_MCP_AUTH_CLIENT_SECRET": "<VALUE>",
        "STAAN_MCP_AUTH_INTROSPECTION_URL": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
STAAN_API_KEY secret Yes Staan API key, sent upstream as Authorization: Bearer. Required to call a tool. Must be visible ASCII without spaces.
STAAN_TIMEOUT No Timeout of one attempt, in seconds (must be greater than 0). Default: 30
STAAN_BASE_URL No API base URL. Must be https unless the host is loopback, must have a valid port, and must not contain credentials (user:password@). Default: https://api.staan.ai/v2
STAAN_DEADLINE No Overall limit for one tool call, retries and waits included, in seconds (must be greater than 0). Keep it below your client's own tool timeout (often 60 s). Default: 50
STAAN_MCP_HOST No Bind address (HTTP transports). Default: 127.0.0.1
STAAN_MCP_PATH No URL path of the MCP endpoint. Default: /mcp
STAAN_MCP_PORT No Bind port (HTTP transports). Default: 8000
STAAN_RATE_LIMIT No Most requests per second the server starts, retries included, all tools and markets together; later ones wait. A number: from 1 upwards it is rounded down, below 1 it spaces requests 1 / rate seconds apart. 0 turns the limit off. Staan's default cap is 20. Default: 20
STAAN_MAX_RETRIES No Retries for 429, 500, 502, 503, 504 and connection errors (0 to 10); read and write timeouts are never retried. Default: 2
STAAN_MCP_LOG_LEVEL No Log level, also applied to the HTTP server (WARNING hides its per-request access log). Logs go to stderr only. Default: WARNING
STAAN_MCP_TRANSPORT No Transport to serve: stdio, http or stateless. Default: stdio
STAAN_MCP_AUTH_SCOPES No Scopes every token must have, space- or comma-separated.
STAAN_MCP_ALLOWED_HOSTS No Accepted Host header value. Repeat the flag, or comma-separate the variable.
STAAN_MCP_AUTH_JWKS_URL No JWKS URL for verifying JWT access tokens. Exactly one of the JWKS and introspection URLs must be set. Requires the oauth extra.
STAAN_MCP_AUTH_CLIENT_ID No Client id for introspection (HTTP Basic). Required with introspection.
STAAN_MCP_ALLOWED_ORIGINS No Accepted Origin header value. Comma-separate multiple values.
STAAN_MCP_AUTH_ALGORITHMS No Accepted JWT algorithms. none is always refused. Default: RS256,ES256
STAAN_MCP_AUTH_ISSUER_URL No Issuer URL of your authorization server. Tokens must carry this iss. Setting any STAAN_MCP_AUTH_* variable enables the OAuth gate (HTTP transports only).
STAAN_MCP_AUTH_RESOURCE_URL No Canonical public URL of this MCP endpoint, for example https://mcp.example.com/mcp. Tokens must have this value as their audience.
STAAN_MCP_MAX_CONTENT_CHARS No Longest full_content text kept per search result (0, or at least 200). Longer pages are cut at a paragraph boundary and marked [... truncated ...]. Applies to both simple_response modes. Default: 0
STAAN_MCP_AUTH_CLIENT_SECRET No Client secret for introspection. Required with introspection.
STAAN_MCP_AUTH_INTROSPECTION_URL No RFC 7662 introspection endpoint. Exactly one of the JWKS and introspection URLs must be set. Needs a client id and secret.

Similar servers