Skip to content
Truffl.
Browse chapters

MCP documentation Get started

Connect VS Code

Install Truffl in VS Code and use its workspace tools in Copilot Chat.

Install Truffl in the editor

  1. Open this page on a computer with VS Code and GitHub Copilot. Select Install Truffl in VS Code below and allow your browser to open the editor.
  2. Review the remote address and confirm the installation in VS Code. Choose a personal configuration to use the server across projects or the workspace configuration for that project.
  3. In the Command Palette, run MCP: List Servers, select truffl and start it. Review any server trust prompt and choose Sign In when prompted.
Install Truffl in VS Code
Truffl server URL
https://build.trufflinnovations.in/api/mcp/truffl

Add by URL or configuration file

  1. Open the Command Palette with Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows and Linux. Choose MCP: Add Server, then HTTP. Enter the Truffl URL and use truffl as the server ID.
  2. Alternatively, run MCP: Open User Configuration and merge the servers entry below into the file. Keep your existing entries. Workspace-level configurations use .vscode/mcp.json.
VS Code mcp.json
{
  "servers": {
    "truffl": {
      "type": "http",
      "url": "https://build.trufflinnovations.in/api/mcp/truffl",
      "oauth": {
        "clientId": "truffl-vscode"
      }
    }
  }
}
VS Code's Command Palette with MCP: Add Server highlighted.
VS Code 1.141.0 · The Command Palette provides a manual route if your browser does not open the install link.

Sign in and select permissions

  1. In the browser, confirm that you are on build.trufflinnovations.in. Sign in with your own Truffl account. If you are new, create an account and create or join your team's workspace. If onboarding opens separately, return to your client and start Connect again.
  2. On Connect Truffl, find the intended workspace, select the permissions you need and approve. Workspace membership, role, workspace settings and enrollment determine the choices you see.
  3. Return to your client and refresh its tools. In Truffl connections, you can remove an individual permission or revoke the entire connection. To add permissions, reconnect and select the full set you need.

Check what this connection can do

Open a fresh conversation in the client and make Truffl available to it. Ask it to run truffl_connection. Check the workspace ID, capability names and tool counts against what you selected.

Try one read. With Bot Builder permission, list agents and compare an ID with Builder. With Call evidence, give a finished call ID and check one cited transcript turn against your review. An empty list can be a valid response in a new workspace.

Example prompt
Run truffl_connection. Show the workspace ID, the permissions I granted and the tool count for each. Make no changes.

If Copilot cannot see Truffl

Open the chat tool picker and enable Truffl for the session. Check MCP: List Servers for startup and sign-in details, and ask your organization administrator about MCP restrictions if the controls are unavailable.

If a Local chat reports more than 128 tools, choose Configure Tools and select the tools needed for this conversation. You can keep the other permissions on your Truffl connection.

Install a single capability

If your team uses a dedicated connector for one area, choose its install link below. These connections also work in workspaces awaiting the unified connector rollout.