Overview
VS Code connects to MCP servers through GitHub Copilot’s agent mode. It supports remote Streamable HTTP servers directly.Setup
StackOne’s MCP endpoint is a remote, Streamable HTTP server:1
Get your MCP URL
In the StackOne dashboard, open a connector, click Use in Agent, select a linked account, and copy the generated token URL.
2
Add the server to VS Code
Create
.mcp.json in your workspace (or run MCP: Add Server from the Command Palette):3
Verify
Open Copilot Chat in Agent mode, click the tools icon to confirm StackOne’s tools are listed, then ask:
Handling large tool catalogs
If the connector exposes many actions, add thetool-mode=search_execute query parameter to the MCP URL in your config. The client then registers just two tools — search + execute — and the agent discovers actions at runtime, so the context footprint stays flat however large the catalog:
https://api.stackone.com/mcp?token=<session_token>&tool-mode=search_execute.
See Tool Discovery for how search works, its accuracy, and the other modes.
Optimize and secure
With your agent connected, use StackOne’s platform features to optimize performance and secure every call.Search & Execute
Reduce context and save tokens.
Data Sync
Reduce latency and enable semantic search.
Defender
Block prompt injections before they reach your agent.