Skip to content

Commit f6d5be9

Browse files
authored
Merge branch 'main' into fix/fetch-package
2 parents 056daf3 + 9bd93fc commit f6d5be9

File tree

8 files changed

+746
-121
lines changed

8 files changed

+746
-121
lines changed

README.md

Lines changed: 75 additions & 0 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 650 additions & 96 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/filesystem/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,16 @@ Node.js server implementing Model Context Protocol (MCP) for filesystem operatio
4141
- Features:
4242
- Line-based and multi-line content matching
4343
- Whitespace normalization with indentation preservation
44-
- Fuzzy matching with confidence scoring
4544
- Multiple simultaneous edits with correct positioning
4645
- Indentation style detection and preservation
4746
- Git-style diff output with context
4847
- Preview changes with dry run mode
49-
- Failed match debugging with confidence scores
5048
- Inputs:
5149
- `path` (string): File to edit
5250
- `edits` (array): List of edit operations
5351
- `oldText` (string): Text to search for (can be substring)
5452
- `newText` (string): Text to replace with
5553
- `dryRun` (boolean): Preview changes without applying (default: false)
56-
- `options` (object): Optional formatting settings
57-
- `preserveIndentation` (boolean): Keep existing indentation (default: true)
58-
- `normalizeWhitespace` (boolean): Normalize spaces while preserving structure (default: true)
59-
- `partialMatch` (boolean): Enable fuzzy matching (default: true)
6054
- Returns detailed diff and match information for dry runs, otherwise applies changes
6155
- Best Practice: Always use dryRun first to preview changes before applying them
6256

src/filesystem/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const allowedDirectories = args.map(dir =>
4242
// Validate that all directories exist and are accessible
4343
await Promise.all(args.map(async (dir) => {
4444
try {
45-
const stats = await fs.stat(dir);
45+
const stats = await fs.stat(expandHome(dir));
4646
if (!stats.isDirectory()) {
4747
console.error(`Error: ${dir} is not a directory`);
4848
process.exit(1);

src/git/uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/github/common/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export const GitHubLabelSchema = z.object({
157157
name: z.string(),
158158
color: z.string(),
159159
default: z.boolean(),
160-
description: z.string().optional(),
160+
description: z.string().nullable().optional(),
161161
});
162162

163163
export const GitHubMilestoneSchema = z.object({

src/mssql-mcp

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/redis/package.json

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,31 @@
11
{
2-
"name": "redis",
3-
"version": "1.0.0",
4-
"main": "index.js",
2+
"name": "@modelcontextprotocol/server-redis",
3+
"version": "0.1.0",
4+
"description": "MCP server for using Redis",
5+
"license": "MIT",
6+
"author": "Anthropic, PBC (https://anthropic.com)",
7+
"homepage": "https://modelcontextprotocol.io",
8+
"bugs": "https://github.com/modelcontextprotocol/servers/issues",
59
"type": "module",
610
"bin": {
711
"redis": "./build/index.js"
812
},
9-
"scripts": {
10-
"build": "tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\""
11-
},
1213
"files": [
1314
"build"
1415
],
15-
"keywords": [],
16-
"author": "",
17-
"license": "ISC",
18-
"description": "",
19-
"devDependencies": {
20-
"@types/node": "^22.10.2",
21-
"typescript": "^5.7.2"
16+
"scripts": {
17+
"build": "tsc && shx chmod +x build/*.js",
18+
"prepare": "npm run build",
19+
"watch": "tsc --watch"
2220
},
2321
"dependencies": {
24-
"@modelcontextprotocol/sdk": "^0.4.0",
22+
"@modelcontextprotocol/sdk": "^1.7.0",
23+
"@types/node": "^22.10.2",
2524
"@types/redis": "^4.0.10",
2625
"redis": "^4.7.0"
26+
},
27+
"devDependencies": {
28+
"shx": "^0.3.4",
29+
"typescript": "^5.7.2"
2730
}
2831
}

0 commit comments

Comments
 (0)