← Back to directory
F

Fast Context MCP

Community
Search codebases for relevant code with natural language queries.
Category
Dev Tools #282 of 751
Stars
★ 368 Very popular
Transport
stdio (local process)
Runtime
Node.js 18+
Credentials
API key / credential required
License
MIT
Last commit
Tools
2
53FMRS · D

The README describes an MCP code-search server that uses the Windsurf Devstral API and runs search commands locally. It offers semantic search and API-key extraction tools. Use depends on external API access and project-read permissions; the repository provides no cached server manifest, so tool and transport details are based on the README and client configuration example.

Strongest · Documentation 15/20 Weakest · Reliability 7/20

Reliability
7/20
Security and permissions
9/20
Maintenance
8/20
Documentation
15/20
Setup experience
14/20
Why each score
Reliability 7/20
The README describes the MCP search tool, parameter ranges, caching, and error hints, and lists unit and stdio integration tests, but provides no test results or CI evidence. The server manifest is unavailable, so declared tools cannot be checked against implementation; startup and handshake are therefore unverified.
Security and permissions 9/20
The README says API keys can be extracted from local Devin/Windsurf credential stores and that queries, directory trees, and local search results are sent to the Windsurf API. Model-generated commands run locally, and the documentation mentions project-root path confinement, but the implementation cannot be inspected to confirm data-flow controls, isolation, or credential protections. No explicit red-line evidence appears in the supplied material.
Maintenance 8/20
The supplied information identifies an MIT license and npm package, while repository metadata says the project is not archived and has one open issue. There is no evidence about commit cadence, release history, issue response, dependency updates, or a security-response channel, so sustained maintenance is uncertain.
Documentation 15/20
The README covers installation, client configuration, credential discovery, environment variables, tool parameters, limits, the model workflow, and some troubleshooting, making it fairly comprehensive. Cost and data-handling disclosures are limited, and the missing manifest and unverifiable implementation leave uncertainty about actual behavior.
Setup experience 14/20
The README specifies Node.js 18+, an npm installation path, API-key preparation, and configuration examples for Claude Code and Claude Desktop; it also claims macOS, Windows, and Linux support. Obtaining a key depends on a Windsurf/Devin account or local credential discovery, and no source or execution evidence verifies an end-to-end connection.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesUses the networkConnects to a database

Best for

  • MCP client users who want semantic search across a local codebase.
  • Developers with a Windsurf/Devin API key or a local installation from which the server can try to discover one.

Not for

  • Users who need a fully local search with no external model service.
  • Users without a Windsurf account/API key who also cannot extract a key from a local installation.
  • Users who need code editing, arbitrary development tasks, or full code explanations; the README describes search tools.

Required permissions

  • Read directory structure and file contents under the selected project directory to build search context and run local search commands.
  • Send the query and directory tree to the Windsurf Devstral API and receive responses used to direct and process search results.
  • Access the configured WINDSURF_API_KEY or try to extract a key from local Devin/Windsurf credential storage.

Risks and side effects

  • Queries and directory trees are sent to the Windsurf Devstral API; the tree may reveal project paths and file names.
  • Model-generated commands run locally in the project context. The server describes a project-root path constraint, but search scope and excluded paths still merit review.
  • Discovered credentials may be expired or revoked, and API requests may fail because of authentication or payload limits.

Setup

Before you start

Runtime:Node.js 18+

WINDSURF_API_KEY requiredsecret Windsurf API key; it can be auto-extracted from Devin CLI/Desktop or a legacy Windsurf installation, or set manually.
Other optional settings (13)
FC_MAX_TURNS optional Search rounds per query; defaults to 3.
FC_MAX_COMMANDS optional Maximum parallel commands per round; defaults to 8.
FC_TIMEOUT_MS optional Streaming request connection timeout in milliseconds; defaults to 30000.
FC_HIDE_EXTRACT_WINDSURF_KEY_TOOL optional Set to 1, true, yes, or on to hide the key extraction tool from the MCP tool list.
FC_RESULT_MAX_LINES optional Maximum lines per command output; defaults to 50.
FC_LINE_MAX_CHARS optional Maximum characters per output line; defaults to 250.
FC_CACHE_DISABLED optional Set to 1, true, yes, or on to disable the in-memory result cache.
FC_CACHE_TTL_MS optional Result-cache lifetime in milliseconds; defaults to 300000; values <=0 disable caching.
FC_CACHE_MAX_ENTRIES optional Maximum in-memory cache entries; defaults to 200.
FC_ALLOW_INSECURE_TLS optional Set to 1 only when a trusted corporate proxy requires disabled TLS verification.
WS_MODEL optional Windsurf model name; defaults to MODEL_SWE_1_6_FAST.
WS_APP_VER optional Windsurf app version in protocol metadata; defaults to 1.48.2.
WS_LS_VER optional Windsurf language-server version in protocol metadata; defaults to 1.9544.35.

Requires Node.js 18 or later and a Windsurf account/API key. Install @sammysnake/fast-context-mcp with npm, then add the README's fast-context example to mcpServers in Claude Code or Claude Desktop and set WINDSURF_API_KEY. You can omit that variable to let the server try to discover a key from a local installation.

.mcp.json
{"fast-context":{"command":"npx","args":["-y","--prefer-online","@sammysnake/fast-context-mcp"],"env":{"WINDSURF_API_KEY":"sk-ws-01-xxxxx"}}}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "fast-context": {
    "command": "npx",
    "args": [
      "-y",
      "--prefer-online",
      "@sammysnake/fast-context-mcp"
    ],
    "env": {
      "WINDSURF_API_KEY": "sk-ws-01-xxxxx"
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
{
  "fast-context": {
    "command": "npx",
    "args": [
      "-y",
      "--prefer-online",
      "@sammysnake/fast-context-mcp"
    ],
    "env": {
      "WINDSURF_API_KEY": "sk-ws-01-xxxxx"
    }
  }
}

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Check that it works

Confirm `fast_context_search` and `extract_windsurf_key` appear in the client's tool list. Call `fast_context_search` on a project query and check that it returns relevant file paths and line ranges.

Troubleshooting

  1. HTTP 403: Check whether the API key is expired or revoked; re-extract it or set a fresh WINDSURF_API_KEY. In WSL, run devin login inside WSL.
  2. HTTP 413 or oversized payload: Lower tree_depth; the server attempts to lower it when the directory tree exceeds 250KB.
  3. Confirm Node.js is version 18 or later and that the Windsurf API key is usable.

Things to try

Once connected, you can ask your AI assistant things like:

  • Find the authentication logic in this project.
  • Which files handle JWT verification, and where is the related code?

Tools 2

fast_context_search read-only
Search a codebase with a natural-language query and return relevant files, line ranges, search keywords, and diagnostics.
extract_windsurf_key read-only
Extract an API key from a local Devin, legacy Deviv, or Windsurf installation.

Use cases

Locate authentication logic, session tokens, or other code with a natural-language query.
Iteratively search a project for relevant files and inspect matching line ranges.

Supported clients

Claude Code
Claude Desktop
CursorPartial support

Listed from the project's documentation, not tested by this site.

Overview

Fast Context MCP is a local MCP server for AI-driven semantic code search through the Windsurf Devstral API. It maps a project directory to /codebase, builds a directory tree, and runs ripgrep, file-read, tree, ls, and glob commands locally. Results include relevant files and line ranges, search keywords, and diagnostic metadata.

Similar servers

Source revision 39d2560d241a Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/fast-context-mcp.svg)](https://followmcp.com/en/servers/fast-context-mcp)