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
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository29 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- build-infra/AGENTS.mdAGENTS.md
- task/AGENTS.mdAGENTS.md
- analyze-log-filesSkill
- analyze-performanceSkill
- audit-taskSkill
- batch-refactor-with-sub-agentsSkill
- check-bounds-safetySkill
- check-code-qualitySkill
- check-test-coverageSkill
- code-reviewSkill
- concurrency-safetySkill
- create-commit-messageSkill
- create-prSkill
- design-philosophySkill
- fast-string-allocationsSkill
- fix-issueSkill
- merge-prSkill
- organize-modulesSkill
- organize-testsSkill
- release-crateSkill
- remove-crate-prefixSkill
- review-prSkill
- run-clippySkill
- safe-renamingSkill
- test-cross-platformSkill
- write-documentationSkill
- write-structured-tracingSkill
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
- Distinctive: line 4
After making code changes, you must reinstall the binary for the changes to take effect in your AI agents / MCP clients.
- Distinctive: line 33
Always reinstall the binary when testing or modifying MCP server behavior
- Distinctive: line 37
When working on changes to this crate, follow this workflow:
≈ “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.
Files
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 forrust-analyzer
After Making Code Changes
Always run this command to install the updated binary:
cargo install --path . --forceOr from the workspace root:
cargo install --path rust-analyzer-mcp-server --force
# Or using the run script:
fish run.fish install-rust-analyzer-mcp-serverWhy This Matters
- The binaries in
~/.cargo/binare separate files from your source code - Running
cargo buildorcargo checkonly compiles code intarget/ - Without
cargo install, the old binary in~/.cargo/binwill 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:
- Make code changes
- Run tests to verify logic:
cargo test -p r3bl-rust-analyzer-mcp-server --all-targets - Run clippy:
cargo clippy -p r3bl-rust-analyzer-mcp-server --all-targets - Install the updated binary:
cargo install --path . --force
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
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.

