[PR #10915] fix(app): stop fetching all MCP prompts on initialization #13605

Open
opened 2026-02-16 18:18:27 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10915

State: open
Merged: No


What does this PR do?

This PR removes the duplicative and useless get_prompt API calls that OpenCode makes to MCP servers when it initializes. These spam MCP servers with GET requests whenever OpenCode initializes

How did you verify your code works?

I pointed it at my own MCP server before and after the fix.

Before

You can see in the MCP server logs that after OpenCode initializes, it fetches every single prompt on the server

image

After

After, it just initializes

image

fixes #10894

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10915 **State:** open **Merged:** No --- ### What does this PR do? This PR removes the duplicative and useless `get_prompt` API calls that OpenCode makes to MCP servers when it initializes. These spam MCP servers with GET requests whenever OpenCode initializes ### How did you verify your code works? I pointed it at my own MCP server before and after the fix. #### Before You can see in the MCP server logs that after OpenCode initializes, it fetches every single prompt on the server <img width="2560" height="99" alt="image" src="https://github.com/user-attachments/assets/bc52ce3d-ab2a-4b40-ac10-00686e140bf1" /> #### After After, it just initializes <img width="2549" height="47" alt="image" src="https://github.com/user-attachments/assets/e638ef0b-0a04-4211-b8f9-99edf85374ee" /> fixes #10894
yindo added the pull-request label 2026-02-16 18:18:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13605