diff --git a/Cargo.lock b/Cargo.lock index ec94f5c..67d7297 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1399,7 +1399,7 @@ checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" [[package]] name = "oxcode-cli" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "assert_cmd", @@ -1416,7 +1416,7 @@ dependencies = [ [[package]] name = "oxcode-core" -version = "0.2.0" +version = "0.3.0" dependencies = [ "ignore", "oxcode-model", @@ -1451,7 +1451,7 @@ dependencies = [ [[package]] name = "oxcode-model" -version = "0.2.0" +version = "0.3.0" dependencies = [ "serde", "serde_json", diff --git a/README.md b/README.md index a4fddda..d5e4603 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,24 @@ oxgraph marketplace — it wires up the MCP server for you: The plugin still needs the `oxcode` binary on your `PATH` and an indexed project (steps 1–2). See [`claude-plugin/README.md`](claude-plugin/README.md). +#### Other MCP clients (registry / npm) + +oxcode is listed in the official [MCP Registry](https://registry.modelcontextprotocol.io) +as `io.github.snowmead/oxcode`, so registry-aware clients can discover it. For +clients that prefer an `npx` launch command there's also an npm package: + +```json +{ + "mcpServers": { + "oxcode": { "command": "npx", "args": ["-y", "@snowmead/oxcode-mcp"] } + } +} +``` + +`@snowmead/oxcode-mcp` is a thin wrapper that runs `oxcode mcp`, so it still needs +the `oxcode` binary on your `PATH` (step 1) — if you have it, `command: "oxcode"` +above is the simpler config. + ## How Indexing Works 1. **Extraction** — tree-sitter parses each source file into a syntax tree. A diff --git a/claude-plugin/README.md b/claude-plugin/README.md index 8d8174d..3988a0a 100644 --- a/claude-plugin/README.md +++ b/claude-plugin/README.md @@ -64,6 +64,12 @@ Via the oxgraph marketplace: On install you'll be asked to approve the `oxcode` MCP server (same per-server approval as a project `.mcp.json`). +**Not on Claude Code?** oxcode is also in the official +[MCP Registry](https://registry.modelcontextprotocol.io) as +`io.github.snowmead/oxcode`, and an npm launcher (`@snowmead/oxcode-mcp`, run via +`npx -y @snowmead/oxcode-mcp`) is available for other MCP clients — both run the +same `oxcode mcp` binary, so the PATH prerequisite below still applies. + ### Local testing To try the plugin straight from a checkout without going through the diff --git a/crates/oxcode-cli/Cargo.toml b/crates/oxcode-cli/Cargo.toml index f402698..1a089cc 100644 --- a/crates/oxcode-cli/Cargo.toml +++ b/crates/oxcode-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxcode-cli" -version = "0.2.0" +version = "0.3.0" description = "Index source code into a graph and serve it to coding agents — `oxcode` CLI." categories = ["development-tools", "command-line-utilities"] readme = "README.md" @@ -23,7 +23,7 @@ path = "src/main.rs" anyhow.workspace = true axoupdater.workspace = true clap.workspace = true -oxcode-core = { path = "../oxcode-core", version = "0.2.0" } +oxcode-core = { path = "../oxcode-core", version = "0.3.0" } rmcp.workspace = true serde.workspace = true serde_json.workspace = true diff --git a/crates/oxcode-core/Cargo.toml b/crates/oxcode-core/Cargo.toml index f82dfbe..a402ece 100644 --- a/crates/oxcode-core/Cargo.toml +++ b/crates/oxcode-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxcode-core" -version = "0.2.0" +version = "0.3.0" description = "OxGraph-native code indexing and navigation engine." categories = ["development-tools"] readme = "README.md" @@ -15,7 +15,7 @@ rust-version.workspace = true [dependencies] ignore.workspace = true -oxcode-model = { path = "../oxcode-model", version = "0.2.0" } +oxcode-model = { path = "../oxcode-model", version = "0.3.0" } oxgraph.workspace = true serde.workspace = true serde_json.workspace = true diff --git a/crates/oxcode-model/Cargo.toml b/crates/oxcode-model/Cargo.toml index b7cd3ca..7824c40 100644 --- a/crates/oxcode-model/Cargo.toml +++ b/crates/oxcode-model/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxcode-model" -version = "0.2.0" +version = "0.3.0" description = "Storage-neutral code graph model types for oxcode." categories = ["development-tools"] readme = "README.md"