From fenix
First-time setup for the Fenix plugin. Uses OAuth for ALL platforms — no PAT.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fenix:fenix-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<EXTREMELY_IMPORTANT>
<EXTREMELY_IMPORTANT>
The setup flow depends on whether the platform supports native MCP OAuth:
.mcp.json. No setup needed.NEVER ask the user for a PAT. NEVER mention PAT as an option. </EXTREMELY_IMPORTANT>
Check which platform/agent is running. You can infer this from:
CLAUDE_CODE env, Claude Desktop has specific hooks)If the user is on Claude Code or Claude Desktop:
Fenix is already configured! The plugin's
.mcp.jsonhandles OAuth automatically.The first time you use a Fenix tool, your browser will open for login. Just start using Fenix — try asking me to search memories or list work items.
Stop here. No further setup needed.
For OpenCode, Cursor, Codex, Gemini, or any platform without native MCP OAuth:
Tell the user:
I'll run the Fenix OAuth login to connect your account via browser.
bash "${CLAUDE_PLUGIN_ROOT:-$(pwd)}/scripts/oauth-login.sh"
If CLAUDE_PLUGIN_ROOT is not set, find the script:
SCRIPT=$(find ~/.claude/plugins -name "oauth-login.sh" -path "*/fenix*" 2>/dev/null | head -1) || SCRIPT=$(find . -name "oauth-login.sh" 2>/dev/null | head -1); echo "$SCRIPT"
Then run it:
bash "$SCRIPT"
The script will:
FENIX_ACCESS_TOKEN=... and FENIX_REFRESH_TOKEN=...For OpenCode:
The opencode.json manifest uses ${FENIX_ACCESS_TOKEN}. Set the env var:
export FENIX_ACCESS_TOKEN="<the token from the script>"
Or update opencode.json directly with the token.
For Cursor: Add MCP server in Cursor settings (Settings → MCP Servers):
fenix-mcphttps://fenix-mcp.devshire.app/mcpAuthorization: Bearer <token>For other platforms: Configure the MCP connection with:
https://fenix-mcp.devshire.app/mcpBearer <token>Fenix connected via OAuth!
Start a new session to activate the Fenix tools.
OAuth tokens expire. When a token expires:
bash scripts/oauth-login.shpython3 not found → Required for the OAuth callback server. Install Python 3.openssl not found → Required for PKCE. Install OpenSSL.bash scripts/oauth-login.sh 9317jq not found → brew install jq / sudo apt install jqnpx claudepluginhub fenix-assistant/fenix-plugin --plugin fenixConfigures Figma REST API authentication with personal access tokens or OAuth 2.0, covering token generation, scopes, secure storage, and verification for integrations.
Generates .mcp.json and .claude/settings.json to configure MCP servers, tokens, and tool permissions for agent-flow pipeline. Supports CLI flags for tracker type, instance URL, and source control remote.
Installs @mirohq/miro-api Node.js client and configures OAuth 2.0 authentication for Miro REST API v2.