# VSCode Setup for Foundry MCP Server
Following the guidance from [Visual Studio Code](https://code.visualstudio.com/docs/copilot/chat/mcp-servers), you can use one of the files in the mcp config files from [the examples](./mcp-configs) to configure your Visual Studio Code in Agent Mode.
You can take the content of the config files that meets your need, and put it in the file `.vscode/mcp.json` in your workspace, and you should be able to start up the MCP server.
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/azure-ai-foundry/mcp-foundry'
If you have feedback or need assistance with the MCP directory API, please join our Discord server