Overview
The easiest way to get started with FAS is to expose the subagent as a tool to your main agent via the Relace MCP. For personal use, you can integrate with any coding agent that has a custom MCP feature (e.g. Cursor, Claude Code). Using MCP is also the fastest way to test FAS in your production coding agent.Prerequisites
- Sign up for a Relace account.
- Create an API key.
- Install uv. This makes it possible to run
relace-mcp-serverwithout any additional Python environment setup viauvx. - Install ripgrep. This is what enables our
grep_searchtool to efficiently search over large code bases.
Installation
Most MCP-compatible clients use a standard JSON configuration format. To use Relace, add the following to your client’s MCP settings file:Claude Code
Claude Code
Cursor
Cursor
VS Code
VS Code
How It Works
Once installed, the Relace MCP exposes arelace_search tool that your agent can invoke. The relace-mcp-server package includes our agentic search harness optimized to execute parallel view_file and grep commands in your local filesystem.
When your agent invokes relace-search with a query, the FAS subagent sifts through the codebase and returns a formatted list of relevant files with line ranges—the same report_back output from the FAS API.