コンテンツにスキップ

CursorConnect

Cursor

このコンテンツはまだ日本語訳がありません。

Cursor connects to Flovia by signing in with OAuth, with no API key. In Console (opens in new tab), open Quick Install and use Add to Cursor, or add the MCP URL https://api.flovia.dev/mcp (opens in new tab) in Cursor’s MCP settings. When Cursor asks, sign in to Flovia; if you have no Flovia account yet, you can create one during the sign-in. Sign in with OAuth has more.

Open Console (opens in new tab), choose Cursor and use Add to Cursor. The button does not add your key. Follow the settings shown there to set it.

Store your key as FLOVIA_KEY, the same variable Codex and the SDK read, in the private environment used to start Cursor:

Terminal window
export FLOVIA_KEY='<your key>'

Merge this entry into mcpServers in ~/.cursor/mcp.json, keeping all existing entries:

{
"mcpServers": {
"flovia": {
"url": "https://api.flovia.dev/mcp",
"headers": {
"Authorization": "Bearer ${env:FLOVIA_KEY}"
}
}
}
}

On Windows, set the variable in PowerShell instead of export. Run this, paste your key when asked, then press Enter:

Terminal window
[Environment]::SetEnvironmentVariable('FLOVIA_KEY', (Read-Host 'Paste your Flovia key').Trim(), 'User')

The key is saved as a user environment variable and stays out of the command and its history. Cursor reads it only when it starts, so quit Cursor completely and open it again. The configuration file is %USERPROFILE%\.cursor\mcp.json, with the same entry as above. If your entry names FLOVIA_API_KEY, as the one from Console does, set that name instead. Variables you export in WSL do not reach Cursor on Windows.

Set Flovia up with Console or the manual settings above. Do not put your key in a prompt.

Enable Flovia in Cursor’s MCP settings and open a new chat. Then check your connection.

Remove only the flovia entry from mcpServers, keeping your other servers, and restart Cursor. If the key is rejected, check Console and By client.