diff --git a/README.md b/README.md index 8f720a2..3661d4f 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.2.0`) +- **Version Support**: Clone specific Aztec release tags (e.g., `v4.3.0`) - **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.2.0-aztecnr-rc.2` | Default version tag for `aztec_sync_repos`. | +| `AZTEC_DEFAULT_VERSION` | `v4.3.0` | 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.2.0`). Defaults to latest supported version. +- `version` (string): Aztec version tag to clone (e.g., `v4.3.0`). 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.2.0" }) +aztec_sync_repos({ version: "v4.3.0" }) ``` ### `aztec_status` diff --git a/src/index.ts b/src/index.ts index 7489e55..6fbb473 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.2.0'). Defaults to latest supported version.", + "Aztec version tag to clone (e.g., 'v4.3.0'). Defaults to latest supported version.", }, force: { type: "boolean", diff --git a/src/repos/config.ts b/src/repos/config.ts index ea300ad..37cabaf 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.2.0"; +export const DEFAULT_AZTEC_VERSION = process.env.AZTEC_DEFAULT_VERSION || "v4.3.0"; /** * 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.2.0") + * @param version - The Aztec version tag (e.g., "v4.3.0") */ export function getAztecRepos(version?: string): RepoConfig[] { const tag = version || DEFAULT_AZTEC_VERSION; diff --git a/test.mjs b/test.mjs index 92595c0..940f456 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.2.0", + version: "v4.3.0", force: true // Force re-clone to get all repos at the tag }); console.log(` Success: ${syncResult.success}`);