Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.0-devnet.2-patch.1`)
- **Version Support**: Clone specific Aztec release tags (e.g., `v4.2.0-aztecnr-rc.2`)
- **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 by section
Expand Down Expand Up @@ -57,14 +57,14 @@ Clones:

**Parameters:**

- `version` (string): Aztec version tag to clone (e.g., `v4.0.0-devnet.2-patch.1`). Defaults to latest supported version.
- `version` (string): Aztec version tag to clone (e.g., `v4.2.0-aztecnr-rc.2`). 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.0.0-devnet.2-patch.1" })
aztec_sync_repos({ version: "v4.2.0-aztecnr-rc.2" })
```

### `aztec_status`
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
version: {
type: "string",
description:
"Aztec version tag to clone (e.g., 'v4.0.0-devnet.2-patch.1'). Defaults to latest supported version.",
"Aztec version tag to clone (e.g., 'v4.2.0-aztecnr-rc.2'). Defaults to latest supported version.",
},
force: {
type: "boolean",
Expand Down
4 changes: 2 additions & 2 deletions src/repos/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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.0.0-devnet.2-patch.1";
export const DEFAULT_AZTEC_VERSION = process.env.AZTEC_DEFAULT_VERSION || "v4.2.0-aztecnr-rc.2";

/**
* Base Aztec repository configurations (without version)
Expand Down Expand Up @@ -131,7 +131,7 @@ const BASE_REPOS: Omit<RepoConfig, "tag">[] = [

/**
* Get Aztec repositories configured for a specific version
* @param version - The Aztec version tag (e.g., "v4.0.0-devnet.2-patch.1")
* @param version - The Aztec version tag (e.g., "v4.2.0-aztecnr-rc.2")
*/
export function getAztecRepos(version?: string): RepoConfig[] {
const tag = version || DEFAULT_AZTEC_VERSION;
Expand Down
2 changes: 1 addition & 1 deletion test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.0-devnet.2-patch.1",
version: "v4.2.0-aztecnr-rc.2",
force: true // Force re-clone to get all repos at the tag
});
console.log(` Success: ${syncResult.success}`);
Expand Down
Loading