Overview
VS Code supports MCP servers through GitHub Copilot’s agent mode. You can connect your Logic MCP server to make Logic agents available while you code.Prerequisites
- VS Code with GitHub Copilot (download here)
- Logic MCP server created (Quick Start guide)
- Server URL from Logic organization settings
Adding Logic MCP Server
Using the Command Palette
- Open the Command Palette (⇧⌘P)
- Run MCP: Add Server
- Choose HTTP as the server type and paste your Logic Server URL
- Select Workspace (this project only) or Global (all projects)
Editing the config directly
VS Code stores workspace MCP servers in.vscode/mcp.json. You can add Logic under servers:
"logic"- A name to identify this server"type": "http"- Required for HTTP-based MCP servers like Logic"url"- Your Logic MCP server URL from organization settings
Using Logic Agents
Logic agents are available in Copilot Chat’s agent mode.Verifying Your Connection
- Open the Chat view (⌃⌘I) and switch the mode to Agent
- Select the Configure Tools button in the chat input
- Confirm your Logic server and its tools appear in the list
Accessing Logic Agents
Copilot can automatically access your Logic agents based on the conversation context. You can:- Ask Copilot to use specific Logic agents by name
- Let Copilot discover and suggest relevant Logic agents
- Execute Logic agents with parameters as needed
Long-running Logic agents are handled asynchronously. Learn more about async
task execution.
Next Steps
- Learn about async tasks - Handle long-running Logic agents
- Explore agent scope - Control tool availability

