From 78f6d8879fdb5e99dd3f69369748606030cd7d90 Mon Sep 17 00:00:00 2001 From: critesjosh Date: Tue, 23 Jun 2026 21:15:57 +0000 Subject: [PATCH 1/2] feat: update default Aztec version to v5.0.0-rc.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bump DEFAULT_AZTEC_VERSION from v4.3.0 to v5.0.0-rc.1 to match the version testnet is currently running. Verified via git ls-remote that the v5.0.0-rc.1 tag exists on every version-tagged repo (aztec-packages, aztec-examples, aztec-starter, demo-wallet). The versioned-docs sparse path resolves to docs/developer_versioned_docs/version-v5.0.0-rc.1, which exists on the `next` branch (alongside version-v4.3.1 — note the old v4.3.0 default pointed at a directory that no longer exists there). Also updated the JSDoc, tool description, and README examples for consistency. Co-Authored-By: Claude Opus 4.8 (1M context) --- README.md | 8 ++++---- src/index.ts | 2 +- src/repos/config.ts | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3661d4f..f577071 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ An MCP (Model Context Protocol) server that provides local access to Aztec docum ## Features -- **Version Support**: Clone specific Aztec release tags (e.g., `v4.3.0`) +- **Version Support**: Clone specific Aztec release tags (e.g., `v5.0.0-rc.1`) - **Local Repository Cloning**: Automatically clones Aztec repositories with sparse checkout for efficiency - **Fast Code Search**: Search Noir contracts and TypeScript files using ripgrep (with fallback) - **Documentation Search**: Search Aztec documentation locally; with an API key, semantic vector search across the full corpora (framework docs, examples, Noir stdlib, TypeScript SDK, protocol circuits) @@ -73,7 +73,7 @@ Add to your `.mcp.json`. The minimal config is just the command; add `env.API_KE | `API_KEY` | unset | Personal API key from `/mcp-key` in the Noir Discord (). Unset → local-only mode. | | `API_URL` | `https://aztec.adjacentpossible.dev` | DocsGPT backend the semantic search hits. Override to point at a self-hosted instance. | | `REQUEST_TIMEOUT` | `60000` | Semantic-search request timeout (ms). | -| `AZTEC_DEFAULT_VERSION` | `v4.3.0` | Default version tag for `aztec_sync_repos`. | +| `AZTEC_DEFAULT_VERSION` | `v5.0.0-rc.1` | Default version tag for `aztec_sync_repos`. | | `AZTEC_MCP_REPOS_DIR` | `~/.aztec-mcp/repos/` | Where local clones live. | ## Available Tools @@ -91,14 +91,14 @@ Clones: **Parameters:** -- `version` (string): Aztec version tag to clone (e.g., `v4.3.0`). Defaults to latest supported version. +- `version` (string): Aztec version tag to clone (e.g., `v5.0.0-rc.1`). Defaults to latest supported version. - `force` (boolean): Force re-clone even if repos exist - `repos` (string[]): Specific repos to sync **Example - Clone specific version:** ``` -aztec_sync_repos({ version: "v4.3.0" }) +aztec_sync_repos({ version: "v5.0.0-rc.1" }) ``` ### `aztec_status` diff --git a/src/index.ts b/src/index.ts index 6fbb473..d55f060 100644 --- a/src/index.ts +++ b/src/index.ts @@ -225,7 +225,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => { version: { type: "string", description: - "Aztec version tag to clone (e.g., 'v4.3.0'). Defaults to latest supported version.", + "Aztec version tag to clone (e.g., 'v5.0.0-rc.1'). Defaults to latest supported version.", }, force: { type: "boolean", diff --git a/src/repos/config.ts b/src/repos/config.ts index 37cabaf..f7ec997 100644 --- a/src/repos/config.ts +++ b/src/repos/config.ts @@ -31,7 +31,7 @@ export interface RepoConfig { } /** Default Aztec version (tag) to use - can be overridden via AZTEC_DEFAULT_VERSION env var */ -export const DEFAULT_AZTEC_VERSION = process.env.AZTEC_DEFAULT_VERSION || "v4.3.0"; +export const DEFAULT_AZTEC_VERSION = process.env.AZTEC_DEFAULT_VERSION || "v5.0.0-rc.1"; /** * Base Aztec repository configurations (without version) @@ -134,7 +134,7 @@ const BASE_REPOS: Omit[] = [ /** * Get Aztec repositories configured for a specific version - * @param version - The Aztec version tag (e.g., "v4.3.0") + * @param version - The Aztec version tag (e.g., "v5.0.0-rc.1") */ export function getAztecRepos(version?: string): RepoConfig[] { const tag = version || DEFAULT_AZTEC_VERSION; From 485f70e5ea3ddc47e1e1ec305504d4e65ee1b5c7 Mon Sep 17 00:00:00 2001 From: critesjosh Date: Tue, 23 Jun 2026 21:23:25 +0000 Subject: [PATCH 2/2] fix: bump remaining v4.3.0 reference in test.mjs smoke script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Caught in Codex review — the manual smoke script (not wired into CI) still pinned v4.3.0. Co-Authored-By: Claude Opus 4.8 (1M context) --- test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.mjs b/test.mjs index 940f456..7036c50 100644 --- a/test.mjs +++ b/test.mjs @@ -23,7 +23,7 @@ async function test() { // Test 2: Sync repos (this will take a while) console.log("2. Syncing repositories (this may take a few minutes)..."); const syncResult = await syncRepos({ - version: "v4.3.0", + version: "v5.0.0-rc.1", force: true // Force re-clone to get all repos at the tag }); console.log(` Success: ${syncResult.success}`);