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-myopenfund-myopenfund-mcp": {
"command": "uvx",
"args": [
"myopenfund-mcp"
],
"env": {
"MOF_MCP_HOST": "127.0.0.1",
"MOF_MCP_PATH": "/mcp",
"MOF_MCP_PORT": "8000",
"MOF_MCP_TOKENS": "<VALUE>",
"MOF_MCP_MAX_ROWS": "200",
"MOF_MCP_TRANSPORT": "stdio",
"MOF_MCP_DEFAULT_ROWS": "50",
"MOF_MCP_MAX_TEXT_CHARS": "2000",
"MOF_VAULT_DATABASE_URL": "<VALUE>",
"MOF_MCP_QUERY_TIMEOUT_S": "20",
"MOF_MCP_MAX_RESULT_CHARS": "200000",
"MOF_MCP_CONNECT_TIMEOUT_S": "10",
"MOF_MCP_MAX_ERROR_SAMPLES": "5"
}
}
}
}
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-myopenfund-myopenfund-mcp": {
"command": "uvx",
"args": [
"myopenfund-mcp"
],
"env": {
"MOF_MCP_HOST": "127.0.0.1",
"MOF_MCP_PATH": "/mcp",
"MOF_MCP_PORT": "8000",
"MOF_MCP_TOKENS": "<VALUE>",
"MOF_MCP_MAX_ROWS": "200",
"MOF_MCP_TRANSPORT": "stdio",
"MOF_MCP_DEFAULT_ROWS": "50",
"MOF_MCP_MAX_TEXT_CHARS": "2000",
"MOF_VAULT_DATABASE_URL": "<VALUE>",
"MOF_MCP_QUERY_TIMEOUT_S": "20",
"MOF_MCP_MAX_RESULT_CHARS": "200000",
"MOF_MCP_CONNECT_TIMEOUT_S": "10",
"MOF_MCP_MAX_ERROR_SAMPLES": "5"
}
}
}
}
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-myopenfund-myopenfund-mcp": {
"command": "uvx",
"args": [
"myopenfund-mcp"
],
"env": {
"MOF_MCP_HOST": "127.0.0.1",
"MOF_MCP_PATH": "/mcp",
"MOF_MCP_PORT": "8000",
"MOF_MCP_TOKENS": "<VALUE>",
"MOF_MCP_MAX_ROWS": "200",
"MOF_MCP_TRANSPORT": "stdio",
"MOF_MCP_DEFAULT_ROWS": "50",
"MOF_MCP_MAX_TEXT_CHARS": "2000",
"MOF_VAULT_DATABASE_URL": "<VALUE>",
"MOF_MCP_QUERY_TIMEOUT_S": "20",
"MOF_MCP_MAX_RESULT_CHARS": "200000",
"MOF_MCP_CONNECT_TIMEOUT_S": "10",
"MOF_MCP_MAX_ERROR_SAMPLES": "5"
}
}
}
}
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-myopenfund-myopenfund-mcp": {
"command": "uvx",
"args": [
"myopenfund-mcp"
],
"env": {
"MOF_MCP_HOST": "127.0.0.1",
"MOF_MCP_PATH": "/mcp",
"MOF_MCP_PORT": "8000",
"MOF_MCP_TOKENS": "<VALUE>",
"MOF_MCP_MAX_ROWS": "200",
"MOF_MCP_TRANSPORT": "stdio",
"MOF_MCP_DEFAULT_ROWS": "50",
"MOF_MCP_MAX_TEXT_CHARS": "2000",
"MOF_VAULT_DATABASE_URL": "<VALUE>",
"MOF_MCP_QUERY_TIMEOUT_S": "20",
"MOF_MCP_MAX_RESULT_CHARS": "200000",
"MOF_MCP_CONNECT_TIMEOUT_S": "10",
"MOF_MCP_MAX_ERROR_SAMPLES": "5"
}
}
}
}
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-myopenfund-myopenfund-mcp": {
"command": "uvx",
"args": [
"myopenfund-mcp"
],
"env": {
"MOF_MCP_HOST": "127.0.0.1",
"MOF_MCP_PATH": "/mcp",
"MOF_MCP_PORT": "8000",
"MOF_MCP_TOKENS": "<VALUE>",
"MOF_MCP_MAX_ROWS": "200",
"MOF_MCP_TRANSPORT": "stdio",
"MOF_MCP_DEFAULT_ROWS": "50",
"MOF_MCP_MAX_TEXT_CHARS": "2000",
"MOF_VAULT_DATABASE_URL": "<VALUE>",
"MOF_MCP_QUERY_TIMEOUT_S": "20",
"MOF_MCP_MAX_RESULT_CHARS": "200000",
"MOF_MCP_CONNECT_TIMEOUT_S": "10",
"MOF_MCP_MAX_ERROR_SAMPLES": "5"
}
}
}
}
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-myopenfund-myopenfund-mcp": {
"command": "uvx",
"args": [
"myopenfund-mcp"
],
"env": {
"MOF_MCP_HOST": "127.0.0.1",
"MOF_MCP_PATH": "/mcp",
"MOF_MCP_PORT": "8000",
"MOF_MCP_TOKENS": "<VALUE>",
"MOF_MCP_MAX_ROWS": "200",
"MOF_MCP_TRANSPORT": "stdio",
"MOF_MCP_DEFAULT_ROWS": "50",
"MOF_MCP_MAX_TEXT_CHARS": "2000",
"MOF_VAULT_DATABASE_URL": "<VALUE>",
"MOF_MCP_QUERY_TIMEOUT_S": "20",
"MOF_MCP_MAX_RESULT_CHARS": "200000",
"MOF_MCP_CONNECT_TIMEOUT_S": "10",
"MOF_MCP_MAX_ERROR_SAMPLES": "5"
}
}
}
}
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 |
|---|---|---|
| MOF_MCP_HOST | No | HTTP listen address. Default: 127.0.0.1. The Docker image sets 0.0.0.0 inside the container. Default: 127.0.0.1 |
| MOF_MCP_PATH | No | HTTP endpoint path; must start with /. Default: /mcp. Default: /mcp |
| MOF_MCP_PORT | No | HTTP port, 1-65535. Default: 8000. Default: 8000 |
| MOF_MCP_TOKENS | No | Comma-separated client:sha256hex[:tier] entries. Required when MOF_MCP_TRANSPORT=http; the HTTP server refuses to start without tokens. Ignored over stdio with a warning. No default. |
| MOF_MCP_MAX_ROWS | No | Largest limit a caller may request. Default: 200. Default: 200 |
| MOF_MCP_TRANSPORT | No | Transport to use: stdio or http. Default: stdio. The Docker image sets http. Default: stdio |
| MOF_MCP_DEFAULT_ROWS | No | Rows per page when the caller gives no limit; at most MOF_MCP_MAX_ROWS. Default: 50. Default: 50 |
| MOF_MCP_MAX_TEXT_CHARS | No | Each error text in vault_runs_status is cut to this length. Default: 2000. Default: 2000 |
| MOF_VAULT_DATABASE_URL | No | Vault Postgres URL using the read-only role. Unset means no vault toolset; when set, the [vault] extra must be installed. Set sslmode explicitly: verify-full preferred, require as fallback, disable only on a trusted private network. No default. |
| MOF_MCP_QUERY_TIMEOUT_S | No | Postgres statement_timeout per call, in seconds, 1-2147483. Default: 20. Default: 20 |
| MOF_MCP_MAX_RESULT_CHARS | No | Largest tool result in characters, at least 1000; larger results are refused. Default: 200000. Default: 200000 |
| MOF_MCP_CONNECT_TIMEOUT_S | No | Postgres connection timeout, in seconds, 2-300. Default: 10. Default: 10 |
| MOF_MCP_MAX_ERROR_SAMPLES | No | Error samples kept per row of vault_runs_status. Default: 5. Default: 5 |