chore: Serena MCP への依存を解消する - #572
Closed
IKcoding-jp wants to merge 1 commit into
Closed
Conversation
Claude Code が LSP(goToDefinition / findReferences / documentSymbol 等)を 内蔵したため、Serena MCP の主要機能は組み込みツールで代替できる。実際に 現在のセッションでは Serena MCP が接続されておらず、CLAUDE.md の 「Serena を優先する」は守れない指示になっていた。 - CLAUDE.md: MCP 使い分けから Serena の項目を削除 - docs/steering/GUIDELINES.md: コード探索の手段を LSP に置き換え - .gitignore: 存在しない .serena/project.yml の除外指定を削除 - .serena/ を削除(TypeScript のシンボルキャッシュ 18MB・再生成可能) Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WWxo2ZpLgqp8pd54g9qF1f
Owner
Author
|
リポジトリ全体の整理が完了してから1本のPRにまとめ直すため、いったんクローズします。変更内容は作業ブランチに保持します。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
Claude Code が LSP を内蔵し、
goToDefinition/findReferences/documentSymbol/incomingCallsなどを標準で使えるようになった。これは Serena MCP の主要機能とほぼ重なる。Serena 側の公式ドキュメントにも「最近の Claude Code とモデルは組み込みツールを優先し、Serena を呼ばないことがある」と注記されている(開発自体は継続中・最新 v1.6.0)。
実際、現在のセッションに Serena MCP は接続されておらず、
CLAUDE.mdの「コードファイルの読み書きは Serena MCP を優先する」は守りようのない指示になっていた。参照先として書かれていたグローバル設定にも、該当する記述は存在しない。変更
CLAUDE.md:MCP 使い分けから Serena の項目を削除docs/steering/GUIDELINES.md:コード探索の手段を LSP に置き換え.gitignore:存在しない.serena/project.ymlの除外指定を削除.serena/を削除(TypeScript のシンボルキャッシュ 18MB。再生成可能で、git 管理下だったのは.serena/.gitignoreの1ファイルのみ)検証
npm run docs:checkOK🤖 Generated with Claude Code
https://claude.ai/code/session_01WWxo2ZpLgqp8pd54g9qF1f