Skip to content

x/tools/gopls: add a way to provide gopls settings for the built-in MCP server #77960

Description

@IceTea233

Currently there isn't an obvious way to write gopls settings listed in the official document as suggested through the interfaces provided by the clients (editors like VS Code for example).

I wondered if it is reasonable by design but thought some of the settings would be useful if they can also be set for the built-in MCP server. E.g. env and directoryFilters of the Build setting.

Metadata

Metadata

Assignees

Labels

FeatureRequestIssues asking for a new feature that does not need a proposal.goplsIssues related to the Go language server, gopls.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions