Files
fil/docs/snippets/r/mcp/mcp_server_start.md
Henrik Jess Nielsen b4c07d3693
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s
Nomad changes
2026-06-01 23:40:55 +02:00

12 lines
508 B
Markdown

```r title="R"
# The kreuzberg R bindings do not embed an MCP server: MCP is provided by the
# kreuzberg CLI (Rust binary). Spawn it from the same R session that uses the
# kreuzberg package for in-process extraction.
status <- system2("kreuzberg", args = "mcp", stdout = "", stderr = "")
if (status != 0L) {
stop(sprintf("MCP server exited with status %d", status))
}
```
<!-- snippet:syntax-only --> The R bindings expose extraction primitives only; MCP transport requires the standalone kreuzberg CLI.