{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-docs/mcp/mcp.sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Connect iClosed to VS Code"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"connect-iclosed-to-vs-code","__idx":0},"children":["Connect iClosed to VS Code"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use the iClosed MCP server from GitHub Copilot's agent mode in Visual Studio Code."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Before you connect:"]}," MCP must be turned on for your workspace (",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings → Developer → MCP"]},", by an account owner or super admin). You don't need an API key. ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/mcp/introduction#before-you-connect"},"children":["More about requirements"]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"one-click-install","__idx":1},"children":["One-click install"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://vscode.dev/redirect/mcp/install?name=iclosed&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.iclosed.io%2Fmcp%22%7D"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Install in VS Code"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["VS Code opens and asks you to confirm the new server. Then go to ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#sign-in"},"children":["Sign in"]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"manual-setup","__idx":2},"children":["Manual setup"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To add iClosed to one workspace, create ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".vscode/mcp.json"]},":"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"servers\": {\n    \"iclosed\": {\n      \"type\": \"http\",\n      \"url\": \"https://mcp.iclosed.io/mcp\"\n    }\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To add it for all your workspaces instead, run ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MCP: Open User Configuration"]}," from the Command Palette and add the same ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["iclosed"]}," entry under ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["servers"]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"sign-in","__idx":3},"children":["Sign in"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start"]}," above the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["iclosed"]}," entry in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mcp.json"]},", or run ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MCP: List Servers"]}," and start ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["iclosed"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["VS Code asks to sign in. Your browser opens the iClosed consent screen. Sign in and click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Allow access"]},"."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"check-that-it-works","__idx":4},"children":["Check that it works"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Open Copilot Chat in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Agent"]}," mode and ask: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["\"Show me my contacts in iClosed.\""]}," You should see an iClosed tool call and an answer from your workspace."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If something goes wrong, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/mcp/troubleshooting"},"children":["Troubleshooting"]},"."]}]},"headings":[{"value":"Connect iClosed to VS Code","id":"connect-iclosed-to-vs-code","depth":1},{"value":"One-click install","id":"one-click-install","depth":2},{"value":"Manual setup","id":"manual-setup","depth":2},{"value":"Sign in","id":"sign-in","depth":2},{"value":"Check that it works","id":"check-that-it-works","depth":2}],"frontmatter":{"sidebar":{"path":"../mcp.sidebars.yaml"},"seo":{"title":"Connect iClosed to VS Code"}},"lastModified":"2026-10-05T19:08:13.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/mcp/mcp-connectors/vs-code","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}