Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-chrischall-ofw-mcp": {
"command": "npx",
"args": [
"-y",
"ofw-mcp"
],
"env": {
"OFW_USERNAME": "<VALUE>",
"OFW_PASSWORD": "<YOUR_VALUE>",
"OFW_WRITE_MODE": "all",
"OFW_CALENDAR_WRITES": "<VALUE>",
"OFW_ALLOW_MARK_READ": "<VALUE>",
"OFW_CONFIRM_MARK_READ": "<VALUE>",
"OFW_FETCH_UNREAD_BODIES": "<VALUE>",
"OFW_READ_DAYS": "<VALUE>",
"OFW_NO_READ_DAYS": "<VALUE>",
"OFW_SESSION_CACHE": "<VALUE>",
"OFW_SESSION_FILE": "<VALUE>",
"OFW_EXPENSE_ONLY": "<VALUE>",
"OFW_EXPENSE_UPLOAD_ONLY": "<VALUE>",
"OFW_INLINE_ATTACHMENTS": "<VALUE>",
"OFW_ATTACHMENTS_DIR": "<VALUE>",
"OFW_UPLOAD_DIR": "<VALUE>",
"OFW_CACHE_IDENTITY": "<VALUE>",
"OFW_CACHE_DIR": "<VALUE>",
"OFW_DISABLE_FETCHPROXY": "<VALUE>",
"OFW_AUTO_REFRESH": "<VALUE>",
"OFW_FRESHNESS_TTL_SECONDS": "300",
"OFW_SYNC_MAX_REQUESTS": "<VALUE>",
"OFW_REQUEST_TIMEOUT_MS": "<VALUE>",
"OFW_DEBUG_LOG": "<VALUE>",
"DISPLAY_TZ": "<VALUE>",
"FETCHPROXY_WS_PORT": "<VALUE>",
"FETCHPROXY_WS_HOST": "<VALUE>",
"FETCHPROXY_IDENTITY_DIR": "<VALUE>"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-chrischall-ofw-mcp": {
"command": "npx",
"args": [
"-y",
"ofw-mcp"
],
"env": {
"OFW_USERNAME": "<VALUE>",
"OFW_PASSWORD": "<YOUR_VALUE>",
"OFW_WRITE_MODE": "all",
"OFW_CALENDAR_WRITES": "<VALUE>",
"OFW_ALLOW_MARK_READ": "<VALUE>",
"OFW_CONFIRM_MARK_READ": "<VALUE>",
"OFW_FETCH_UNREAD_BODIES": "<VALUE>",
"OFW_READ_DAYS": "<VALUE>",
"OFW_NO_READ_DAYS": "<VALUE>",
"OFW_SESSION_CACHE": "<VALUE>",
"OFW_SESSION_FILE": "<VALUE>",
"OFW_EXPENSE_ONLY": "<VALUE>",
"OFW_EXPENSE_UPLOAD_ONLY": "<VALUE>",
"OFW_INLINE_ATTACHMENTS": "<VALUE>",
"OFW_ATTACHMENTS_DIR": "<VALUE>",
"OFW_UPLOAD_DIR": "<VALUE>",
"OFW_CACHE_IDENTITY": "<VALUE>",
"OFW_CACHE_DIR": "<VALUE>",
"OFW_DISABLE_FETCHPROXY": "<VALUE>",
"OFW_AUTO_REFRESH": "<VALUE>",
"OFW_FRESHNESS_TTL_SECONDS": "300",
"OFW_SYNC_MAX_REQUESTS": "<VALUE>",
"OFW_REQUEST_TIMEOUT_MS": "<VALUE>",
"OFW_DEBUG_LOG": "<VALUE>",
"DISPLAY_TZ": "<VALUE>",
"FETCHPROXY_WS_PORT": "<VALUE>",
"FETCHPROXY_WS_HOST": "<VALUE>",
"FETCHPROXY_IDENTITY_DIR": "<VALUE>"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-chrischall-ofw-mcp": {
"command": "npx",
"args": [
"-y",
"ofw-mcp"
],
"env": {
"OFW_USERNAME": "<VALUE>",
"OFW_PASSWORD": "<YOUR_VALUE>",
"OFW_WRITE_MODE": "all",
"OFW_CALENDAR_WRITES": "<VALUE>",
"OFW_ALLOW_MARK_READ": "<VALUE>",
"OFW_CONFIRM_MARK_READ": "<VALUE>",
"OFW_FETCH_UNREAD_BODIES": "<VALUE>",
"OFW_READ_DAYS": "<VALUE>",
"OFW_NO_READ_DAYS": "<VALUE>",
"OFW_SESSION_CACHE": "<VALUE>",
"OFW_SESSION_FILE": "<VALUE>",
"OFW_EXPENSE_ONLY": "<VALUE>",
"OFW_EXPENSE_UPLOAD_ONLY": "<VALUE>",
"OFW_INLINE_ATTACHMENTS": "<VALUE>",
"OFW_ATTACHMENTS_DIR": "<VALUE>",
"OFW_UPLOAD_DIR": "<VALUE>",
"OFW_CACHE_IDENTITY": "<VALUE>",
"OFW_CACHE_DIR": "<VALUE>",
"OFW_DISABLE_FETCHPROXY": "<VALUE>",
"OFW_AUTO_REFRESH": "<VALUE>",
"OFW_FRESHNESS_TTL_SECONDS": "300",
"OFW_SYNC_MAX_REQUESTS": "<VALUE>",
"OFW_REQUEST_TIMEOUT_MS": "<VALUE>",
"OFW_DEBUG_LOG": "<VALUE>",
"DISPLAY_TZ": "<VALUE>",
"FETCHPROXY_WS_PORT": "<VALUE>",
"FETCHPROXY_WS_HOST": "<VALUE>",
"FETCHPROXY_IDENTITY_DIR": "<VALUE>"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-chrischall-ofw-mcp": {
"command": "npx",
"args": [
"-y",
"ofw-mcp"
],
"env": {
"OFW_USERNAME": "<VALUE>",
"OFW_PASSWORD": "<YOUR_VALUE>",
"OFW_WRITE_MODE": "all",
"OFW_CALENDAR_WRITES": "<VALUE>",
"OFW_ALLOW_MARK_READ": "<VALUE>",
"OFW_CONFIRM_MARK_READ": "<VALUE>",
"OFW_FETCH_UNREAD_BODIES": "<VALUE>",
"OFW_READ_DAYS": "<VALUE>",
"OFW_NO_READ_DAYS": "<VALUE>",
"OFW_SESSION_CACHE": "<VALUE>",
"OFW_SESSION_FILE": "<VALUE>",
"OFW_EXPENSE_ONLY": "<VALUE>",
"OFW_EXPENSE_UPLOAD_ONLY": "<VALUE>",
"OFW_INLINE_ATTACHMENTS": "<VALUE>",
"OFW_ATTACHMENTS_DIR": "<VALUE>",
"OFW_UPLOAD_DIR": "<VALUE>",
"OFW_CACHE_IDENTITY": "<VALUE>",
"OFW_CACHE_DIR": "<VALUE>",
"OFW_DISABLE_FETCHPROXY": "<VALUE>",
"OFW_AUTO_REFRESH": "<VALUE>",
"OFW_FRESHNESS_TTL_SECONDS": "300",
"OFW_SYNC_MAX_REQUESTS": "<VALUE>",
"OFW_REQUEST_TIMEOUT_MS": "<VALUE>",
"OFW_DEBUG_LOG": "<VALUE>",
"DISPLAY_TZ": "<VALUE>",
"FETCHPROXY_WS_PORT": "<VALUE>",
"FETCHPROXY_WS_HOST": "<VALUE>",
"FETCHPROXY_IDENTITY_DIR": "<VALUE>"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-chrischall-ofw-mcp": {
"command": "npx",
"args": [
"-y",
"ofw-mcp"
],
"env": {
"OFW_USERNAME": "<VALUE>",
"OFW_PASSWORD": "<YOUR_VALUE>",
"OFW_WRITE_MODE": "all",
"OFW_CALENDAR_WRITES": "<VALUE>",
"OFW_ALLOW_MARK_READ": "<VALUE>",
"OFW_CONFIRM_MARK_READ": "<VALUE>",
"OFW_FETCH_UNREAD_BODIES": "<VALUE>",
"OFW_READ_DAYS": "<VALUE>",
"OFW_NO_READ_DAYS": "<VALUE>",
"OFW_SESSION_CACHE": "<VALUE>",
"OFW_SESSION_FILE": "<VALUE>",
"OFW_EXPENSE_ONLY": "<VALUE>",
"OFW_EXPENSE_UPLOAD_ONLY": "<VALUE>",
"OFW_INLINE_ATTACHMENTS": "<VALUE>",
"OFW_ATTACHMENTS_DIR": "<VALUE>",
"OFW_UPLOAD_DIR": "<VALUE>",
"OFW_CACHE_IDENTITY": "<VALUE>",
"OFW_CACHE_DIR": "<VALUE>",
"OFW_DISABLE_FETCHPROXY": "<VALUE>",
"OFW_AUTO_REFRESH": "<VALUE>",
"OFW_FRESHNESS_TTL_SECONDS": "300",
"OFW_SYNC_MAX_REQUESTS": "<VALUE>",
"OFW_REQUEST_TIMEOUT_MS": "<VALUE>",
"OFW_DEBUG_LOG": "<VALUE>",
"DISPLAY_TZ": "<VALUE>",
"FETCHPROXY_WS_PORT": "<VALUE>",
"FETCHPROXY_WS_HOST": "<VALUE>",
"FETCHPROXY_IDENTITY_DIR": "<VALUE>"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-chrischall-ofw-mcp": {
"command": "npx",
"args": [
"-y",
"ofw-mcp"
],
"env": {
"OFW_USERNAME": "<VALUE>",
"OFW_PASSWORD": "<YOUR_VALUE>",
"OFW_WRITE_MODE": "all",
"OFW_CALENDAR_WRITES": "<VALUE>",
"OFW_ALLOW_MARK_READ": "<VALUE>",
"OFW_CONFIRM_MARK_READ": "<VALUE>",
"OFW_FETCH_UNREAD_BODIES": "<VALUE>",
"OFW_READ_DAYS": "<VALUE>",
"OFW_NO_READ_DAYS": "<VALUE>",
"OFW_SESSION_CACHE": "<VALUE>",
"OFW_SESSION_FILE": "<VALUE>",
"OFW_EXPENSE_ONLY": "<VALUE>",
"OFW_EXPENSE_UPLOAD_ONLY": "<VALUE>",
"OFW_INLINE_ATTACHMENTS": "<VALUE>",
"OFW_ATTACHMENTS_DIR": "<VALUE>",
"OFW_UPLOAD_DIR": "<VALUE>",
"OFW_CACHE_IDENTITY": "<VALUE>",
"OFW_CACHE_DIR": "<VALUE>",
"OFW_DISABLE_FETCHPROXY": "<VALUE>",
"OFW_AUTO_REFRESH": "<VALUE>",
"OFW_FRESHNESS_TTL_SECONDS": "300",
"OFW_SYNC_MAX_REQUESTS": "<VALUE>",
"OFW_REQUEST_TIMEOUT_MS": "<VALUE>",
"OFW_DEBUG_LOG": "<VALUE>",
"DISPLAY_TZ": "<VALUE>",
"FETCHPROXY_WS_PORT": "<VALUE>",
"FETCHPROXY_WS_HOST": "<VALUE>",
"FETCHPROXY_IDENTITY_DIR": "<VALUE>"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| OFW_USERNAME | No | Your OurFamilyWizard email address (required for env-var auth path) |
| OFW_PASSWORD secret | No | Your OurFamilyWizard password (required for env-var auth path) |
| OFW_WRITE_MODE | No | Write protection level: 'none', 'drafts', or 'all' Default: all |
| OFW_CALENDAR_WRITES | No | Set to 'true' to enable calendar writes when OFW_WRITE_MODE is 'drafts' |
| OFW_ALLOW_MARK_READ | No | Set to 'false' to prevent marking messages as read |
| OFW_CONFIRM_MARK_READ | No | Default "false". Set "true" to show an unread message's subject, sender and sent time and ask for confirmation before opening it marks it read. Sync fetchUnreadBodies asks too; allowMarkRead probes are disabled. |
| OFW_FETCH_UNREAD_BODIES | No | Set to 'true' to fetch unread message bodies during sync by default |
| OFW_READ_DAYS | No | Allow list of days message content may be read, e.g. "mon,thu" (weekdays, YYYY-MM-DD, or YYYY-MM-DD..YYYY-MM-DD, in DISPLAY_TZ). Other days: unread inbox messages show subject only and are never marked read; sent and read messages stay readable. Unset = every day. |
| OFW_NO_READ_DAYS | No | Deny list of days unread inbox messages may NOT be opened (same format as OFW_READ_DAYS; wins over it). Unset = none. |
| OFW_SESSION_CACHE | No | Set to false to disable the on-disk session cache and re-authenticate on every process start. Defaults to enabled. |
| OFW_SESSION_FILE | No | Absolute path for the session cache file. Defaults to $MCP_DATA_DIR/.ofw-mcp/session.json. |
| OFW_EXPENSE_ONLY | No | Set true to register only healthcheck plus expense tools. All profile/dashboard, message, calendar, and journal tools are structurally absent. |
| OFW_EXPENSE_UPLOAD_ONLY | No | Set true for strict reimbursement upload mode: only healthcheck, ofw_upload_expense_pdf, ofw_create_expense, and ofw_update_expense register. Excludes ofw_mark_expense_reimbursed. Implies OFW_EXPENSE_ONLY. |
| OFW_INLINE_ATTACHMENTS | No | Set "true" to return attachments as MCP content blocks by default (images render directly; other files come back as embedded resources) instead of writing to disk. Callers can still override per call via the tool's `inline` argument. |
| OFW_ATTACHMENTS_DIR | No | Where ofw_download_attachment writes (default ~/Downloads/ofw-mcp). Every disk write is confined to it: a saveTo outside it (after resolving symlinks) is refused, and an existing file is replaced only with force:true. |
| OFW_UPLOAD_DIR | No | The only directory ofw_upload_attachment may read from (default: OFW_ATTACHMENTS_DIR). Paths outside it after resolving symlinks, hidden files/dirs, and files over 25 MiB are refused. |
| OFW_CACHE_IDENTITY | No | Optional label for separate caches when using multiple accounts with fetchproxy |
| OFW_CACHE_DIR | No | Overrides the message cache directory (default ~/.cache/ofw-mcp). |
| OFW_DISABLE_FETCHPROXY | No | Set to '1' to skip fetchproxy fallback, making missing credentials a hard error |
| OFW_AUTO_REFRESH | No | When a cached read comes back EMPTY from a non-fresh cache, the read tools sync the backing folders and answer from the refreshed cache instead of refusing with UNVERIFIED_EMPTY (default off, i.e. refuse). Per-call autoRefresh overrides it. A refresh that does not make the read verifiable still refuses. |
| OFW_FRESHNESS_TTL_SECONDS | No | Cache freshness threshold in seconds Default: 300 |
| OFW_SYNC_MAX_REQUESTS | No | Per-call OFW-request budget for ofw_sync_messages: a positive integer caps how many OFW requests one sync call may make before pausing; the next call resumes where it left off. Unset means unbounded (local installs walk fully in one call). |
| OFW_REQUEST_TIMEOUT_MS | No | Per-request timeout for OFW API calls, in milliseconds (default 30000). Each retry gets its own fresh window. |
| OFW_DEBUG_LOG | No | Log every OFW request/response to stderr (Authorization redacted). Diagnostic only. |
| DISPLAY_TZ | No | IANA zone (e.g. America/New_York, the default) for every `<field>Display` value, and the zone a NAIVE source timestamp is assumed to be wall-clock in. OFW's API reports naive local times in the account's own zone, so this must match it. Unrecognized values fall back to the default. |
| FETCHPROXY_WS_PORT | No | Localhost port of the fetchproxy concentrator the ContextMint Bridge extension connects to (default 37149). Every MCP on one machine shares it, so move it for all of them or not at all. |
| FETCHPROXY_WS_HOST | No | Bind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace. |
| FETCHPROXY_IDENTITY_DIR | No | Absolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/). |