Skip to content

Honour enableMcpServer while the extension is running - #214

Open
shiwng wants to merge 1 commit into
damms005:mainfrom
shiwng:mcp-setting-while-running
Open

shiwng wants to merge 1 commit into
damms005:mainfrom
shiwng:mcp-setting-while-running

Conversation

@shiwng

@shiwng shiwng commented Nov 24, 2026

Copy link
Copy Markdown

Unchecking the setting only took effect on the next reload, because the value was read once in activate. One helper now owns the switch and the configuration event calls it, so the server stops and starts with the setting. Closes #208.

The setting was only read during activation, so unchecking it left the
server up until a reload. Route both activation and the configuration
event through one switch that stops or starts the server (damms005#208).
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.

Cannot disable MCP server

1 participant