From 835103e52514bd41f24f90ddd4bf5da4fd7c78d4 Mon Sep 17 00:00:00 2001 From: Dave Adams Date: Sat, 11 Jul 2026 19:39:54 -0400 Subject: [PATCH] chore: add graph-aware code retrieval MCPs --- .codex/config.toml | 12 ++++++++++++ .gitignore | 1 + .mcp.json | 17 +++++++++++++++++ AGENTS.md | 18 ++++++++++++++++++ CLAUDE.md | 1 + 5 files changed, 49 insertions(+) create mode 100644 .codex/config.toml create mode 100644 .gitignore create mode 100644 .mcp.json create mode 100644 AGENTS.md create mode 100644 CLAUDE.md diff --git a/.codex/config.toml b/.codex/config.toml new file mode 100644 index 0000000..9cc0f4c --- /dev/null +++ b/.codex/config.toml @@ -0,0 +1,12 @@ +[mcp_servers.codebase-memory-mcp] +command = "/opt/homebrew/bin/codebase-memory-mcp" +startup_timeout_sec = 30 +tool_timeout_sec = 120 + +[mcp_servers.workspace-code-rag] +command = "/Users/dave/Workspace/repos/workspace-code-rag-mcp/.venv/bin/workspace-code-rag-mcp" +startup_timeout_sec = 30 +tool_timeout_sec = 120 + +[mcp_servers.workspace-code-rag.env] +CODE_RAG_PROJECT_ROOT = "/Users/dave/Workspace/repos/rollthepic" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..91c9dd0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.codebase-memory/ diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 0000000..ab4ec98 --- /dev/null +++ b/.mcp.json @@ -0,0 +1,17 @@ +{ + "mcpServers": { + "codebase-memory-mcp": { + "type": "stdio", + "command": "/opt/homebrew/bin/codebase-memory-mcp", + "args": [] + }, + "workspace-code-rag": { + "type": "stdio", + "command": "/Users/dave/Workspace/repos/workspace-code-rag-mcp/.venv/bin/workspace-code-rag-mcp", + "args": [], + "env": { + "CODE_RAG_PROJECT_ROOT": "/Users/dave/Workspace/repos/rollthepic" + } + } + } +} diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..e6b589c --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,18 @@ +# Repository guidance + +This is currently a tiny placeholder/early-stage repository. Do not infer a +product architecture or deployment path until the owner defines one. + +## Code discovery + +- Inspect available MCP servers before broad repository exploration. +- Use `workspace-code-rag` first for natural-language code questions and + `codebase-memory-mcp` for structure, symbols, and change impact. +- Index this repository when source is added. Use text search only for exact + literals or when graph tools are unavailable, and verify findings in source. + +## Safety + +- Do not add dependencies, deployment infrastructure, or product behavior based + only on the current placeholder file. +- Never publish an image or deploy without explicit approval. diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..43c994c --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +@AGENTS.md