This project is in active development and intended for testing only. APIs, prompts, and behavior may change without notice. Do not use in production.
A local Model Context Protocol (MCP) server that provides OpenFeature SDK installation guidance over stdio.
- No Authentication Required: Simplified implementation without OAuth or user management
- OpenFeature SDK Installation Guides: Fetch installation prompts for various OpenFeature SDKs
- MCP stdio Transport: Intended for local usage by MCP-compatible clients
Add to ~/.cursor/mcp_settings.json
:
{
"mcpServers": {
"OpenFeature": {
"command": "npx",
"args": ["-y", "@openfeature/mcp"]
}
}
}
Add to .continue/config.json
:
{
"mcpServers": {
"OpenFeature": {
"command": "npx",
"args": ["-y", "@openfeature/mcp"]
}
}
}
Add the server via CLI:
claude mcp add --transport stdio openfeature npx -y @openfeature/mcp
Then manage the connection in the CLI with /mcp
.
In the "Manage MCP servers" raw config, add:
{
"mcpServers": {
"OpenFeature": {
"command": "npx",
"args": ["-y", "@openfeature/mcp"]
}
}
}
Edit your Claude Desktop config and add:
{
"mcpServers": {
"openfeature": {
"command": "npx",
"args": ["-y", "@openfeature/mcp"]
}
}
}
Restart Claude Desktop after saving.
If you prefer a global install instead of NPX:
npm install -g @openfeature/mcp
Now in your MCP config use openfeature-mcp
as the command:
{
"mcpServers": {
"openfeature": {
"command": "openfeature-mcp"
}
}
}
All logs are written to stderr. The MCP protocol messages use stdout.
Fetches and returns OpenFeature SDK install prompt Markdown for a given guide from the bundled prompts.
Parameters:
guide
(string enum): One of the supported guides listed below
Supported Guides (bundled):
- android
- dotnet
- go
- ios
- java
- javascript
- nestjs
- nodejs
- php
- python
- react
- ruby
- Node.js 18+
-
Install dependencies:
npm install
-
Add or edit install guides in the
prompts/
folder (Markdown). These are bundled at build time. -
Build prompts bundle:
npm run build-prompts
-
Build TypeScript:
npm run build
-
Run locally (binary entrypoint):
node dist/cli.js