Publish a server version, open Setup, and select VS Code.
Copy the configuration
Copy the server entry generated by 0mcp.
Add it to the project
Open or create .vscode/mcp.json, then merge the entry with any servers already in the file.
Start the server
Run MCP: List Servers from the Command Palette and start your 0mcp server.
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.