MCP servers

MCP (Model Context Protocol) servers give agents extra tools and data: an issue tracker, a design tool, an internal API. IZ Code passes the MCP servers you configure to every agent, next to its own built-in tools server.

Where servers come from#

Every agent session receives MCP servers from these places, in this order:

SourceFileScope
Your user configuration~/.izcode/mcp.jsonEvery project on this machine
The workspace.vscode/mcp.json in the project folderThis project; commit it to share it with your team
Other folders of a multi-root workspaceEach folder's .vscode/mcp.jsonAdded unless a server with the same name already exists
Enabled agent pluginsInside the pluginNamed plugin-server after the plugin and its server
IZ CodeBuilt inAlways

If two sources define a server with the same name, the earlier one wins.

Every session gets the built-in tools server plus the servers you configure
flowchart TD
  A[Agent session] <--> B[IZ Code tools server]
  A <--> cfg
  subgraph cfg["Your MCP servers"]
    U["User: ~/.izcode/mcp.json"]
    W["Workspace: .vscode/mcp.json"]
    P[Enabled agent plugins]
  end

Add a server#

  1. Create the file For one project, create .vscode/mcp.json in the project folder. For all projects, create ~/.izcode/mcp.json in your home folder.
  2. Describe the server Add an entry under servers. Each entry needs a type: stdio for a local command, http or sse for a remote server.
  3. Start a new chat MCP servers are given to a session when it starts. Open a new chat to pick up the change.
  4. Check it is there Open Agent Customizations from the chat menu and choose MCP Servers, or type @mcp in the chat to see the configured servers.
.vscode/mcp.json
{
  "servers": {
    "issues": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "my-issues-mcp"],
      "env": { "ISSUES_URL": "https://issues.example.com" }
    },
    "docs": {
      "type": "http",
      "url": "https://mcp.example.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_TOKEN" }
    }
  }
}
FieldForMeaning
typeallstdio, http or sse. Required.
command, argsstdioThe program to start and its arguments.
envstdioEnvironment variables for the program.
urlhttp, sseThe server's address.
headershttp, sseHTTP headers, for example an authorization token.

The file uses the same servers format as VS Code's mcp.json, so an existing VS Code configuration works as is. It must be plain JSON: comments are not allowed. A malformed entry is skipped; the other servers still load.

Install servers from Extensions#

The Extensions view lists agent plugins, which can bring MCP servers along with skills, commands and hooks. Type @mcp in the Extensions search to find them. When you enable a plugin, its MCP servers join every agent session. The Claude agent receives the whole plugin directly instead.

IZ Code's built-in tools#

Every agent also gets IZ Code's own tools server. You do not configure it. It offers:

GroupExample tools
Files and terminalreadFile, writeFile, editFile, runCommand, commandOutput, commandStop
Code IntelligencecodeSearch, codeExplore, codeCallers, codeCallees, codeImpact, codeRipgrep
GitgitStatus, gitDiff, gitCommitLog, gitCommit, gitPush and more
Agent MemorymemorySearch, conversationSearch, skillSearch, skillView, wikiSearch, wikiRead
SpecsspecList, specReadDocument, specWriteDocument, specRunTask and more
Tasks and workflowstaskListTasks, taskCreate, workflowRun, workflowGetRun
BrowserbrowserOpen, browserRead, browserClick, browserScreenshot and more
Run and DebugdebugStart, debugSetBreakpoints, debugGetVariables, listBuildTasks, runBuildTask
SessionssessionSpawnSubAgent, sessionFork, sessionGetUsage, sessionReadTranscript, sessionNewSession
DatabaseSchema and query tools, when the Database is turned on

Tools that extensions register for language models are listed by the same server, so every agent can call them too. The code review tools are an example. See Code review.

Which groups are available depends on your switches. See Permissions and tools.

Security#

  • In a folder you have not trusted, the servers in its .vscode/mcp.json are not started. Your user configuration still applies. See Workspace Trust.
  • @mcp shows only each server's name, transport and target. It never attaches environment variables, headers or arguments.
  • After a session reads untrusted content, calls to third-party MCP tools always ask for approval.

Settings#

MCP servers have no switch in Settings. You manage them in the two files above. Settings → Context Builder shows the servers a session receives, but you cannot switch them off there, because the agent's tools would break.

FileScopeDefault
~/.izcode/mcp.jsonUserNot created
.vscode/mcp.jsonWorkspaceNot created
Last updated: December 1, 2026Was this page helpful?