Install guide · Cursor
Install ofw-mcp for Cursor
Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "chrischall-ofw-mcp": { "command": "npx", "args": [ "-y", "ofw-mcp@2.30.0" ], "env": { "OFW_USERNAME": "", "OFW_PASSWORD": "YOUR_OFW_PASSWORD", "OFW_WRITE_MODE": "", "OFW_CALENDAR_WRITES": "", "OFW_ALLOW_MARK_READ": "", "OFW_CONFIRM_MARK_READ": "", "OFW_FETCH_UNREAD_BODIES": "", "OFW_READ_DAYS": "", "OFW_NO_READ_DAYS": "", "OFW_SESSION_CACHE": "", "OFW_SESSION_FILE": "", "OFW_EXPENSE_ONLY": "", "OFW_EXPENSE_UPLOAD_ONLY": "", "OFW_INLINE_ATTACHMENTS": "", "OFW_ATTACHMENTS_DIR": "", "OFW_UPLOAD_DIR": "", "OFW_CACHE_IDENTITY": "", "OFW_CACHE_DIR": "", "OFW_DISABLE_FETCHPROXY": "", "OFW_AUTO_REFRESH": "", "OFW_FRESHNESS_TTL_SECONDS": "", "OFW_SYNC_MAX_REQUESTS": "", "OFW_REQUEST_TIMEOUT_MS": "", "OFW_DEBUG_LOG": "", "DISPLAY_TZ": "", "FETCHPROXY_WS_PORT": "", "FETCHPROXY_WS_HOST": "", "FETCHPROXY_IDENTITY_DIR": "" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/.cursor/mcp.json |
| Windows | %USERPROFILE%\.cursor\mcp.json |
| Linux | ~/.cursor/mcp.json |