MCP Server Studio

Sphior Code MCP MCP server

Deterministic security findings + fix guidance for your AI agent. Runs locally, no account needed.

Registry name: io.github.Toraastrta/sphior-code-mcp

Publisher
Toraastrta
Runs
Runs locally
Package
npm
Version
1.1.13
Category
Developer tools
Updated
2026-11-16

Source code on GitHub

Set up Sphior Code MCP (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "sphior-code-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "SPHIOR_API_KEY": "<SPHIOR_API_KEY>",
        "SPHIOR_WORKSPACE": "<SPHIOR_WORKSPACE>",
        "SPHIOR_API_BASE": "<SPHIOR_API_BASE>",
        "SPHIOR_TIMEOUT": "<SPHIOR_TIMEOUT>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add sphior-code-mcp -e SPHIOR_API_KEY='<SPHIOR_API_KEY>' -e SPHIOR_WORKSPACE='<SPHIOR_WORKSPACE>' -e SPHIOR_API_BASE='<SPHIOR_API_BASE>' -e SPHIOR_TIMEOUT='<SPHIOR_TIMEOUT>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "sphior-code-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "SPHIOR_API_KEY": "<SPHIOR_API_KEY>",
        "SPHIOR_WORKSPACE": "<SPHIOR_WORKSPACE>",
        "SPHIOR_API_BASE": "<SPHIOR_API_BASE>",
        "SPHIOR_TIMEOUT": "<SPHIOR_TIMEOUT>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "sphior-code-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "SPHIOR_API_KEY": "<SPHIOR_API_KEY>",
        "SPHIOR_WORKSPACE": "<SPHIOR_WORKSPACE>",
        "SPHIOR_API_BASE": "<SPHIOR_API_BASE>",
        "SPHIOR_TIMEOUT": "<SPHIOR_TIMEOUT>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "sphior-code-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "SPHIOR_API_KEY": "<SPHIOR_API_KEY>",
        "SPHIOR_WORKSPACE": "<SPHIOR_WORKSPACE>",
        "SPHIOR_API_BASE": "<SPHIOR_API_BASE>",
        "SPHIOR_TIMEOUT": "<SPHIOR_TIMEOUT>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
SPHIOR_API_KEYNoOptional. Without it the server runs in local mode: it scans your workspace with the bundled deterministic engine and returns fix guidance. Set it to also reach the repositories you connected to…
SPHIOR_WORKSPACENoOptional. Directory to scan in local mode. Defaults to the directory your client launches the server in.
SPHIOR_API_BASENoOverride the API base URL for self-hosted / regional deployments. Default: https://sphior.com/api/v1
SPHIOR_TIMEOUTNoOptional. Local scan and request timeout in milliseconds (1000–300000). Default: 30000

More developer tools MCP servers