Skip to content

fix: /doctor 警告解消・未使用MCP設定削除 - #492

Merged
keito4 merged 1 commit into
mainfrom
fix/repo-quality-improvements
Feb 21, 2026
Merged

fix: /doctor 警告解消・未使用MCP設定削除#492
keito4 merged 1 commit into
mainfrom
fix/repo-quality-improvements

Conversation

@keito4

@keito4 keito4 commented Feb 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • /doctor で検出された MCP 設定警告(o3, linear の環境変数未設定)を解消
  • 未使用の o3 (OpenAI) / linear MCPサーバーの設定・ドキュメント参照を全ファイルから削除
  • 設定ファイル(.mcp.json, .codex/config.toml, claude-settings 等)の整合性を確保

Test plan

  • npm run format:check 通過
  • npm run lint 通過
  • npm test 通過(101 tests passed)
  • pre-commit hooks 全通過
  • /doctor 再実行で MCP 警告が解消されていることを確認
  • プラグインキャッシュ削除後、プラグインエラーが解消されることを確認

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores

    • Removed o3-search and Linear MCP server integrations from system configuration.
    • Updated environment variable references from Linear API keys to Supabase keys.
  • Documentation

    • Removed o3-search and Linear integration guides from documentation.
    • Updated Slack notifications integration section with defined notification topics: Task Completion, CI/CD Pipeline Status, Error Alerts, and MCP Integration.

@coderabbitai

coderabbitai Bot commented Feb 21, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

This PR removes o3 and Linear MCP server integrations from the project. Changes span configuration files (deletion of server definitions and permissions), DevContainer settings (removal of allowed commands), and documentation (complete removal of o3 MCP and Linear sections).

Changes

Cohort / File(s) Summary
MCP Server Configuration
.mcp.json, .codex/config.toml
Removed o3 (stdio-based) and linear (http-based) MCP server definitions, including their commands, environment variables, and configuration blocks.
Claude Settings Permissions
.claude/settings.json, .devcontainer/claude-settings.json, .devcontainer/claude-settings.local.json
Removed allow-list entries for mcp__o3__o3-search, mcp__linear__get_issue, and Bash(npx o3-search-mcp:\*) permissions. Updated enabledMcpjsonServers from ["playwright", "o3"] to ["playwright"].
Documentation
README.md, docs/mcp-servers-guide.md, AGENTS.md
Removed "Technical Assistance with o3 MCP" sections from README and AGENTS. Removed Linear and o3-search server documentation. Replaced LINEAR_API_KEY references with SUPABASE_URL in environment variable examples.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested labels

size/S

Poem

🐰 Out with the old o3 and Linear too,
Configurations trimmed, a cleaner view,
Permissions pruned, docs refresh'd with care,
MCP servers lighter, now in the air!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main objective: resolving /doctor warnings and removing unused MCP configurations for o3 and linear.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/repo-quality-improvements

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@keito4

keito4 commented Feb 21, 2026

Copy link
Copy Markdown
Owner Author

(aside)
@claude PRがbaseにマージする際にコンフリクトが発生しています。最新のbaseからpullし、修正してください。

@claude

claude Bot commented Feb 21, 2026

Copy link
Copy Markdown
Contributor

Claude finished @keito4's task in 9m 1s —— View job


コンフリクト解消完了 ✅

  • コンテキスト確認・タスクリスト作成
  • 現在のブランチ状態を確認
  • 最新の origin/main を取得
  • コンフリクトの原因を特定
  • AGENTS.md から o3 MCP セクションを削除
  • コンフリクトファイルを削除・ステージング
  • リベース継続・プッシュ完了

実施内容

コンフリクト原因:
origin/mainCLAUDE.md がシンボリックリンク(CLAUDE.md -> AGENTS.md)に変更されており、PR のコミットが通常ファイルとして CLAUDE.md を変更しようとしたため「型の違い(symlink vs regular file)」コンフリクトが発生。

解消方法:

  • CLAUDE.md → symlink として保持(origin/main の状態を優先)
  • AGENTS.md → PR の意図(o3/linear MCP セクションの削除)を適用
  • git pull --rebaseorigin/main の最新コミット(f7a76dd)上にリベース
  • フォーマット修正(Prettier)後、コミット作成 → --force-with-lease でプッシュ

最終状態:

db650b8 fix: 未使用MCPサーバー(o3/linear)の設定・参照を削除  ← 新しいコミット
f7a76dd Merge pull request #489 from keito4/docs/improve-cross-references  ← origin/main HEAD

変更ファイル(8件):
.claude/settings.json, .codex/config.toml, .devcontainer/claude-settings.json, .devcontainer/claude-settings.local.json, .mcp.json, AGENTS.md, README.md, docs/mcp-servers-guide.md
| Branch

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
docs/mcp-servers-guide.md (1)

