Skip to content

Rewrite your app in Rust, piece by piece, checked against the original at every step. Works with TypeScript, JavaScript, Python, Go, Ruby, Java, C, PHP, C#, Kotlin, PowerShell and Swift.

website: OpenCode and every MCP tool on the agent setup pages (#1288)

jakalijey058ff9d11250
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 12a28b6c..1d128cd8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,9 @@
## Unreleased
+- The website's agent setup and quick start pages name OpenCode with the other four agents, the
+ "Works with" table has an OpenCode row, and the MCP server paragraph names every tool
+ `rust-anything mcp` lists, which `tests/skill.rs` now checks (#1264 by @jakalijey).
- `llms.txt` and the "What is rust-anything" page name all eleven languages, split into Verified
and Tested as the README does, with no "preview", and the page lists OpenCode with the other
agents (#1266 by @jakalijey).
diff --git a/tests/skill.rs b/tests/skill.rs
index f79b2a7b..6640d3a9 100644
--- a/tests/skill.rs
+++ b/tests/skill.rs
@@ -230,6 +230,25 @@ fn the_skill_names_every_tool_the_mcp_server_lists() {
);
}
+#[test]
+fn the_agents_page_names_every_tool_the_mcp_server_lists() {
+ let page = std::fs::read_to_string(
+ PathBuf::from(env!("CARGO_MANIFEST_DIR"))
+ .join("website/pages/en/docs/introduction/agents.md"),
+ )
+ .unwrap();
+ let names = mcp_tool_names();
+ assert!(names.len() > 20, "tools/list gave {names:?}");
+ let missing: Vec<&String> = names
+ .iter()
+ .filter(|n| !page.contains(&format!("`{n}`")))
+ .collect();
+ assert!(
+ missing.is_empty(),
+ "website/pages/en/docs/introduction/agents.md does not name these MCP tools: {missing:?}"
+ );
+}
+
#[test]
fn the_languages_shadow_refuses_are_named_where_the_docs_tell_you_to_run_it() {
let dir = std::env::temp_dir().join(format!("ra-shadow-refusals-{}", std::process::id()));
diff --git a/website/pages/en/docs/introduction/agents.md b/website/pages/en/docs/introduction/agents.md
index 2b4857e5..d4a839aa 100644
--- a/website/pages/en/docs/introduction/agents.md
+++ b/website/pages/en/docs/introduction/agents.md
@@ -1,6 +1,6 @@
---
title: Set up your agent
-description: rust-anything setup registers the MCP server and the workflow skill with Claude Code, Codex, Cursor and Gemini CLI.
+description: rust-anything setup registers the MCP server and the workflow skill with Claude Code, Codex, Cursor, Gemini CLI and OpenCode.
---
# Set up your agent
@@ -19,6 +19,7 @@ rust-anything setup
| Codex | MCP server in `~/.codex/config.toml`, skill in `~/.codex/skills/` |
| Cursor | MCP server in `~/.cursor/mcp.json` |
| Gemini CLI | MCP server in `~/.gemini/settings.json` |
+| OpenCode | MCP server in `~/.config/opencode/opencode.json`, skill in `~/.config/opencode/skills/` |
| Any other MCP client | add `rust-anything mcp` as a stdio server by hand (below) |
**Community integrations** (not maintained by Rust Anything): [dsh-rust-anything](https://github.com/lonyness/dsh-rust-anything) by [@lonyness](https://github.com/lonyness) runs Rust Anything inside DeepSeek Harness. It ships its own pinned copy of the engine (currently 3.3.0).
@@ -27,7 +28,7 @@ Before changing a file that exists, `setup` saves a copy beside it (`<file>.rust
## The MCP server
-`rust-anything mcp` serves every step as an MCP tool over stdio: `profile`, `analyze`, `bridge`, `refresh`, `record`, `build`, `diff`, `bench`, `shadow`, `gate`, and for a whole app `app_record`, `app_replay`, `app_front_door`, `app_wire`, `app_lift`. Every tool, its parameters and what it may touch: [MCP tools](/docs/reference/mcp-tools). The server also offers two prompts, `port_unit` and `port_whole_app`, built from the skill.
+`rust-anything mcp` serves every step as an MCP tool over stdio: `go`, `profile`, `analyze`, `bridge`, `refresh`, `record`, `build`, `diff`, `bench`, `shadow`, `gate`, `enable`, `disable`, `report`, `rules`, `fuzz`, `map`, `log`, `package` and `selftest`; for a whole app `app_record`, `app_replay`, `app_front_door`, `app_wire`, `app_lift` and `app_drift`; for the obligation registry `obligations`, `obligations_check` and `obligations_fallbacks`; and for a new app `new` and `spec_check`. Every tool, its parameters and what it may touch: [MCP tools](/docs/reference/mcp-tools). The server also offers two prompts, `port_unit` and `port_whole_app`, built from the skill.
To add the MCP server to one project by hand instead:
diff --git a/website/pages/en/docs/introduction/quick-start.md b/website/pages/en/docs/introduction/quick-start.md
index db72dc14..08efdfbc 100644
--- a/website/pages/en/docs/introduction/quick-start.md
+++ b/website/pages/en/docs/introduction/quick-start.md
@@ -7,7 +7,7 @@ description: Install rust-anything, register it with your coding agent, and run
## Let your agent install it
-Paste this into Claude Code, Codex, Cursor or Gemini CLI:
+Paste this into Claude Code, Codex, Cursor, Gemini CLI or OpenCode:
```text
Install rust-anything: run `cargo install rust-anything`, then `rust-anything setup`.
@@ -20,7 +20,7 @@ Tell me when to restart you.
== cargo
```sh
cargo install rust-anything # from crates.io
-rust-anything setup # registers it with Claude Code, Codex, Cursor and Gemini CLI
+rust-anything setup # registers it with Claude Code, Codex, Cursor, Gemini CLI and OpenCode
```
== npm
```sh