Skip to content

Commit 30545c1

Browse files
example with stdio
1 parent 1e287a7 commit 30545c1

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,27 @@ Example:
141141

142142
This server implements the Model Context Protocol (MCP) which allows it to be easily integrated with LLM clients that support the protocol. For more information about MCP, visit [the MCP repository](https://github.com/modelcontextprotocol/mcp).
143143

144-
### VScode MCP, RooCode example
144+
### Vscode MCP, RooCode local example
145+
146+
```bash
147+
# compile & install cratedocs in ~/.cargo/bin
148+
cargo install --path .
149+
```
150+
in `mcp_settings.json`
151+
```json
152+
{
153+
"mcpServers":{
154+
"rust-crate-local": {
155+
"command": "cratedocs",
156+
"args": [
157+
"stdio"
158+
],
159+
}
160+
}
161+
}
162+
```
163+
164+
### VScode MCP, RooCode hosted example
145165

146166
```json
147167
// Roo Code, use bunx or npx, sessionId=

0 commit comments

Comments
 (0)