167-171: Direnv example repeats SUPABASE_URL already shown in example 1.

Both SUPABASE_URL and SUPABASE_KEY are required (per the Supabase section), so the .envrc snippet would be more useful showing both, or at least SUPABASE_KEY (the one not yet covered by a shell example).

📝 Proposed update to the direnv example
 3. **direnvを使用**
    ```bash
    # .envrc
-   export SUPABASE_URL="https://xxx.supabase.co"
+   export SUPABASE_URL="https://xxx.supabase.co"
+   export SUPABASE_KEY="your-supabase-key"
    ```
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/mcp-servers-guide.md` around lines 167 - 171, Update the .envrc direnv
example to include the missing SUPABASE_KEY environment variable (in addition to
SUPABASE_URL) so both required vars from the Supabase section are shown; modify
the .envrc snippet to export SUPABASE_KEY along with SUPABASE_URL to demonstrate
the complete required configuration.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@docs/mcp-servers-guide.md`:
- Around line 167-171: Update the .envrc direnv example to include the missing
SUPABASE_KEY environment variable (in addition to SUPABASE_URL) so both required
vars from the Supabase section are shown; modify the .envrc snippet to export
SUPABASE_KEY along with SUPABASE_URL to demonstrate the complete required
configuration.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 98f590796d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/mcp-servers-guide.md

```bash
export LINEAR_API_KEY="lin_api_xxx"
export SUPABASE_URL="https://xxx.supabase.co"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include both Supabase env vars in each setup method

この節では Supabase MCP に必要な環境変数として SUPABASE_URLSUPABASE_KEY の両方を定義していますが、方法1/3の例は SUPABASE_URL だけしか設定していないため、そのまま実行すると SUPABASE_KEY 未設定のままになり認証エラーになります。各方法を単体で実行できるよう、同じ方法内で必須2変数を揃えて示したほうが利用者が失敗しません。

Useful? React with 👍 / 👎.

/doctor で検出された警告を解消するため、環境変数未設定の
o3 (OPENAI_API_KEY) と linear (LINEAR_API_KEY) を全設定ファイル
およびドキュメントから削除。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
github-actions Bot force-pushed the fix/repo-quality-improvements branch from 98f5907 to db650b8 Compare February 21, 2026 09:09

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
docs/mcp-servers-guide.md (1)

155-171: The direnv example is incomplete — both required Supabase env vars should be shown together.

Line 170 shows only SUPABASE_URL in the .envrc snippet, while the Supabase MCP server definition (lines 112-114) requires both SUPABASE_URL and SUPABASE_KEY. A user who copies this .envrc example verbatim will still get auth failures. The direnv block is the most natural place to show a full, copy-pasteable configuration; showing only one variable defeats that purpose.

Similarly, the shell export at line 158 only demonstrates SUPABASE_URL. Showing a single variable per method means each example is illustrative of a pattern rather than actionable, which is a documentation gap.

📝 Suggested documentation improvement
 1. **シェルで直接設定**

    ```bash
    export SUPABASE_URL="https://xxx.supabase.co"
+   export SUPABASE_KEY="your-anon-or-service-role-key"
    ```

 2. **1Passwordなどのシークレット管理ツール**

    ```bash
    export SUPABASE_KEY=$(op read "op://vault/supabase/api-key")
+   export SUPABASE_URL=$(op read "op://vault/supabase/url")
    ```

 3. **direnvを使用**
    ```bash
    # .envrc
    export SUPABASE_URL="https://xxx.supabase.co"
+   export SUPABASE_KEY="your-anon-or-service-role-key"
    ```
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/mcp-servers-guide.md` around lines 155 - 171, Update the examples so
every environment-setting method exports both required variables (SUPABASE_URL
and SUPABASE_KEY): modify the shell example to include export SUPABASE_KEY
alongside SUPABASE_URL, change the 1Password example to export both SUPABASE_KEY
and SUPABASE_URL (using op read for each), and update the direnv .envrc snippet
to show export SUPABASE_URL and export SUPABASE_KEY together so the shown
configuration is copy-pasteable and matches the Supabase MCP server
requirements.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@docs/mcp-servers-guide.md`:
- Around line 155-171: Update the examples so every environment-setting method
exports both required variables (SUPABASE_URL and SUPABASE_KEY): modify the
shell example to include export SUPABASE_KEY alongside SUPABASE_URL, change the
1Password example to export both SUPABASE_KEY and SUPABASE_URL (using op read
for each), and update the direnv .envrc snippet to show export SUPABASE_URL and
export SUPABASE_KEY together so the shown configuration is copy-pasteable and
matches the Supabase MCP server requirements.

@keito4
keito4 merged commit 52346e7 into main Feb 21, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.80.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions github-actions Bot added the released リリース済み label Feb 21, 2026
@keito4
keito4 deleted the fix/repo-quality-improvements branch March 1, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released リリース済み

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant