From 2cf96460c1f78b24e3967b4a60263e7277f87116 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20Su=C3=A1rez?= Date: Thu, 10 Sep 2026 12:46:16 -0400 Subject: [PATCH] docs: add fx to installation instructions (#339) fx is an open source coding agent from Vercel Labs. It reads MCP server definitions from the `mcp` key in ~/.fx/mcp.json. Verified against the live API with @brave/brave-search-mcp-server@2.1.3 over stdio. --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/README.md b/README.md index 2a6f785..dd724b2 100644 --- a/README.md +++ b/README.md @@ -295,6 +295,44 @@ For manual installation, add the following to your User Settings (JSON) or `.vsc } ``` +### Usage with fx + +Add this to your `~/.fx/mcp.json`, creating the file if it does not exist: + +#### Docker + +```json +{ + "mcp": { + "brave-search": { + "command": "docker", + "args": ["run", "-i", "--rm", "-e", "BRAVE_API_KEY", "docker.io/mcp/brave-search"], + "env": { + "BRAVE_API_KEY": "YOUR_API_KEY_HERE" + } + } + } +} +``` + +#### NPX + +```json +{ + "mcp": { + "brave-search": { + "command": "npx", + "args": ["-y", "@brave/brave-search-mcp-server", "--transport", "stdio"], + "env": { + "BRAVE_API_KEY": "YOUR_API_KEY_HERE" + } + } + } +} +``` + +Start fx, or type `/mcp reload` if it is already running. To verify the connection, type `/mcp list`. + ## Build ### Docker