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.
This commit is contained in:
Esteban Suárez authored and GitHub committed 2026-09-10 11:46:16 -05:00
1 parent 530795f34f
commit 2cf96460c1
1 file changed
+38
+38
View File
@@ -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