# Switcher MCP server

> Exposes Switcher API feature flags to AI assistants as MCP tools for listing domains, environments, and retrieving flag settings.

- Repository: https://github.com/switcherapi/switcher-mcp-server
- Page: https://hostedmcp.org/servers/switcherapi/switcher-mcp-server
- Transport: —
- Stars: 0
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `SWITCHER_API_CERT_PATH` | no | no |  |
| `SWITCHER_API_URL` | no | no |  |

## Tools (3)

- `list_domains`
- `list_environments`
- `get_feature_flag`

## FAQ

### Can I toggle feature flags using this server?

No, toggling feature flags is not supported for security and consistency reasons.

### How does the server handle authentication?

It uses an OAuth 2.1 Authorization Code + PKCE flow with Dynamic Client Registration, ensuring no client secret is stored or shared.

### Where are credentials stored in stdio mode?

Credentials such as client ID and tokens are cached locally at ~/.switcher-mcp/credentials.json.
