Loading image...Kiro
  • CLI
  • Web
  • Powers
  • Enterprise
  • Pricing
  • Docs
SIGN INDOWNLOADS
Loading image...Kiro
Loading image...Kiro
Product
  • About Kiro
  • CLI
  • Web
  • Powers
  • Pricing
  • Downloads
For
  • Enterprise
  • Startups
  • Students
Community
  • Overview
  • Ambassadors
  • Discord
  • Events
  • Showcase
Resources
  • Documentation
  • Blog
  • Changelog
  • FAQs
  • Report a bug
  • Suggest an idea
  • Billing support
Social
Site TermsLicenseResponsible AI PolicyLegalPrivacy PolicyCookie Preferences
  1. Docs
  2. CLI
  3. MCP
  4. Registry

MCP Registry


Enterprise MCP server governance allowing administrators to control which servers users can access.

For administrators

If you're an administrator setting up the MCP registry, see MCP Governance for configuration instructions.

Overview

Pro-tier customers using IAM Identity Center can have MCP server access controlled through an MCP registry. When configured by administrators, users can only use MCP servers explicitly allowed in the registry. Provides centralized governance for enterprise deployments.

How it works

Without Registry (default):

  • Users can add any MCP server
  • Servers configured in agent files or via CLI
  • No central control

With Registry (enterprise):

  • Administrator configures allowed servers
  • Users select from registry list
  • Cannot add custom servers
  • Centralized governance and security

Adding servers

In chat

/mcp add

Shows interactive list of servers from organization's registry.

From command line

bash
# Add specific server kiro-cli mcp add --name myserver # Add to workspace kiro-cli mcp add --scope workspace # Add to specific agent kiro-cli mcp add --agent myagent # Interactive selection kiro-cli mcp add
Registry mode

Server name must match registry. Cannot add custom servers in registry mode.

Removing servers

In chat

/mcp remove

Interactive menu to select server to remove.

From command line

bash
kiro-cli mcp remove --name <server-name>

Viewing available servers

In chat

/mcp list

Shows:

  • All locally configured MCP servers
  • Server status and configuration
  • Available tools from each server

Customization

Even with registry mode enabled, you can customize servers in your agent.json using registry overrides. Your values are merged on top of registry defaults — for example, if the registry sets NODE_ENV=development and your agent sets NODE_ENV=production, the server runs with NODE_ENV=production. The env and headers objects merge per-key, so registry defaults you don't override are preserved.

Registry server overrides

Use "type": "registry" with optional env, headers, or timeout overrides:

json
{ "mcpServers": { "github": { "type": "registry", "env": { "GITHUB_TOKEN": "$GITHUB_TOKEN", "GITHUB_ORG": "my-org" }, "timeout": 60000 } } }

Override fields:

  • Local (stdio) servers — env (environment variables), timeout (request timeout in ms)
  • Remote (HTTP) servers — headers (HTTP headers), timeout (request timeout in ms)

Persistence

Changes made via /mcp add and /mcp remove are automatically written back to your agent's configuration file. Added servers remain available after restarting the CLI, and removed servers stay removed across sessions — no manual editing required.

Examples

Add registry server

/mcp add

Output:

Select MCP server from registry: git-server (Git operations) github-server (GitHub integration) aws-tools (AWS operations)

Add to specific agent

bash
kiro-cli mcp add --name git-server --agent rust-dev

Adds git-server to rust-dev agent configuration.

Customize a remote registry server

For remote (HTTP) registry servers, override headers and timeout the same way:

json
{ "mcpServers": { "github": { "type": "registry", "headers": { "X-Team-Id": "platform" }, "timeout": 30000 } } }

The server uses the registry's URL and OAuth configuration, plus your custom headers and timeout.

Troubleshooting

MCP functionality disabled

Symptom: Cannot use MCP at all
Cause: Organization disabled MCP entirely
Solution: Contact administrator for MCP access

Failed to retrieve MCP settings

Symptom: Error fetching MCP configuration
Cause: Network issue or server error
Solution: Temporary issue - retry later or contact administrator

Cannot add custom server

Symptom: Server not in list
Cause: Registry mode only allows registry servers
Solution: Request administrator add server to registry

Server not in registry

Symptom: Needed server not available
Cause: Not added to organization's registry
Solution: Contact administrator to request server addition

Limitations

  • Registry mode only for Pro-tier with IAM Identity Center
  • Cannot add servers not in registry
  • Administrator controls available servers
  • Custom servers not allowed in registry mode

Technical details

Registry source: Configured by administrator at organization level

Scope options:

  • Global: ~/.kiro/mcp.json
  • Workspace: .kiro/mcp.json
  • Agent-specific: In agent configuration

Customization: Environment variables and HTTP headers can be customized even in registry mode

Fallback: If registry unavailable, MCP functionality disabled

Next steps

  • Learn about MCP Configuration
  • Review MCP Governance for administrators
  • See MCP Examples
  • Understand MCP Security
Page updated: May 8, 2026
Configuration
Tool Search