yoyo logo

yoyo

Community
avirajkhare00

yoyo is a local MCP server for repository reading and change work. It exists to make coding agents less hallucinated, more grounded, and more truthful when they answer questions about a real codebase.

Publisheravirajkhare00
Repositoryyoyo
LanguageRust
Forks
8
Stars
24
Available tools
0
Transport typestdio
Categories
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    yoyo exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    24 stars and 8 forks from the linked repository.

yoyo

Grounded codebase answers for AI coding agents.

Sponsor

Shoutout to xagi.in, the first sponsor of yoyo.

yoyo is a local MCP server for repository reading and change work. It is built for agents first, so they stay grounded in the repo instead of guessing from model memory.

The core product is not generic search. It is a smaller and more reliable interface to the repository:

  • judge_change for ownership, invariants, and regression risk before edits
  • inspect for cheap structured reads like signatures, type surfaces, file structure, and exact excerpts
  • change for error-bounded writes through one task-shaped surface

Essays:

Current status

Headline WIP result: in one clean directed ripgrep read_only eval, Codex used yoyo for 22/22 tool calls.

That run asked three explicit engineer questions: find the 3 most likely files or symbols, decide which layer should own the fix, and state the invariants and blast radius. yoyo localized the bug to hiargs.rs, walk.rs, and gitignore.rs, placed ownership in crates/ignore, and surfaced the key invariants and regression risks without making edits.

Write-side WIP result: yoyo is strongest when read judgment narrows the surface first, then change executes the write cleanly. The first clean directed write_only batch now shows that on ripgrep, uuid, and httprouter. semver is tracked separately: the patch in src/eval.rs is correct and passes manual cargo test, but the fixture's exact verify command, cargo test --test *, is malformed and still needs fixing before strict scoring.

This is groundedness and tool-use evidence under direction, not yet a broad with-vs-without benchmark. The old 119/120 tool-accuracy benchmark still exists as a legacy regression report, and the current compare smoke runs are still 6/6 ties across v1.8.5 and v1.7.3.

Current directed artifacts:

See evals/README.md for the current eval direction.

Why it exists

Coding agents are strong at local editing and weak at repository truth. They guess ownership layers, invent file paths, over-read source files, and lose the actual invariants of the system.

yoyo narrows that gap. It gives the agent:

  • a grounded repository index in .bakes/latest/bake.db
  • a judgment surface before edits
  • a cheaper read surface for signatures and types
  • a structured write path when direct file mutation is the wrong tool

The point is not to make toy tasks look slightly faster. The point is to make answers more truthful and more grounded in the code that actually exists.

New write-side concepts

  • Guarded write: yoyo writes the candidate edit, runs the relevant checks, and restores the original file if the edit fails those checks.
  • Runtime guard: syntax is not enough for Python, JavaScript, Ruby, PHP, or Clojure. yoyo can also catch "parses fine, crashes on run" failures like missing imports, missing names, and load-time exceptions.
  • retry_plan: failed guarded writes come back as machine-readable guard_failure payloads, then narrow into a bounded inspect-fix-retry workflow instead of vague stderr.
  • Least-privilege bootstrap: if yoyo.json is missing, yoyo now creates it automatically for supported interpreted languages, but keeps runtime execution restricted until an agent updates the repo policy.

boot now surfaces agent-managed config, managed paths, a concrete runtime-access example, and project conventions loaded from yoyo.json. That file is the repo contract for agents: style rules, frameworks, common commands, and runtime policy all live there so the same context does not need to be re-prompted every session. .bakes/ is managed cache and is ignored by default in git repos.

Small example: if an edit changes Python return "hello" into return missing_name, a plain editor saves a broken file. A guarded write rejects it, restores the original file, and returns enough structure for the next repair attempt to target the right lines.

Language focus

yoyo is opinionated about depth. The primary languages are:

  • Rust
  • Go
  • Zig
  • TypeScript

Rust and Go currently have the strongest read surface, including indexed structured signatures in inspect.

Install

macOS (Apple Silicon):

bash
brew tap avirajkhare00/yoyo
brew install yoyo

Linux (x86_64):

bash
curl -L https://github.com/avirajkhare00/yoyo/releases/latest/download/yoyo-x86_64-unknown-linux-gnu.tar.gz | tar xz
sudo mv yoyo-x86_64-unknown-linux-gnu /usr/local/bin/yoyo

Check:

bash
yoyo --version

Add as MCP

Claude Code or Cursor:

json
{
  "mcpServers": {
    "yoyo": {
      "type": "stdio",
      "command": "/usr/local/bin/yoyo",
      "args": ["--mcp-server"]
    }
  }
}

Codex CLI:

bash
codex mcp add yoyo -- /usr/local/bin/yoyo --mcp-server

Gemini CLI:

bash
gemini mcp add yoyo /usr/local/bin/yoyo --mcp-server

Then index the project once:

bash
yoyo index --path /path/to/your/project

Teach the agent to use it

For Codex, add this to AGENTS.md:

md
## yoyo
Call `boot` and `index` first.
Prefer `inspect` for code reads, `search` over grep, and `change` for code changes.
Prefer `judge_change` before edits when ownership, invariants, or regression risk are unclear.
Prefer `impact` for relation and blast-radius questions.

Without this, the agent may see yoyo and still fall back to its default habits.

MCP tools

yoyo currently exposes 13 MCP tools:

  • Bootstrap: boot, index
  • Discovery: help
  • Read: inspect, search, ask
  • Judge: judge_change
  • Relate: map, impact, routes, health
  • Write: change
  • Orchestration: script

The MCP surface is intentionally smaller than the CLI surface. Humans still have broader CLI commands for debugging and direct use.

Why not just LSP

LSP is for humans inside an editor. yoyo is for agents working over MCP.

  • LSP is cursor- and file-oriented
  • yoyo is repository-oriented
  • LSP does not answer ownership or blast-radius questions
  • yoyo is designed to answer those questions before the edit happens

Use both. LSP while you write. yoyo when your agent needs to understand or change code it has never seen.

Contributors

Links

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "avirajkhare00-yoyo": {
      "command": "",
      "args": []
    }
  }
}

Use yoyo MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once yoyo is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add yoyo as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the yoyo MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "avirajkhare00-yoyo": {
      "command": "npx",
      "args": [
        "-y",
        "yoyo"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the yoyo MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the yoyo MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use yoyo to help me with this task?
yoyo
Sure. I read it.
Here is what I found using yoyo.

Frequently asked questions

What is the yoyo MCP server used for?

yoyo is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use yoyo MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use yoyo with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use yoyo MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With yoyo connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect yoyo MCP to TypingMind?

yoyo runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does yoyo MCP provide in TypingMind?

yoyo exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use yoyo MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If yoyo requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