Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Run automatically on Claude Code events. Claude doesn't decide.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
mcp, serena, lsp, symbol-search, refactoring, code-intelligence
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Serena MCP サーバ(serena-agent==2.1.0)を Claude Code・Codex で使えるようにするプラグインです。
シンボル単位の読み書き(定義・参照・シンボル単位の置換)を、Serena の REPL から行います。
Serena 2.1.0 の既定のインタフェースは REPL で、MCP のツールは 2 つだけです。
initial_instructions を呼ぶ。 手引きと、serena_repl に渡す session の ID が返るserena_repl に Python を渡して操作する(例 s.lsp.find_symbol("Foo", depth=1))。使い方は s.info("lsp") で引く詳細は docs/serena-guide.md にあります。
# Claude Code
/plugin install mcp-serena@ai-plugins
# Codex
codex plugin add mcp-serena@ai-plugins
Codex では、プラグインの hook は信頼するまで動きません。 対話の Codex で /hooks を開き、mcp-serena の hook を信頼してください。
前提は uv(uvx)です。Serena と hook はどちらも uvx --from serena-agent==2.1.0 で起動します。
言語サーバの設定(.serena/project.yml)は Serena がプロジェクトごとに自動で作ります。
# Claude Code
/plugin marketplace update ai-plugins
/plugin update mcp-serena@ai-plugins
# Codex
codex plugin marketplace upgrade ai-plugins
codex plugin add mcp-serena@ai-plugins
| ランタイム | 定義 | 文脈 |
|---|---|---|
| Claude Code | .mcp.json | claude-code |
| Codex | .codex.mcp.json | codex |
どちらも --project-from-cwd で起動したディレクトリのプロジェクトを有効にし、no-memories・no-onboarding で動きます。
Serena 公式の serena-hooks だけを、公式の手引きどおりに置きます。
| ランタイム | イベント | コマンド |
|---|---|---|
| Claude Code | SessionStart | activate(プロジェクトの有効化と手引きを読むよう促す) |
| Claude Code | PreToolUse(全ツール) | remind(grep・読み込みが続くと 1 度止めて Serena を促す。Serena を呼ぶと数が戻る) |
| Claude Code | SessionEnd | cleanup(セッションの記録を消す) |
| Codex | SessionStart(startup|resume) | activate |
| Codex | PreToolUse(Bash) | remind |
Serena の呼び出しを自動で許可する hook(公式の auto-approve)は置きません。 REPL からは
s.shell.execute_shell_command でシェルのコマンドを実行できるため、自動で許可すると Claude Code の
Bash の許可と NDF の Bash の guard を通らずにコマンドが走ります。
serena プラグインと併用しない公式マーケットプレイスにも serena があります。両方を入れると Serena が 2 つ起動するため、どちらか一方にしてください。
serena_repl は Serena の公式で BETA ですdocs/ に、手順は skills/ に置いてください版ごとの変更と移行の手順は CHANGELOG.md の [mcp-serena <版>] の節にあります。
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub devbasex/ai-plugins --plugin mcp-serenaPlugins from other owners that cover similar ground