On this page
VS Code MCP setup depends on the editor and chat extension you use. A configuration example for another MCP client may have a different file location or structure, and a server can be configured without its tools being enabled for agent use.
Use this checklist to confirm the prerequisites, create the VS Code-specific configuration, and check that the server’s tools are available. Exact version requirements and configuration details should come from current VS Code documentation for your extension; they are not interchangeable across clients.
TL;DR
- Confirm the supported VS Code version and the required chat extension before configuring a server.
- Use the file location and configuration format documented for your VS Code setup. Don’t assume another client’s example will work unchanged.
- After configuring the server, enable its tools for agent use and confirm they appear as available.
- Treat a client’s public integration listing as a starting point, not proof that a particular setup or permission has been tested.
1. Confirm the prerequisites
Before editing a configuration file, check the current VS Code documentation and the documentation for your chat extension. Confirm:
- Editor version: the minimum version that supports the MCP setup you plan to use.
- Chat extension: which extension provides the relevant chat or agent experience, and whether it must be installed or updated.
- Configuration scope and location: whether the server configuration belongs in a user-level or workspace-level file, and where that file should be placed.
- Configuration format: the expected structure and required fields for a server entry.
- Tool access: how the extension makes configured server tools available in agent mode.
These details can vary with the client and extension version. If official instructions don’t clearly answer one of these questions, resolve it before copying a configuration example. A snippet for a different editor may use a different filename, structure, or set of options.
2. Add the server using VS Code’s documented configuration
Once you have confirmed the applicable instructions, create or update the configuration file they specify. Follow the example for your VS Code and extension versions, including the documented server command or connection details and any required arguments or environment values.
Don’t guess at a filename, JSON structure, or connection field. Don’t paste secrets into a shared workspace file unless your organization’s guidance allows it; use the documented method for handling sensitive values. If you’re unsure which scope applies, check the extension’s instructions before choosing a file.
If the server provider supplies connection details, use those details rather than adapting another provider’s example. The provider’s documentation describes its service; VS Code’s documentation describes how that client accepts and exposes the configuration.
3. Enable the tools for agent use
Saving the configuration does not, by itself, confirm that the tools are available to your chat. Open the relevant chat or agent experience and follow its current instructions for enabling tools from the configured server. If your task requires agent mode, select that mode before relying on the server’s tools.
Confirm that the server is recognized and that the expected tools are shown as available. If the extension displays a connection or startup error, compare the configured values with the provider’s instructions and check the extension’s documented troubleshooting steps. Tool availability can depend on the client, connection, and permissions; don’t infer it from a successful-looking configuration alone.
4. Check the setup with a small, low-risk task
Before using the connection for consequential work, try a simple task that should exercise one of the available tools. Check that the agent can see the relevant tool and that the result matches the task you requested. This confirms only the behavior you observed in that setup; it does not establish that other tools, permissions, or clients behave the same way.
If a tool is missing, check the extension’s instructions for whether it must be enabled separately, then review the server’s connection status and configuration. If access or permissions are unclear, consult the server provider’s documentation instead of assuming the connection is read-only or that it can modify external systems.
If you’re connecting Hemory
Hemory’s product information identifies VS Code as a publicly listed MCP client. That listing is not independent technical verification of a specific VS Code setup, available tools, or permissions. Follow the current VS Code and Hemory instructions for the connection you intend to use, and confirm which tools are actually exposed in your setup. Hemory provides captured conversation context; the connected agent handles its own reasoning and drafting, and you remain responsible for reviewing its output.
FAQ
Can I reuse an MCP configuration from another client?
Use it as a reference only. Check the VS Code documentation for the correct file location and structure, then adapt the server details according to the provider’s instructions.
Does a configured server automatically make its tools available in agent mode?
Not necessarily. Follow the chat extension’s current steps to enable tools, then confirm that the expected tools appear as available before relying on them.
Does a public integration listing prove that a connection has been tested?
No. A listing indicates that the integration is publicly described; it does not establish that every client version, tool, or permission has been independently tested.
Next step
Check the current VS Code and chat-extension documentation for the exact prerequisites and configuration format, then verify that the tools you need are enabled in agent mode. For a Hemory connection, confirm the available tools in your own setup before using captured conversation context in an agent task.