MCP for interacting with Our Family Wizard (OFW)
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add ofw --env OFW_PASSWORD='<OFW_PASSWORD>' -- npx -y ofw-mcp~/.codex/config.toml
[mcp_servers.ofw]
command = "npx"
args = ["-y", "ofw-mcp"]
env = { OFW_PASSWORD = "<OFW_PASSWORD>" }
# codex mcp add ofw --env OFW_PASSWORD='<OFW_PASSWORD>' -- npx -y ofw-mcp~/.cursor/mcp.json
{
"mcpServers": {
"ofw": {
"command": "npx",
"args": [
"-y",
"ofw-mcp"
],
"env": {
"OFW_PASSWORD": "<OFW_PASSWORD>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"ofw": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ofw-mcp"
],
"env": {
"OFW_PASSWORD": "<OFW_PASSWORD>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ofw": {
"command": "npx",
"args": [
"-y",
"ofw-mcp"
],
"env": {
"OFW_PASSWORD": "<OFW_PASSWORD>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"ofw": {
"command": "npx",
"args": [
"-y",
"ofw-mcp"
],
"env": {
"OFW_PASSWORD": "<OFW_PASSWORD>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"ofw": {
"command": "npx",
"args": [
"-y",
"ofw-mcp"
],
"env": {
"OFW_PASSWORD": "<OFW_PASSWORD>"
}
}
}
}需要的环境变量
OFW_PASSWORD
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。