Connect VS Code
Add the onefold MCP server to VS Code and sign in.
VS Code signs in. MCP tools are used from the Chat view, with Agent chosen in its agent picker.
| Supports sign-in | Yes. It identifies itself with a Client ID Metadata Document |
| Server address | https://onefold.eitozx.com/api/mcp |
| Configuration | .vscode/mcp.json in a workspace, or your user configuration |
Add the server
Create .vscode/mcp.json in your workspace. The top-level key is servers:
{
"servers": {
"onefold": {
"type": "http",
"url": "https://onefold.eitozx.com/api/mcp"
}
}
}No trailing slash
Write the address exactly as above. With /api/mcp/, VS Code asks for a token for the wrong
server and the sign-in ends with invalid_target.
To have the server in every workspace, run MCP: Open User Configuration from the Command Palette and add the same entry there.
MCP: Add Server can also write a .mcp.json file at the workspace root. That file has a
different schema; the entries on this page belong in .vscode/mcp.json or your user
configuration.
Sign in
Run MCP: List Servers from the Command Palette, pick onefold and choose Start Server.
VS Code asks to authenticate; allow it. Your browser opens on the onefold sign-in page. Sign in, then choose Authorize on the
consent screen, which names Visual Studio Code and lists what it is asking for.
Verify
Run MCP: List Servers from the Command Palette and pick onefold. It shows as running;
Show Output prints the connection log and the number of tools found.
Then open the Chat view, choose Agent in the agent picker, and ask it to list your onefold applications.
Use an agent credential instead
Create an agent credential. An input keeps it out of the file: VS Code asks for it once and stores it.
{
"inputs": [
{
"type": "promptString",
"id": "onefold-credential",
"description": "onefold agent credential",
"password": true
}
],
"servers": {
"onefold": {
"type": "http",
"url": "https://onefold.eitozx.com/api/mcp",
"headers": {
"Authorization": "Bearer ${input:onefold-credential}"
}
}
}
}Disconnect and reconnect
Choose Disconnect on the Visual Studio Code card on the Agents tab of an application it reaches. The next tool call fails. Restart the server from MCP: List Servers to sign in again; you are asked to approve it again.
For an agent credential, choose Revoke agent instead.
To remove the server, delete its entry from mcp.json.
Limitations
- Calling a tool needs GitHub Copilot, with Agent chosen in the Chat view.
- The address must have no trailing slash.
Status: verified with VS Code 1.133.0
Sign-in and an agent credential entered through an input: connection, the tool list, a tool call, the client listed in the portal, and refusal after Disconnect and after the agent is revoked. The documentation server is not checked. Configuration and commands checked against VS Code's MCP documentation and its configuration reference on 2026-11-25.