# IRIS Administration MCP Server

> IRIS Administration MCP Server is an open-source MCP server for databases. MCP server for administering InterSystems IRIS namespaces, databases, users, roles. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Linux, macOS, Windows
- **Repository:** https://github.com/jbrandtmse/iris-execute-mcp-v2/tree/HEAD/packages/iris-admin-mcp
- **MCP Registry name:** io.github.jbrandtmse/iris-admin-mcp
- **Categories:** [databases](https://ai-powered.com/categories/databases)
- **Listing updated:** 2026-11-27

## About

Connects AI clients to an InterSystems IRIS instance through the Model Context Protocol so administrative work can be done in conversation. It covers namespaces, databases and mappings, users, roles, security resources, web applications, SSL/TLS, OAuth2, services, LDAP, X.509 certificates and auditing, each exposed as a tool with explicit actions.

The server runs over stdio and is configured with host, port, username, password and default namespace environment variables. It also offers optional profiles for several instances, a governance policy that can disable write actions, tool visibility presets and an audit log of every tool call. Administrative tools run in the %SYS namespace, while SQL privilege grants run in the target namespace.

It suits IRIS developers and administrators who want to script environment setup, review permissions or audit security posture from an AI assistant. Destructive actions are marked as such, and the IRIS account's own privileges remain the real security boundary.

## Features

- **Namespace and database management:** Create, modify, list and delete namespaces, databases and global, routine or package mappings.
- **User and role administration:** Manage user accounts, role assignments, passwords and permission checks against resources.
- **SQL privilege control:** Grant, revoke and list schema, table and column privileges within a target namespace.
- **Security configuration:** Handle SSL/TLS configurations, OAuth2 servers and clients, LDAP and X.509 credentials.
- **Governance and audit logging:** Restrict write actions with a policy file and record every tool call as a redacted JSON line.
- **Multiple instance profiles:** Target several IRIS instances from one server using named profiles selected per call.

## Good for

- Provisioning a project environment with databases, a namespace, a user and a web application
- Auditing users, roles and service authentication settings for default passwords or excess %All holders
- Checking whether a user or role holds a given permission on a resource
- Scripting OAuth2 discovery and client registration against an identity provider
- Reviewing SQL table privileges granted to a user or role before a release

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add iris-admin-mcp --env IRIS_USERNAME='<IRIS_USERNAME>' --env IRIS_PASSWORD='<IRIS_PASSWORD>' -- npx -y @iris-mcp/admin
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "iris-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/admin"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "iris-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/admin"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "iris-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/admin"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "iris-admin-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/admin"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add iris-admin-mcp --env IRIS_USERNAME='<IRIS_USERNAME>' --env IRIS_PASSWORD='<IRIS_PASSWORD>' -- npx -y @iris-mcp/admin
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.iris-admin-mcp]
command = "npx"
args = ["-y", "@iris-mcp/admin"]
env = { IRIS_USERNAME = "<IRIS_USERNAME>", IRIS_PASSWORD = "<IRIS_PASSWORD>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "iris-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/admin"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e IRIS_USERNAME='<IRIS_USERNAME>' -e IRIS_PASSWORD='<IRIS_PASSWORD>' iris-admin-mcp npx -- -y @iris-mcp/admin

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "iris-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/admin"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "iris-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/admin"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "iris-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/admin"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "iris-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/admin"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "iris-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/admin"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "iris-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/admin"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "iris-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/admin"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "iris-admin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/admin"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 11 of 26 tools read data; 15 names don't say. From the server's own tool labels and tool names; not verified by us.

- `iris_namespace_manage`: Create, modify, or delete a namespace
- `iris_namespace_list` (name suggests: reads): List all namespaces with DB associations
- `iris_database_manage`: Create, modify, or delete a database
- `iris_database_list` (name suggests: reads): List all databases with size and mount status
- `iris_mapping_manage`: Create or delete global/routine/package mappings
- `iris_mapping_list` (name suggests: reads): List mappings for a namespace by type
- `iris_user_manage`: Create, modify, or delete a user account
- `iris_user_get` (name suggests: reads): Get a user or list all users
- `iris_user_roles`: Add or remove a role from a user
- `iris_user_password`: Change or validate a password
- `iris_permission_check` (name suggests: reads): Check user/role permissions on a resource
- `iris_role_manage`: Create, modify, or delete a security role
- `iris_role_list` (name suggests: reads): List all security roles
- `iris_resource_manage`: Create/modify/delete a security resource, or grant/revoke/list SQL object privileges
- `iris_resource_list` (name suggests: reads): List all security resources
- `iris_webapp_manage`: Create, modify, or delete a web application
- `iris_webapp_get` (name suggests: reads): Get a web application by path
- `iris_webapp_list` (name suggests: reads): List all web applications
- `iris_ssl_manage`: Create, modify, or delete SSL/TLS config
- `iris_ssl_list` (name suggests: reads): List all SSL/TLS configurations
- `iris_oauth_manage`: Create/delete OAuth2 servers/clients, OIDC discovery
- `iris_oauth_list` (name suggests: reads): List all OAuth2 server definitions and clients
- `iris_service_manage`: List/inspect/toggle IRIS services and their authentication settings
- `iris_ldap_manage`: List/inspect/create/modify/delete/validity-test IRIS LDAP configurations
- `iris_x509_manage`: List/inspect/import/delete IRIS X.509 certificate credentials
- `iris_audit_manage`: Manage auditing configuration and the audit log

## FAQ

### Which environment variables are required?

IRIS_USERNAME and IRIS_PASSWORD are required. IRIS_HOST, IRIS_PORT, IRIS_NAMESPACE and IRIS_HTTPS have defaults of localhost, 52773, USER and false.

### Can the server delete database files?

Deleting a database removes its configuration entry and dismounts it, but keeps its IRIS.DAT file and directory on disk.

### How are write actions controlled?

An IRIS_GOVERNANCE policy or governance file can disable write actions, which are denied by default until explicitly allowed.

### Does IRIS Administration MCP Server need a particular package installation?

It is installed from npm as @iris-mcp/admin and can be run with npx without a global install.

### Is IRIS Administration MCP Server free?

Yes. IRIS Administration MCP Server is open source, so you can use and self-host it for free.

### How do I add IRIS Administration MCP Server to Claude Code?

Run this command in your terminal: claude mcp add iris-admin-mcp --env IRIS_USERNAME='<IRIS_USERNAME>' --env IRIS_PASSWORD='<IRIS_PASSWORD>' -- npx -y @iris-mcp/admin

### What are the best alternatives to IRIS Administration MCP Server?

The closest alternatives to IRIS Administration MCP Server are IRIS Development Tools MCP Server, IRIS Data & Analytics MCP Server, IRIS Operations & Monitoring MCP Server, Airtable MCP and PostgreSQL MCP Server.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [IRIS Development Tools MCP Server](https://ai-powered.com/mcp/iris-development-tools-mcp-server): IRIS Development Tools MCP Server is an open-source MCP server for developer tools.
- [IRIS Data & Analytics MCP Server](https://ai-powered.com/mcp/iris-data-and-analytics-mcp-server): IRIS Data & Analytics MCP Server is an open-source MCP server for analytics and data.
- [IRIS Operations & Monitoring MCP Server](https://ai-powered.com/mcp/iris-operations-and-monitoring-mcp-server): IRIS Operations & Monitoring MCP Server is an open-source MCP server for developer tools.
- [Airtable MCP](https://ai-powered.com/mcp/airtable-mcp-2): Airtable MCP is an open-source MCP server for databases.
- [PostgreSQL MCP Server](https://ai-powered.com/mcp/postgresql-mcp-server-3): PostgreSQL MCP Server is an open-source MCP server for databases.
- [PostgreSQL MCP Server](https://ai-powered.com/mcp/postgresql-mcp-server-4): PostgreSQL MCP Server is an open-source MCP server for databases.
- [MCP Neo4j Aura Manager](https://ai-powered.com/mcp/mcp-neo4j-aura-manager): MCP Neo4j Aura Manager is an open-source MCP server for databases.
- [Postgres MCP](https://ai-powered.com/mcp/postgres-mcp): Postgres MCP is an open-source MCP server for databases.

---
Source: https://ai-powered.com/mcp/iris-administration-mcp-server
