Sphior Code MCP
概要
作者による説明(英語の原文)
Deterministic SAST/SCA findings + fix guidance for your AI agent. Runs locally, no account needed.
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi2項目中2項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況iとても新しい↓ 83/週 · ★ 1
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: 開発者ツール
- 入力が必要なもの:SPHIOR_API_KEY
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:2項目中2項目に合格
- あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
- 自分で入力するもの:
SPHIOR_API_KEY,SPHIOR_WORKSPACE,SPHIOR_API_BASE
「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
- npmNode.jsのインストール(npxコマンドに必要)
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"sphior-code": {
"command": "npx",
"args": [
"-y",
"sphior-code-mcp"
],
"env": {
"SPHIOR_API_KEY": "your-value",
"SPHIOR_WORKSPACE": "your-value",
"SPHIOR_API_BASE": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add sphior-code --env SPHIOR_API_KEY=your-value --env SPHIOR_WORKSPACE=your-value --env SPHIOR_API_BASE=your-value -- npx -y sphior-code-mcp動かす前に、空欄の値を入力してください。
または、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"sphior-code": {
"command": "npx",
"args": [
"-y",
"sphior-code-mcp"
],
"env": {
"SPHIOR_API_KEY": "your-value",
"SPHIOR_WORKSPACE": "your-value",
"SPHIOR_API_BASE": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"sphior-code": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sphior-code-mcp"
],
"env": {
"SPHIOR_API_KEY": "your-value",
"SPHIOR_WORKSPACE": "your-value",
"SPHIOR_API_BASE": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
自分で入力する値
- Optional. 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 get tamper-evident evidence, history and GRC…
SPHIOR_WORKSPACEenvOptional. Directory to scan in local mode. Defaults to the directory your client launches the server in.SPHIOR_API_BASEenvOverride the API base URL for self-hosted / regional deployments. Default: https://sphior.com/api/v1
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月10日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント Toraastrta で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:15 日前
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5724件のうち65%よりスターが多い
- このカテゴリのほかの5724件のうち55%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5724件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Sphior Code MCPは安全ですか?
当てはまる基本チェック2項目のうち2項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:SPHIOR_API_KEY
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は15 日前、最新バージョン(1.1.6)がレジストリに届いたのは24 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:REA, Netdata, Front-End Checklist
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
sphior-code-mcp
Official Model Context Protocol (MCP) server for SPHIOR CODE — find security issues in your code and let your own AI assistant fix them, inside any MCP-compatible client.
No account needed to start. With no API key set, the server scans your local workspace with the bundled deterministic engine and hands the findings to your AI agent. Add an API key later if you want tamper-evident evidence, history and GRC integrations.
What this gives you
Your AI assistant can now answer questions like:
- *"Scan this project and fix the critical issues."* ← works with no account
- *"What are the highest-severity vulnerabilities in my code right now?"*
- *"Show me the fix for finding
abc-123."* - *"Mark this SQL injection alert as resolved — I just fixed it."* (requires an API key)
- *"What's our overall security posture this month?"* (requires an API key)
…using live data from SPHIOR's scanning engine — deterministic SAST (secrets + CWE patterns, analysed with real parsers across 14 languages) and SCA powered by OSV.dev. No AI is involved in detection, so the same code always produces the same findings.
Supported clients
This is a standard MCP stdio server, so it works with any MCP-compatible client:
| Client | Config location | Setup |
|---|---|---|
| Cursor | ~/.cursor/mcp.json | Add MCP |
| Claude Code | ~/.claude.json | claude mcp add sphior-code -- npx sphior-code-mcp |
| VS Code | ~/.config/Code/User/settings.json (mcp.servers) | Built-in MCP |
| GitHub Copilot (VS Code) | .vscode/mcp.json | Native MCP |
| Cline (VS Code extension) | ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json | Settings UI |
| Continue (VS Code extension) | ~/.continue/config.yaml | mcpServers: section |
| Windsurf | ~/.codeium/windsurf/mcp_config.json | Settings UI |
| Zed | ~/.config/zed/settings.json (context_servers) | Native MCP |
| JetBrains AI Assistant (2024.3+) | Settings → Tools → AI Assistant → MCP | Built-in |
Installation
# No install needed — use npx
npx -y sphior-code-mcp
Or install globally
npm install -g sphior-code-mcp sphior-code-mcp
Two modes
| Local (default) | Cloud | |
|---|---|---|
| Setup | nothing — just run it | set SPHIOR_API_KEY |
| What it scans | your local workspace | repositories connected to SPHIOR |
| Tools available | get_fix_context, health_check | all 8 tools |
| Source code leaves your machine | never | never |
| Tamper-evident evidence / history / GRC push | — | ✅ |
In local mode the server runs the same deterministic engine that powers the editor extensions (secrets + CWE patterns + taint analysis across 14 languages, parsed with real grammars) against the directory your client launched it in, then returns remediation guidance your agent can act on. It never contacts SPHIOR's servers.
Cloud-only tools return a clear message explaining what they need, rather than failing silently.
Configuration
Nothing is required to start. To unlock cloud features, set an API key from sphior.com/account/api:
export SPHIOR_API_KEY=sk_live_xxxxxxxxxxxx
Environment variables
| Variable | Required | Default | Description |
|---|---|---|---|
SPHIOR_API_KEY | No | — | Bearer token. Omit for local mode; set it for cloud mode |
SPHIOR_WORKSPACE | No | current directory | Directory to scan in local mode |
SPHIOR_API_BASE | No | https://sphior.com/api/v1 | Override for self-hosted / regional deployments |
SPHIOR_TIMEOUT | No | 30000 | Request timeout in ms (1000–300000) |
SPHIOR_DEBUG | No | false | Enable verbose logging to stderr |
Example config (Cursor / Claude Code / VS Code style)
Local mode — copy, paste, done. No account, no key.
{
"mcpServers": { "sphior-code": { "command": "npx", "args": ["-y", "sphior-code-mcp"] } } }
Claude Code users can skip the file entirely:
claude mcp add sphior-code -- npx sphior-code-mcp
Then ask your agent: *"Scan this project and fix the critical issues."*
Cloud mode — add the key to the same block:
{
"mcpServers": { "sphior-code": { "command": "npx", "args": ["-y", "sphior-code-mcp"], "env": { "SPHIOR_API_KEY": "sk_live_xxxxxxxxxxxx" } } } }
For GitHub Copilot in VS Code, use "servers" instead of "mcpServers" (the env block is optional here too):
{
"servers": { "sphior-code": { "type": "stdio", "command": "npx", "args": ["-y", "sphior-code-mcp"] } } }
Tools exposed
| Tool | Mode | Purpose |
|---|---|---|
get_fix_context | local + cloud | Remediation guidance your agent acts on — why it matters, exact location, steps, references. Source code is never sent; the agent opens the file in your own workspace |
health_check | local + cloud | Verify the server is up (and auth, in cloud mode) |
list_findings | cloud | List vulnerabilities (filter by severity / status / limit) |
get_finding | cloud | Full details for one finding (CVSS, CWE, file path, fix hint) |
get_security_summary | cloud | Posture overview (counts by severity, last scan, repos monitored) |
resolve_finding | cloud | Mark as fixed |
mark_false_positive | cloud | Mark as not exploitable |
verify_evidence | cloud | Independently verify the tamper-evident evidence chain (for auditors) |
get_fix_context accepts path in local mode to scan a directory other than the one your client launched the server in.
Resources exposed
sphior-code://summary— JSON snapshot of current posturesphior-code://findings/{id}— full detail per finding (auto-listed for open findings)
Reliability
- Exponential backoff retry on 5xx / network errors (3 attempts)
- 30-second request timeout (configurable)
- Graceful degradation — auth errors fail fast, server errors retry
- Structured errors with actionable hints
- stderr-only logging (stdout is reserved for MCP protocol)
Development
# In this directory
npm install npm run build
Local mode — no key needed
node bin/sphior-code-mcp.js
Cloud mode
SPHIOR_API_KEY=sk_test_xxx node bin/sphior-code-mcp.js
Type a JSON-RPC request to test
License
MIT © SPHIOR Security