https://github.com/flipt-io/mcp-server-flipt
https://github.com/flipt-io/mcp-server-flipt
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/flipt-io/mcp-server-flipt
- Owner: flipt-io
- License: apache-2.0
- Created: 2025-03-15T17:10:15.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-03-17T18:52:38.000Z (about 1 month ago)
- Last Synced: 2025-04-01T09:03:54.505Z (23 days ago)
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@flipt-io/mcp-server-flipt
- Size: 516 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-servers - Flipt MCP Server - Enables AI assistants to manage Flipt feature flags via the Model Context Protocol (Table of Contents / AI Services)
- awesome-mcp-servers - Flipt MCP Server - Enables AI assistants to manage Flipt feature flags via the Model Context Protocol (Table of Contents / AI Services)
README
# Flipt MCP Server
[](https://www.npmjs.com/package/@flipt-io/mcp-server-flipt)
A [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server for [Flipt](https://flipt.io), allowing AI assistants to interact with feature flags.
## Features
- List, create, update, and delete namespaces, flags, segments, rules, and more
- Evaluate flags for specific entities
- Toggle flags on/off
- Manage constraints, variants, distributions, and rollouts## Usage
Once the server is running, it will:
1. Set up a STDIO transport for MCP communication
2. Register tools and prompts for interacting with FliptThe server is designed to be used with AI assistants that support the Model Context Protocol.
### Node
You can install the package globally and run it:
```bash
npm install -g @flipt-io/mcp-server-flipt && mcp-server-flipt
```Or run it directly with npx:
```bash
npx -y @flipt-io/mcp-server-flipt
```### Docker
You can also run the server in a Docker container:
```bash
docker run -d --name mcp-server-flipt ghcr.io/flipt-io/mcp-server-flipt:latest
```## Configuration
The server can be configured using environment variables:
- `FLIPT_API_URL`: The URL of the Flipt API (default: )
- `FLIPT_API_KEY`: The API key to use for the Flipt API (optional)You can set these in a `.env` file in the directory where you run the server.
## Development
```bash
# Install dependencies
npm install# Run in development mode
npm run dev# Build the project
npm run build# Start the server
npm start# Format code
npm run fmt# Lint code
npm run lint
```## License
Apache 2.0