Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -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
Expand Down
6 changes: 6 additions & 0 deletions claude-plugin/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -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
Expand Down
4 changes: 2 additions & 2 deletions crates/oxcode-cli/Cargo.toml
Original file line numberDiff line numberDiff line change
@@ -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"
Expand All@@ -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
Expand Down
4 changes: 2 additions & 2 deletions crates/oxcode-core/Cargo.toml
Original file line numberDiff line numberDiff line change
@@ -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"
Expand All@@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/oxcode-model/Cargo.toml
Original file line numberDiff line numberDiff line change
@@ -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"
Expand Down