Skip to content
plugmcp
DirectorySkillsCategoriesBlog
EN/中文
Sign inSign up
Home/Servers/Agentsbestfriend

Agentsbestfriend

I
by io.github.TheRealFloatDev

MCP that provides fast, token-efficient tools for navigating, searching, and understanding codebases

Power your agent

Add this server

The publisher's own command. Not a PlugMCP endpoint.

Local command
npx -y [email protected]
Credentials from the publisher
  • ABF_PROJECT_ROOT — The root directory of the project that the server will interact with. Defaults to the current working directory if not set.
Provider
Claude Code
ABF_PROJECT_ROOT=<value> claude mcp add io.github.therealfloatdev-agentsbestfriend -- npx -y [email protected]

Run in a terminal.

Claude Desktop
{
  "mcpServers": {
    "io.github.therealfloatdev-agentsbestfriend": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "ABF_PROJECT_ROOT": "<value>"
      }
    }
  }
}

claude_desktop_config.json

Step-by-step: add this in Claude

Remote URL or a command on your machine? How the two installs differ

Run on PlugMCP

Host a copy with our keys and logs.

A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.

Launch

Related MCP

View more
  • Firecrawl🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
  • N
    NotionToken-auth Notion MCP: pages, databases, blocks, comments, files. Runs headless in CI and agents.
  • Context7Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

Related skills

View all
  • reaReverse engineer anything with agents, from app behavior down to native binaries.
  • rea-changelog-updatePrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization.
  • rea-tool-designDesign or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.

Questions

How do I install Agentsbestfriend?
Copy the stdio config for Cursor, Claude Desktop, Claude Code, or VS Code on this page. It uses the publisher's install, not a PlugMCP proxy.
Does Agentsbestfriend need an API key?
The publisher lists these environment variables: ABF_PROJECT_ROOT.
What transport does Agentsbestfriend use?
Agentsbestfriend runs locally over stdio.
When was Agentsbestfriend last checked?
Last checked 2026-10-16. MCP that provides fast, token-efficient tools for navigating, searching, and understanding codebases

MCP that provides fast, token-efficient tools for navigating, searching, and understanding codebases

AgentsBestFriend (abf)

Give your AI coding agents superpowers — a local MCP server for fast, token-efficient code navigation, search & analysis.

Works with VS Code Copilot, Cursor, Claude Code/Desktop, Codex, Cline, Zed, Gemini CLI, Goose, OpenCode, and any other MCP-compatible agent.


Why?

AI coding agents waste tokens re-reading files and searching blindly. ABF gives them purpose-built tools that return exactly what they need — in compact, structured responses that preserve context.

Tools

ToolWhat it does
abf_searchCode search — exact (ripgrep), keyword-ranked, or semantic (embedding-based)
abf_search_multiRun multiple search queries (exact/keyword/semantic) in one call with weighted score merging
abf_symbolsFunctions, classes, exports in a file (AST-based for TS/JS, regex for Python)
abf_chunkSmart file chunk by symbol name, chunk index, or file overview
abf_project_overviewTech stack, folder structure, key dependencies at a glance
abf_dependenciesImport graph — who imports what
abf_impactFind all usages of a symbol across the project
abf_impact_typedAST-aware (ts-morph) impact analysis with classified references (definition/call/import/type_ref/jsx) and confidence levels
abf_blast_radiusBFS over reverse-import graph for a file with risk scoring (low/medium/high)
abf_related_testsHeuristically rank test files most likely to cover a file or symbol
abf_preview_changesRead-only preview: diff + symbol/import deltas + risk flags + external usage probe (no writes)
abf_refactor_planRead-only ordered edit plan for rename/move/extract/split with collision detection
abf_apply_editWrite tool — atomic file write with sha256 hash check (disabled unless ABF_ENABLE_WRITES=1)
abf_diagnosticsTypeScript diagnostics (errors/warnings) for one file or all tracked TS/JS files
abf_definitionGoto-definition via the TypeScript language service — file, line range, and source preview
abf_hoverType signature + JSDoc for an identifier (IDE-style hover)
abf_call_graphTransitive callers/callees of a function or method (TS/JS, ts-morph)
abf_gitGit log, blame, diff (recent/staged/unstaged)
abf_file_summaryFull-text search across LLM-generated file summaries (FTS5, OR/AND mode)
abf_conventionsDetected naming, structure, and formatting conventions
abf_indexIndex status, rebuild, incremental update, or trigger re-summarization
abf_pingHealth check — returns version and project root

Install

npm install -g agentsbestfriend

Prerequisites

  • Node.js ≥ 20
  • ripgrep — brew install ripgrep (macOS) / apt install ripgrep (Linux)
  • git
  • Ollama (optional) — for summaries & semantic search: ollama.com

Quick Start

abf init

abf init walks you through everything:

  1. Indexes your project — discovers and indexes all files via git ls-files
  2. Generates LLM summaries & embeddings (if Ollama is running) — with live (12/80) progress
  3. Adds .abf/ to .gitignore — prompts before writing
  4. Installs ABF as an MCP server for your agents — you pick which agents (Cursor, VS Code, Claude Code, etc.) and whether to use npx agentsbestfriend start (always latest) or abf start (local install)

