Skip to content

Commit d17ed01

Browse files
feat: pkgx
1 parent 39727aa commit d17ed01

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed

pkgx/pkgx.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dependencies:
2+
pkgx.sh/brewkit: ^0 || ^1
3+
4+
env:
5+
PKGX_PANTRY_PATH: ${{srcroot}}
6+
PKGX_PANTRY_DIR: ${{srcroot}}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
distributable:
2+
url: https://github.com/promptexecution/rust-cargo-docs-rag-mcp/archive/refs/tags/{{ version.tag }}.tar.gz
3+
strip-components: 1
4+
5+
versions:
6+
github: promptexecution/rust-cargo-docs-rag-mcp
7+
8+
dependencies:
9+
openssl.org: '>=1.1'
10+
11+
build:
12+
dependencies:
13+
rust-lang.org: '>=1.91'
14+
rust-lang.org/cargo: '*'
15+
script:
16+
- cargo install --locked \
17+
--root={{ prefix }} \
18+
--path=. \
19+
--bin cratedocs
20+
21+
provides:
22+
- bin/cratedocs
23+
24+
test:
25+
- cratedocs version | grep {{version}}

server.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
3+
"name": "io.github.promptexecution/rust-cargo-docs-rag-mcp",
4+
"title": "Rust Cargo Docs RAG",
5+
"description": "Lookup Rust crate and item documentation via docs.rs and crates.io search.",
6+
"websiteUrl": "https://github.com/promptexecution/rust-cargo-docs-rag-mcp",
7+
"repository": {
8+
"url": "https://github.com/promptexecution/rust-cargo-docs-rag-mcp",
9+
"source": "github"
10+
},
11+
"version": "0.3.0",
12+
"packages": [
13+
{
14+
"registryType": "oci",
15+
"identifier": "ghcr.io/promptexecution/rust-cargo-docs-rag-mcp:0.3.0",
16+
"runtimeHint": "docker",
17+
"transport": {
18+
"type": "stdio"
19+
},
20+
"environmentVariables": [
21+
{
22+
"name": "CRATEDOCS_MODE",
23+
"value": "stdio",
24+
"description": "Ensure the container exposes the MCP stdio transport when run by clients."
25+
}
26+
]
27+
}
28+
]
29+
}

0 commit comments

Comments
 (0)