agentleFS
r3bl-orgr3bl-org/r3bl-open-core/rust-analyzer-mcp-server/AGENTS.md

r3bl-open-core / rust-analyzer-mcp-server

AGENTS.md485 starsChanged 2 months agoApache-2.0View on GitHub

This crate provides the rust-analyzer-mcp-server MCP binary for the R3BL workspace. After making code changes, you must reinstall the binary for the changes to take effect in your AI agents / MCP clients. This crate provides a command-line MCP server binary installed to ~/.cargo/bin: Always run this command to install the updated binary: Or from the workspace root: When working on changes to this crate, follow this workflow:

  • Installs packages

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After making code changes, you must reinstall the binary for the changes to take effect in your AI agents / MCP clients.

    line 4
  2. Distinctive:

    Always reinstall the binary when testing or modifying MCP server behavior

    line 33
  3. Distinctive:

    When working on changes to this crate, follow this workflow:

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Claude Code & Antigravity Instructions for r3bl-rust-analyzer-mcp-server

This crate provides the rust-analyzer-mcp-server MCP binary for the R3BL workspace. After making code changes, you must reinstall the binary for the changes to take effect in your AI agents / MCP clients.

Important: Binary Installation Workflow

This crate provides a command-line MCP server binary installed to ~/.cargo/bin:

  • rust-analyzer-mcp-server: Model Context Protocol server bridge for rust-analyzer

After Making Code Changes

Always run this command to install the updated binary:

cargo install --path . --force

Or from the workspace root:

cargo install --path rust-analyzer-mcp-server --force
# Or using the run script:
fish run.fish install-rust-analyzer-mcp-server

Why This Matters

  • The binaries in ~/.cargo/bin are separate files from your source code
  • Running cargo build or cargo check only compiles code in target/
  • Without cargo install, the old binary in ~/.cargo/bin will continue to be executed by MCP hosts
  • Always reinstall the binary when testing or modifying MCP server behavior

Testing Workflow

When working on changes to this crate, follow this workflow:

  1. Make code changes
  2. Run tests to verify logic:
    cargo test -p r3bl-rust-analyzer-mcp-server --all-targets
  3. Run clippy:
    cargo clippy -p r3bl-rust-analyzer-mcp-server --all-targets
  4. Install the updated binary:
    cargo install --path . --force

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.