Manual Agent Setup

If you prefer to configure manually, add ABF as a stdio MCP server. Using npx is recommended — it always runs the latest published version without requiring a global install:

VS Code / GitHub Copilot (.vscode/mcp.json):

{
  "servers": {
    "abf": {
      "command": "npx",
      "args": ["agentsbestfriend", "start"]
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "abf": {
      "command": "npx",
      "args": ["agentsbestfriend", "start"]
    }
  }
}

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "abf": {
      "command": "npx",
      "args": ["agentsbestfriend", "start"]
    }
  }
}

Set ABF_PROJECT_ROOT in the env block if the agent does not pass its working directory automatically.

CLI Commands

abf start             Start MCP server in stdio mode (used by agents)
abf init [path]       Index project, set up .gitignore entry, install MCP for agents
abf skill [path]      Install or update the ABF workflow skill for your coding agents
abf index [path]      Re-index a project (incremental by default)
abf status [path]     Show index stats
abf config            Interactive configuration editor
abf doctor            Health checks (Node, ripgrep, git, Ollama)
abf portal            Interactive TUI dashboard

How It Works

ABF maintains a lightweight SQLite index (.abf/index.db) inside each project root. The index is built once and updated incrementally — only changed files are re-processed. A file watcher keeps it current as you edit.

TableContents
filesPaths, hashes, languages, line counts, LLM summaries
symbolsFunctions, classes, interfaces, types (AST-extracted)
importsDependency edges between files
embeddingsFloat32 vectors for semantic search (chunked for large files)
file_chunksSmart chunks aligned to symbol boundaries
files_ftsFTS5 full-text index over summaries

Optional: LLM Enrichment

With Ollama running locally, ABF generates file summaries and embeddings:

ollama pull qwen2.5-coder:1.5b    # file summaries
ollama pull nomic-embed-text       # embeddings / semantic search

Both abf init and abf portal → Re-index show live progress:

◆  Generating LLM summaries... (14/80)
◆  Generating embeddings... (28/80)

Large files are automatically split into chunks for embedding — no context-length errors.

Without Ollama, all tools still work normally. Semantic search falls back to keyword mode.

Configuration

Global config at ~/.abf/config.json. Edit interactively with abf config or via abf portal.

{
  "llm": {
    "provider": "ollama",
    "ollama": {
      "baseUrl": "http://localhost:11434",
      "summaryModel": "qwen2.5-coder:1.5b",
      "embeddingModel": "nomic-embed-text"
    }
  },
  "indexing": {
    "autoWatch": true,
    "respectGitignore": true,
    "maxFileSizeKb": 512,
    "excludedPatterns": ["*.min.js", "*.min.css", "*.map", "*.lock"]
  },
  "search": {
    "defaultMaxResults": 20
  }
}

Architecture

AgentsBestFriend/
├── packages/
│   ├── core/     Shared logic — DB, config, search, analysis, indexer, LLM
│   ├── server/   MCP server (11 tools)
│   └── cli/      Commander.js CLI + TUI portal
├── turbo.json
└── package.json

Built with Turborepo + pnpm workspaces. Core modules:

ModulePurpose
@abf/core/dbDrizzle ORM + SQLite (WAL, FTS5)
@abf/core/configZod-validated config
@abf/core/searchripgrep, keyword scorer, semantic (cosine similarity)
@abf/core/analysists-morph AST, conventions detector, project overview
@abf/core/indexergit ls-files discovery, incremental pipeline, file watcher
@abf/core/llmOllama client, summary & chunked embedding pipelines
@abf/core/gitGit CLI wrapper

Development

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Watch mode
pnpm dev

# Type-check
pnpm type-check

Links

  • GitHub: github.com/TheRealFloatDev/AgentsBestFriend
  • npm: npmjs.com/package/agentsbestfriend
  • Issues: github.com/TheRealFloatDev/AgentsBestFriend/issues
  • MCP Spec: modelcontextprotocol.io

License

MIT

How do I install Agentsbestfriend?
Copy the stdio config for Cursor, Claude Desktop, Claude Code, or VS Code on this page. It uses the publisher's install, not a PlugMCP proxy.
Does Agentsbestfriend need an API key?
The publisher lists these environment variables: ABF_PROJECT_ROOT.
What transport does Agentsbestfriend use?
Agentsbestfriend runs locally over stdio.
When was Agentsbestfriend last checked?
Last checked 2026-10-16. MCP that provides fast, token-efficient tools for navigating, searching, and understanding codebases

No tool list yet. Remote servers get one after the first health check.

plugmcp

Plug any tool into any agent. MCP servers for people who do not write servers. Gateway for volume, n8n for apps.

  • github.com/TODO
  • x.com/TODO
  • linkedin.com/company/TODO

PlugMCP, 2026

Product
  • Browse
  • Install
  • Host your own
  • Pricing
  • Voice mode
  • Browser
Directory
  • All MCP servers
  • MCP Apps
  • Tools
  • Agent skills
  • Categories
  • New
  • Voice
  • Submit a server
Developers
  • Docs
  • Blog
  • Club
  • Work with us
  • What is MCP
  • What is WebMCP
  • Status
Company
  • About
  • Contact
  • Terms
  • Privacy
  • DPA