Skip to main content
Publish a server version, open Setup, and select VS Code.
1

Copy the configuration

Copy the server entry generated by 0mcp.
2

Add it to the project

Open or create .vscode/mcp.json, then merge the entry with any servers already in the file.
3

Start the server

Run MCP: List Servers from the Command Palette and start your 0mcp server.
4

Enter credentials

VS Code asks for the secure values defined in the configuration. Enter the upstream API credential when prompted.
Do not replace the whole file if it already contains other servers. If VS Code does not prompt again after a credential changes, stop and restart the MCP server.
VS Code requests secure credential values when the server starts. Do not write those values directly into .vscode/mcp.json.