Skip to content

Load VS Code's MCP servers in a project folder #361

@scaryrawr

Description

@scaryrawr

VSCode MCP Support

VS Code can have a .vscode/mcp.json folder in a workspace directory.

When opencode starts up in a project folder, part of config loading could also check for a .vscode/mcp.json and also load those servers.

I think supporting VSCode Variables would be nice (I think the main one I care about is ${workspaceFolder} for servers that need a directory input).

This is useful for project specific MCP servers that I don't want for every opencode session.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions