Skip to main content
Kliff

Plugins and repository MCP servers

Let agents run the Claude Code plugins and MCP servers a repository asks for, from sources your organization allows.

A repository can ask for more than instructions: Claude Code plugins in its .claude/settings.json, and MCP servers in its .mcp.json. Both run on the agent's computer, so both are off until an owner or admin turns them on for the organization in Settings > General.

Repository plugins

With Repository plugins on, agents run the Claude Code plugins a repository's .claude/settings.json turns on with enabledPlugins. A plugin can bring skills, commands, sub-agents, hooks, and MCP servers.

Plugins come only from GitHub marketplaces that the organization allows. anthropics/claude-code is allowed to start with, and owners and admins can add more with Allow a marketplace, up to 20. With no marketplace allowed, no plugin runs.

A plugin's hooks wait for a person to approve them, like a repository's. See Settings and hooks.

Repository MCP servers

With Repository MCP servers on, agents start the MCP servers in a repository's .mcp.json on the agent's computer.

  • Servers can be stdio, http, or sse.
  • Up to 20 servers from a file of up to 64,000 bytes. The name kliff is reserved.
  • A server reaches only the hosts its environment allows.
  • A ${VAR} in its config can use only that environment's secrets.

The repository's .claude/settings.json can choose which of them start, with enableAllProjectMcpServers, enabledMcpjsonServers, and disabledMcpjsonServers.

When a repository has many MCP tools, the agent loads them as it needs them instead of all at once. Your organization's permission rules apply to these tools like any other.

  • Connectors are MCP servers you connect for yourself, rather than ones a repository asks for.