Skip to main content

ragsharp-mcp-code-graph

Run the ragsharp MCP JSON-RPC server and issue graph commands (doctor/index/update/query/export) for Codex/agent integrations. Triggers: mcp, json-rpc, code graph, references, index, query, export.

Quellinformationen

Repository
managedcode/RagSharp
Letzte Quellaktivität
4. Januar 2026 um 07:32
Erkannte Sprache von SKILL.md
Englisch
Sterne
1
Forks
1

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
3 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
ragsharp-mcp-code-graph
description
Run the ragsharp MCP JSON-RPC server and issue graph commands (doctor/index/update/query/export) for Codex/agent integrations. Triggers: mcp, json-rpc, code graph, references, index, query, export.
## Steps 1. Start the MCP server: `ragsharp-mcp` (reads stdin, writes stdout). 2. Send JSON-RPC 2.0 requests, e.g. `{"jsonrpc":"2.0","id":1,"method":"doctor","params":{"root":"."}}`. 3. For indexing: `{"jsonrpc":"2.0","id":2,"method":"index","params":{"root":".","db": ".ragsharp/graph/index.db","state": ".ragsharp/graph/state.json"}}`. 4. For querying: `{"jsonrpc":"2.0","id":3,"method":"query","params":{"db": ".ragsharp/graph/index.db","type":"symbols","symbol":"Greeter","edgeKind":null,"limit":50}}`. 5. For export: `{"jsonrpc":"2.0","id":4,"method":"export","params":{"db": ".ragsharp/graph/index.db","format":"dot","output": ".ragsharp/graph/graph.dot"}}`. ## Expected Results - Server responds with JSON-RPC 2.0 responses containing `result` or `error`. - Indexing returns counts of nodes/edges and writes `.ragsharp/graph/index.db` and `state.json`. - Query returns `nodes` and `edges` matching filters (`type`, `symbol`, `kind`, `document`, `edgeKind`, `limit`, `contextLines`). - Export writes DOT or GEXF to the requested path.
Auf GitHub ansehen