Skip to content

fix(app): stop fetching all MCP prompts on initialization#10915

Closed
woweow wants to merge 1 commit into
anomalyco:devfrom
woweow:dev
Closed

fix(app): stop fetching all MCP prompts on initialization#10915
woweow wants to merge 1 commit into
anomalyco:devfrom
woweow:dev

Conversation

@woweow

@woweow woweow commented Jan 28, 2026

Copy link
Copy Markdown

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

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@github-actions

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Mar 29, 2026
@woweow

woweow commented Mar 29, 2026

Copy link
Copy Markdown
Author

What do you mean lol there isn't anything more to work on. It's been 60 days waiting for review

@woweow

woweow commented Mar 29, 2026

Copy link
Copy Markdown
Author

Re open

@emeraldbay

Copy link
Copy Markdown

Reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenCode fetches all available prompts from MCPs on initialization (in addition to when the user invokes a prompt with /)

2 participants