skydeckai-code 0.1.34__tar.gz → 0.1.36__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/PKG-INFO +39 -154
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/README.md +37 -151
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/pyproject.toml +2 -3
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/__init__.py +2 -64
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/code_execution.py +5 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/code_tools.py +63 -23
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/file_tools.py +54 -65
- skydeckai_code-0.1.34/src/aidd/tools/git_tools.py +0 -774
- skydeckai_code-0.1.34/src/aidd/tools/lint_tools.py +0 -590
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/.gitignore +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/Dockerfile +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/LICENSE +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/screenshots/skydeck_ai_helper.png +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/smithery.yaml +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/__init__.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/__init__.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/cli.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/server.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/base.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/code_analysis.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/directory_tools.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/get_active_apps_tool.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/get_available_windows_tool.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/image_tools.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/other_tools.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/path_tools.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/screenshot_tool.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/state.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/system_tools.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/src/aidd/tools/web_tools.py +0 -0
- {skydeckai_code-0.1.34 → skydeckai_code-0.1.36}/uv.lock +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: skydeckai-code
|
3
|
-
Version: 0.1.
|
4
|
-
Summary: This MCP server provides a comprehensive set of tools for AI-driven Development workflows including file operations, code analysis,
|
3
|
+
Version: 0.1.36
|
4
|
+
Summary: This MCP server provides a comprehensive set of tools for AI-driven Development workflows including file operations, code analysis, multi-language execution, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, and system information retrieval.
|
5
5
|
Project-URL: Homepage, https://github.com/skydeckai/skydeckai-code
|
6
6
|
Project-URL: Repository, https://github.com/skydeckai/skydeckai-code
|
7
7
|
Project-URL: Documentation, https://github.com/skydeckai/skydeckai-code/blob/main/README.md
|
@@ -11,7 +11,6 @@ License-File: LICENSE
|
|
11
11
|
Keywords: ai,aidd,code,code-analysis,development,mcp
|
12
12
|
Requires-Python: >=3.11
|
13
13
|
Requires-Dist: beautifulsoup4>=4.13.3
|
14
|
-
Requires-Dist: gitpython>=3.1.44
|
15
14
|
Requires-Dist: html2text>=2025.4.15
|
16
15
|
Requires-Dist: mcp>=1.6.0
|
17
16
|
Requires-Dist: mss>=10.0.0
|
@@ -36,7 +35,7 @@ Description-Content-Type: text/markdown
|
|
36
35
|
|
37
36
|
# SkyDeckAI Code
|
38
37
|
|
39
|
-
An MCP server that provides a comprehensive set of tools for AI-driven development workflows. Features include file system operations, code analysis using tree-sitter for multiple programming languages,
|
38
|
+
An MCP server that provides a comprehensive set of tools for AI-driven development workflows. Features include file system operations, code analysis using tree-sitter for multiple programming languages, code execution, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, and system information retrieval. Designed to enhance AI's capability to assist in software development tasks by providing direct access to both local and remote resources.
|
40
39
|
|
41
40
|
# Formerly Known As MCP-Server-AIDD
|
42
41
|
|
@@ -80,7 +79,6 @@ If you're using SkyDeck AI Helper app, you can search for "SkyDeckAI Code" and i
|
|
80
79
|
- Code linting and issue detection for Python and JavaScript/TypeScript
|
81
80
|
- Code content searching with regex pattern matching
|
82
81
|
- Multi-language code execution with safety measures
|
83
|
-
- Git operations (status, diff, commit, branch management, cloning)
|
84
82
|
- Web content fetching from APIs and websites with HTML-to-markdown conversion
|
85
83
|
- Multi-engine web search with reliable fallback mechanisms
|
86
84
|
- Batch operations for parallel and serial tool execution
|
@@ -92,27 +90,32 @@ If you're using SkyDeck AI Helper app, you can search for "SkyDeckAI Code" and i
|
|
92
90
|
|
93
91
|
### Basic File Operations
|
94
92
|
|
95
|
-
| Tool
|
96
|
-
|
|
97
|
-
| read_file
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
| get_file_info | path: string | File metadata (size, timestamps, permissions) |
|
93
|
+
| Tool | Parameters | Returns |
|
94
|
+
| ------------- | ---------------------------------------------------------- | --------------------------------------------- |
|
95
|
+
| read_file | files: [{path: string, offset?: integer, limit?: integer}] | File content (single or multiple files) |
|
96
|
+
| write_file | path: string, content: string | Success confirmation |
|
97
|
+
| move_file | source: string, destination: string | Success confirmation |
|
98
|
+
| copy_file | source: string, destination: string, recursive?: boolean | Success confirmation |
|
99
|
+
| delete_file | path: string | Success confirmation |
|
100
|
+
| get_file_info | path: string | File metadata (size, timestamps, permissions) |
|
104
101
|
|
105
102
|
Common usage:
|
106
103
|
|
107
104
|
```bash
|
108
105
|
# Read entire file
|
109
|
-
skydeckai-code-cli --tool read_file --args '{"path": "src/main.py"}'
|
106
|
+
skydeckai-code-cli --tool read_file --args '{"files": [{"path": "src/main.py"}]}'
|
110
107
|
|
111
108
|
# Read 10 lines starting from line 20
|
112
|
-
skydeckai-code-cli --tool read_file --args '{"path": "src/main.py", "offset": 20, "limit": 10}'
|
109
|
+
skydeckai-code-cli --tool read_file --args '{"files": [{"path": "src/main.py", "offset": 20, "limit": 10}]}'
|
113
110
|
|
114
111
|
# Read from line 50 to the end of the file
|
115
|
-
skydeckai-code-cli --tool read_file --args '{"path": "src/main.py", "offset": 50}'
|
112
|
+
skydeckai-code-cli --tool read_file --args '{"files": [{"path": "src/main.py", "offset": 50}]}'
|
113
|
+
|
114
|
+
# Read multiple files with different line ranges
|
115
|
+
skydeckai-code-cli --tool read_file --args '{"files": [
|
116
|
+
{"path": "src/main.py", "offset": 1, "limit": 10},
|
117
|
+
{"path": "README.md"}
|
118
|
+
]}'
|
116
119
|
|
117
120
|
# Write file
|
118
121
|
skydeckai-code-cli --tool write_file --args '{"path": "output.txt", "content": "Hello World"}'
|
@@ -183,69 +186,6 @@ skydeckai-code-cli --tool list_directory --args '{"path": "."}'
|
|
183
186
|
skydeckai-code-cli --tool search_files --args '{"pattern": ".py", "path": "src"}'
|
184
187
|
```
|
185
188
|
|
186
|
-
### Git Operations
|
187
|
-
|
188
|
-
| Tool | Parameters | Returns |
|
189
|
-
| ----------------- | ------------------------------------------------- | -------------------------------- |
|
190
|
-
| git_init | path: string, initial_branch?: string | Repository initialization status |
|
191
|
-
| git_status | repo_path: string | Working directory status |
|
192
|
-
| git_add | repo_path: string, files: string[] | Staging confirmation |
|
193
|
-
| git_reset | repo_path: string | Unstaging confirmation |
|
194
|
-
| git_checkout | repo_path: string, branch_name: string | Branch switch confirmation |
|
195
|
-
| git_create_branch | repo_path: string, branch_name: string | Branch creation confirmation |
|
196
|
-
| git_clone | url: string, target_path: string, branch?: string | Clone confirmation |
|
197
|
-
| git_diff_unstaged | repo_path: string | Unstaged changes diff |
|
198
|
-
| git_diff_staged | repo_path: string | Staged changes diff |
|
199
|
-
| git_show | repo_path: string, commit_hash: string | Details of a specific commit |
|
200
|
-
|
201
|
-
#### Complex Git Operations
|
202
|
-
|
203
|
-
##### git_commit
|
204
|
-
|
205
|
-
```json
|
206
|
-
{
|
207
|
-
"repo_path": ".",
|
208
|
-
"message": "feat: add new feature"
|
209
|
-
}
|
210
|
-
```
|
211
|
-
|
212
|
-
Returns: Commit hash and confirmation.
|
213
|
-
|
214
|
-
##### git_diff
|
215
|
-
|
216
|
-
```json
|
217
|
-
{
|
218
|
-
"repo_path": ".",
|
219
|
-
"target": "main"
|
220
|
-
}
|
221
|
-
```
|
222
|
-
|
223
|
-
Returns: Detailed diff output showing all changes between the current branch and the specified target branch or commit.
|
224
|
-
|
225
|
-
##### git_log
|
226
|
-
|
227
|
-
```json
|
228
|
-
{
|
229
|
-
"repo_path": ".",
|
230
|
-
"max_count": 10
|
231
|
-
}
|
232
|
-
```
|
233
|
-
|
234
|
-
Returns: Array of commit entries with hash, author, date, and message.
|
235
|
-
|
236
|
-
Common usage:
|
237
|
-
|
238
|
-
```bash
|
239
|
-
# Check status
|
240
|
-
skydeckai-code-cli --tool git_status --args '{"repo_path": "."}'
|
241
|
-
|
242
|
-
# Clone a repository
|
243
|
-
skydeckai-code-cli --tool git_clone --args '{"url": "https://github.com/username/repo.git", "target_path": "repo"}'
|
244
|
-
|
245
|
-
# Create and switch to new branch
|
246
|
-
skydeckai-code-cli --tool git_create_branch --args '{"repo_path": ".", "branch_name": "feature/new-branch"}'
|
247
|
-
```
|
248
|
-
|
249
189
|
### Code Analysis
|
250
190
|
|
251
191
|
#### codebase_mapper
|
@@ -269,8 +209,8 @@ Returns:
|
|
269
209
|
Supported Languages:
|
270
210
|
|
271
211
|
- Python (.py)
|
272
|
-
- JavaScript (.js
|
273
|
-
- TypeScript (.ts
|
212
|
+
- JavaScript (.js/.jsx, .mjs, .cjs)
|
213
|
+
- TypeScript (.ts/.tsx)
|
274
214
|
- Java (.java)
|
275
215
|
- C++ (.cpp, .hpp, .cc)
|
276
216
|
- Ruby (.rb, .rake)
|
@@ -280,71 +220,17 @@ Supported Languages:
|
|
280
220
|
- C# (.cs)
|
281
221
|
- Kotlin (.kt, .kts)
|
282
222
|
|
283
|
-
#### check_lint
|
284
|
-
|
285
|
-
Check for linting issues in your codebase using native linting tools:
|
286
|
-
|
287
|
-
```json
|
288
|
-
{
|
289
|
-
"path": "src",
|
290
|
-
"languages": ["python", "javascript"],
|
291
|
-
"linters": {
|
292
|
-
"pylint": "--disable=C0111",
|
293
|
-
"flake8": true,
|
294
|
-
"eslint": "--fix"
|
295
|
-
},
|
296
|
-
"max_issues": 100
|
297
|
-
}
|
298
|
-
```
|
299
|
-
|
300
|
-
**Parameters:**
|
301
|
-
| Parameter | Type | Required | Description |
|
302
|
-
|-----------|------|----------|-------------|
|
303
|
-
| path | string | No | Directory or file to lint (default: ".") |
|
304
|
-
| languages | array | No | List of languages to lint (auto-detects if empty) |
|
305
|
-
| linters | object | No | Configuration for specific linters - can use booleans or CLI arguments |
|
306
|
-
| max_issues | integer | No | Maximum number of issues to return (default: 100, 0 for unlimited) |
|
307
|
-
|
308
|
-
**Returns:**
|
309
|
-
A detailed report of linting issues found in the codebase, including file paths, line numbers, issue descriptions, and severity levels. Issues are grouped by file and sorted by severity.
|
310
|
-
|
311
|
-
**Supported Languages and Linters:**
|
312
|
-
|
313
|
-
- Python: pylint, flake8 (automatically uses what's available)
|
314
|
-
- JavaScript/TypeScript: ESLint
|
315
|
-
- Dart/Flutter: dart_analyze (also reports compilation errors)
|
316
|
-
|
317
223
|
**Example Usage:**
|
318
224
|
|
319
225
|
```bash
|
320
|
-
#
|
321
|
-
skydeckai-code-cli --tool
|
322
|
-
|
323
|
-
# Check specific directory with custom pylint flags
|
324
|
-
skydeckai-code-cli --tool check_lint --args '{
|
325
|
-
"path": "src",
|
326
|
-
"linters": {
|
327
|
-
"pylint": "--disable=missing-docstring,invalid-name"
|
328
|
-
}
|
329
|
-
}'
|
226
|
+
# Map the entire codebase structure
|
227
|
+
skydeckai-code-cli --tool codebase_mapper --args '{"path": "."}'
|
330
228
|
|
331
|
-
#
|
332
|
-
skydeckai-code-cli --tool
|
333
|
-
"path": "src",
|
334
|
-
"languages": ["python"],
|
335
|
-
"linters": {
|
336
|
-
"flake8": false
|
337
|
-
}
|
338
|
-
}'
|
229
|
+
# Map only the source directory
|
230
|
+
skydeckai-code-cli --tool codebase_mapper --args '{"path": "src"}'
|
339
231
|
|
340
|
-
#
|
341
|
-
skydeckai-code-cli --tool
|
342
|
-
"path": "lib",
|
343
|
-
"languages": ["dart"],
|
344
|
-
"linters": {
|
345
|
-
"dart_analyze": "--fatal-infos"
|
346
|
-
}
|
347
|
-
}'
|
232
|
+
# Map a specific component or module
|
233
|
+
skydeckai-code-cli --tool codebase_mapper --args '{"path": "src/components"}'
|
348
234
|
```
|
349
235
|
|
350
236
|
#### search_code
|
@@ -353,7 +239,7 @@ Fast content search tool using regular expressions:
|
|
353
239
|
|
354
240
|
```json
|
355
241
|
{
|
356
|
-
"
|
242
|
+
"patterns": ["function\\s+\\w+", "class\\s+\\w+"],
|
357
243
|
"include": "*.js",
|
358
244
|
"exclude": "node_modules/**",
|
359
245
|
"max_results": 50,
|
@@ -365,10 +251,10 @@ Fast content search tool using regular expressions:
|
|
365
251
|
**Parameters:**
|
366
252
|
| Parameter | Type | Required | Description |
|
367
253
|
|-----------|------|----------|-------------|
|
368
|
-
|
|
254
|
+
| patterns | array of strings | Yes | List of regular expression patterns to search for in file contents |
|
369
255
|
| include | string | No | File pattern to include (glob syntax, default: "\*") |
|
370
256
|
| exclude | string | No | File pattern to exclude (glob syntax, default: "") |
|
371
|
-
| max_results | integer | No | Maximum results to return (default: 100) |
|
257
|
+
| max_results | integer | No | Maximum results to return per pattern (default: 100) |
|
372
258
|
| case_sensitive | boolean | No | Whether search is case-sensitive (default: false) |
|
373
259
|
| path | string | No | Base directory to search from (default: ".") |
|
374
260
|
|
@@ -380,21 +266,21 @@ This tool uses ripgrep when available for optimal performance, with a Python fal
|
|
380
266
|
**Example Usage:**
|
381
267
|
|
382
268
|
```bash
|
383
|
-
# Find function declarations in JavaScript files
|
269
|
+
# Find function and class declarations in JavaScript files
|
384
270
|
skydeckai-code-cli --tool search_code --args '{
|
385
|
-
"
|
271
|
+
"patterns": ["function\\s+\\w+", "class\\s+\\w+"],
|
386
272
|
"include": "*.js"
|
387
273
|
}'
|
388
274
|
|
389
|
-
# Find all console.log statements with errors
|
275
|
+
# Find all console.log statements with errors or warnings
|
390
276
|
skydeckai-code-cli --tool search_code --args '{
|
391
|
-
"
|
277
|
+
"patterns": ["console\\.log.*[eE]rror", "console\\.log.*[wW]arning"],
|
392
278
|
"path": "src"
|
393
279
|
}'
|
394
280
|
|
395
|
-
# Find import statements in TypeScript files
|
281
|
+
# Find import and export statements in TypeScript files
|
396
282
|
skydeckai-code-cli --tool search_code --args '{
|
397
|
-
"
|
283
|
+
"patterns": ["import.*from", "export.*"],
|
398
284
|
"include": "*.{ts,tsx}",
|
399
285
|
"exclude": "node_modules/**"
|
400
286
|
}'
|
@@ -692,10 +578,9 @@ Execute multiple tool invocations in a single request with parallel execution wh
|
|
692
578
|
}
|
693
579
|
},
|
694
580
|
{
|
695
|
-
"tool": "
|
581
|
+
"tool": "execute_shell_script",
|
696
582
|
"arguments": {
|
697
|
-
"
|
698
|
-
"initial_branch": "main"
|
583
|
+
"script": "git init"
|
699
584
|
}
|
700
585
|
}
|
701
586
|
]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# SkyDeckAI Code
|
2
2
|
|
3
|
-
An MCP server that provides a comprehensive set of tools for AI-driven development workflows. Features include file system operations, code analysis using tree-sitter for multiple programming languages,
|
3
|
+
An MCP server that provides a comprehensive set of tools for AI-driven development workflows. Features include file system operations, code analysis using tree-sitter for multiple programming languages, code execution, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, and system information retrieval. Designed to enhance AI's capability to assist in software development tasks by providing direct access to both local and remote resources.
|
4
4
|
|
5
5
|
# Formerly Known As MCP-Server-AIDD
|
6
6
|
|
@@ -44,7 +44,6 @@ If you're using SkyDeck AI Helper app, you can search for "SkyDeckAI Code" and i
|
|
44
44
|
- Code linting and issue detection for Python and JavaScript/TypeScript
|
45
45
|
- Code content searching with regex pattern matching
|
46
46
|
- Multi-language code execution with safety measures
|
47
|
-
- Git operations (status, diff, commit, branch management, cloning)
|
48
47
|
- Web content fetching from APIs and websites with HTML-to-markdown conversion
|
49
48
|
- Multi-engine web search with reliable fallback mechanisms
|
50
49
|
- Batch operations for parallel and serial tool execution
|
@@ -56,27 +55,32 @@ If you're using SkyDeck AI Helper app, you can search for "SkyDeckAI Code" and i
|
|
56
55
|
|
57
56
|
### Basic File Operations
|
58
57
|
|
59
|
-
| Tool
|
60
|
-
|
|
61
|
-
| read_file
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
| get_file_info | path: string | File metadata (size, timestamps, permissions) |
|
58
|
+
| Tool | Parameters | Returns |
|
59
|
+
| ------------- | ---------------------------------------------------------- | --------------------------------------------- |
|
60
|
+
| read_file | files: [{path: string, offset?: integer, limit?: integer}] | File content (single or multiple files) |
|
61
|
+
| write_file | path: string, content: string | Success confirmation |
|
62
|
+
| move_file | source: string, destination: string | Success confirmation |
|
63
|
+
| copy_file | source: string, destination: string, recursive?: boolean | Success confirmation |
|
64
|
+
| delete_file | path: string | Success confirmation |
|
65
|
+
| get_file_info | path: string | File metadata (size, timestamps, permissions) |
|
68
66
|
|
69
67
|
Common usage:
|
70
68
|
|
71
69
|
```bash
|
72
70
|
# Read entire file
|
73
|
-
skydeckai-code-cli --tool read_file --args '{"path": "src/main.py"}'
|
71
|
+
skydeckai-code-cli --tool read_file --args '{"files": [{"path": "src/main.py"}]}'
|
74
72
|
|
75
73
|
# Read 10 lines starting from line 20
|
76
|
-
skydeckai-code-cli --tool read_file --args '{"path": "src/main.py", "offset": 20, "limit": 10}'
|
74
|
+
skydeckai-code-cli --tool read_file --args '{"files": [{"path": "src/main.py", "offset": 20, "limit": 10}]}'
|
77
75
|
|
78
76
|
# Read from line 50 to the end of the file
|
79
|
-
skydeckai-code-cli --tool read_file --args '{"path": "src/main.py", "offset": 50}'
|
77
|
+
skydeckai-code-cli --tool read_file --args '{"files": [{"path": "src/main.py", "offset": 50}]}'
|
78
|
+
|
79
|
+
# Read multiple files with different line ranges
|
80
|
+
skydeckai-code-cli --tool read_file --args '{"files": [
|
81
|
+
{"path": "src/main.py", "offset": 1, "limit": 10},
|
82
|
+
{"path": "README.md"}
|
83
|
+
]}'
|
80
84
|
|
81
85
|
# Write file
|
82
86
|
skydeckai-code-cli --tool write_file --args '{"path": "output.txt", "content": "Hello World"}'
|
@@ -147,69 +151,6 @@ skydeckai-code-cli --tool list_directory --args '{"path": "."}'
|
|
147
151
|
skydeckai-code-cli --tool search_files --args '{"pattern": ".py", "path": "src"}'
|
148
152
|
```
|
149
153
|
|
150
|
-
### Git Operations
|
151
|
-
|
152
|
-
| Tool | Parameters | Returns |
|
153
|
-
| ----------------- | ------------------------------------------------- | -------------------------------- |
|
154
|
-
| git_init | path: string, initial_branch?: string | Repository initialization status |
|
155
|
-
| git_status | repo_path: string | Working directory status |
|
156
|
-
| git_add | repo_path: string, files: string[] | Staging confirmation |
|
157
|
-
| git_reset | repo_path: string | Unstaging confirmation |
|
158
|
-
| git_checkout | repo_path: string, branch_name: string | Branch switch confirmation |
|
159
|
-
| git_create_branch | repo_path: string, branch_name: string | Branch creation confirmation |
|
160
|
-
| git_clone | url: string, target_path: string, branch?: string | Clone confirmation |
|
161
|
-
| git_diff_unstaged | repo_path: string | Unstaged changes diff |
|
162
|
-
| git_diff_staged | repo_path: string | Staged changes diff |
|
163
|
-
| git_show | repo_path: string, commit_hash: string | Details of a specific commit |
|
164
|
-
|
165
|
-
#### Complex Git Operations
|
166
|
-
|
167
|
-
##### git_commit
|
168
|
-
|
169
|
-
```json
|
170
|
-
{
|
171
|
-
"repo_path": ".",
|
172
|
-
"message": "feat: add new feature"
|
173
|
-
}
|
174
|
-
```
|
175
|
-
|
176
|
-
Returns: Commit hash and confirmation.
|
177
|
-
|
178
|
-
##### git_diff
|
179
|
-
|
180
|
-
```json
|
181
|
-
{
|
182
|
-
"repo_path": ".",
|
183
|
-
"target": "main"
|
184
|
-
}
|
185
|
-
```
|
186
|
-
|
187
|
-
Returns: Detailed diff output showing all changes between the current branch and the specified target branch or commit.
|
188
|
-
|
189
|
-
##### git_log
|
190
|
-
|
191
|
-
```json
|
192
|
-
{
|
193
|
-
"repo_path": ".",
|
194
|
-
"max_count": 10
|
195
|
-
}
|
196
|
-
```
|
197
|
-
|
198
|
-
Returns: Array of commit entries with hash, author, date, and message.
|
199
|
-
|
200
|
-
Common usage:
|
201
|
-
|
202
|
-
```bash
|
203
|
-
# Check status
|
204
|
-
skydeckai-code-cli --tool git_status --args '{"repo_path": "."}'
|
205
|
-
|
206
|
-
# Clone a repository
|
207
|
-
skydeckai-code-cli --tool git_clone --args '{"url": "https://github.com/username/repo.git", "target_path": "repo"}'
|
208
|
-
|
209
|
-
# Create and switch to new branch
|
210
|
-
skydeckai-code-cli --tool git_create_branch --args '{"repo_path": ".", "branch_name": "feature/new-branch"}'
|
211
|
-
```
|
212
|
-
|
213
154
|
### Code Analysis
|
214
155
|
|
215
156
|
#### codebase_mapper
|
@@ -233,8 +174,8 @@ Returns:
|
|
233
174
|
Supported Languages:
|
234
175
|
|
235
176
|
- Python (.py)
|
236
|
-
- JavaScript (.js
|
237
|
-
- TypeScript (.ts
|
177
|
+
- JavaScript (.js/.jsx, .mjs, .cjs)
|
178
|
+
- TypeScript (.ts/.tsx)
|
238
179
|
- Java (.java)
|
239
180
|
- C++ (.cpp, .hpp, .cc)
|
240
181
|
- Ruby (.rb, .rake)
|
@@ -244,71 +185,17 @@ Supported Languages:
|
|
244
185
|
- C# (.cs)
|
245
186
|
- Kotlin (.kt, .kts)
|
246
187
|
|
247
|
-
#### check_lint
|
248
|
-
|
249
|
-
Check for linting issues in your codebase using native linting tools:
|
250
|
-
|
251
|
-
```json
|
252
|
-
{
|
253
|
-
"path": "src",
|
254
|
-
"languages": ["python", "javascript"],
|
255
|
-
"linters": {
|
256
|
-
"pylint": "--disable=C0111",
|
257
|
-
"flake8": true,
|
258
|
-
"eslint": "--fix"
|
259
|
-
},
|
260
|
-
"max_issues": 100
|
261
|
-
}
|
262
|
-
```
|
263
|
-
|
264
|
-
**Parameters:**
|
265
|
-
| Parameter | Type | Required | Description |
|
266
|
-
|-----------|------|----------|-------------|
|
267
|
-
| path | string | No | Directory or file to lint (default: ".") |
|
268
|
-
| languages | array | No | List of languages to lint (auto-detects if empty) |
|
269
|
-
| linters | object | No | Configuration for specific linters - can use booleans or CLI arguments |
|
270
|
-
| max_issues | integer | No | Maximum number of issues to return (default: 100, 0 for unlimited) |
|
271
|
-
|
272
|
-
**Returns:**
|
273
|
-
A detailed report of linting issues found in the codebase, including file paths, line numbers, issue descriptions, and severity levels. Issues are grouped by file and sorted by severity.
|
274
|
-
|
275
|
-
**Supported Languages and Linters:**
|
276
|
-
|
277
|
-
- Python: pylint, flake8 (automatically uses what's available)
|
278
|
-
- JavaScript/TypeScript: ESLint
|
279
|
-
- Dart/Flutter: dart_analyze (also reports compilation errors)
|
280
|
-
|
281
188
|
**Example Usage:**
|
282
189
|
|
283
190
|
```bash
|
284
|
-
#
|
285
|
-
skydeckai-code-cli --tool
|
286
|
-
|
287
|
-
# Check specific directory with custom pylint flags
|
288
|
-
skydeckai-code-cli --tool check_lint --args '{
|
289
|
-
"path": "src",
|
290
|
-
"linters": {
|
291
|
-
"pylint": "--disable=missing-docstring,invalid-name"
|
292
|
-
}
|
293
|
-
}'
|
191
|
+
# Map the entire codebase structure
|
192
|
+
skydeckai-code-cli --tool codebase_mapper --args '{"path": "."}'
|
294
193
|
|
295
|
-
#
|
296
|
-
skydeckai-code-cli --tool
|
297
|
-
"path": "src",
|
298
|
-
"languages": ["python"],
|
299
|
-
"linters": {
|
300
|
-
"flake8": false
|
301
|
-
}
|
302
|
-
}'
|
194
|
+
# Map only the source directory
|
195
|
+
skydeckai-code-cli --tool codebase_mapper --args '{"path": "src"}'
|
303
196
|
|
304
|
-
#
|
305
|
-
skydeckai-code-cli --tool
|
306
|
-
"path": "lib",
|
307
|
-
"languages": ["dart"],
|
308
|
-
"linters": {
|
309
|
-
"dart_analyze": "--fatal-infos"
|
310
|
-
}
|
311
|
-
}'
|
197
|
+
# Map a specific component or module
|
198
|
+
skydeckai-code-cli --tool codebase_mapper --args '{"path": "src/components"}'
|
312
199
|
```
|
313
200
|
|
314
201
|
#### search_code
|
@@ -317,7 +204,7 @@ Fast content search tool using regular expressions:
|
|
317
204
|
|
318
205
|
```json
|
319
206
|
{
|
320
|
-
"
|
207
|
+
"patterns": ["function\\s+\\w+", "class\\s+\\w+"],
|
321
208
|
"include": "*.js",
|
322
209
|
"exclude": "node_modules/**",
|
323
210
|
"max_results": 50,
|
@@ -329,10 +216,10 @@ Fast content search tool using regular expressions:
|
|
329
216
|
**Parameters:**
|
330
217
|
| Parameter | Type | Required | Description |
|
331
218
|
|-----------|------|----------|-------------|
|
332
|
-
|
|
219
|
+
| patterns | array of strings | Yes | List of regular expression patterns to search for in file contents |
|
333
220
|
| include | string | No | File pattern to include (glob syntax, default: "\*") |
|
334
221
|
| exclude | string | No | File pattern to exclude (glob syntax, default: "") |
|
335
|
-
| max_results | integer | No | Maximum results to return (default: 100) |
|
222
|
+
| max_results | integer | No | Maximum results to return per pattern (default: 100) |
|
336
223
|
| case_sensitive | boolean | No | Whether search is case-sensitive (default: false) |
|
337
224
|
| path | string | No | Base directory to search from (default: ".") |
|
338
225
|
|
@@ -344,21 +231,21 @@ This tool uses ripgrep when available for optimal performance, with a Python fal
|
|
344
231
|
**Example Usage:**
|
345
232
|
|
346
233
|
```bash
|
347
|
-
# Find function declarations in JavaScript files
|
234
|
+
# Find function and class declarations in JavaScript files
|
348
235
|
skydeckai-code-cli --tool search_code --args '{
|
349
|
-
"
|
236
|
+
"patterns": ["function\\s+\\w+", "class\\s+\\w+"],
|
350
237
|
"include": "*.js"
|
351
238
|
}'
|
352
239
|
|
353
|
-
# Find all console.log statements with errors
|
240
|
+
# Find all console.log statements with errors or warnings
|
354
241
|
skydeckai-code-cli --tool search_code --args '{
|
355
|
-
"
|
242
|
+
"patterns": ["console\\.log.*[eE]rror", "console\\.log.*[wW]arning"],
|
356
243
|
"path": "src"
|
357
244
|
}'
|
358
245
|
|
359
|
-
# Find import statements in TypeScript files
|
246
|
+
# Find import and export statements in TypeScript files
|
360
247
|
skydeckai-code-cli --tool search_code --args '{
|
361
|
-
"
|
248
|
+
"patterns": ["import.*from", "export.*"],
|
362
249
|
"include": "*.{ts,tsx}",
|
363
250
|
"exclude": "node_modules/**"
|
364
251
|
}'
|
@@ -656,10 +543,9 @@ Execute multiple tool invocations in a single request with parallel execution wh
|
|
656
543
|
}
|
657
544
|
},
|
658
545
|
{
|
659
|
-
"tool": "
|
546
|
+
"tool": "execute_shell_script",
|
660
547
|
"arguments": {
|
661
|
-
"
|
662
|
-
"initial_branch": "main"
|
548
|
+
"script": "git init"
|
663
549
|
}
|
664
550
|
}
|
665
551
|
]
|
@@ -1,7 +1,7 @@
|
|
1
1
|
[project]
|
2
2
|
name = "skydeckai-code"
|
3
|
-
version = "0.1.
|
4
|
-
description = "This MCP server provides a comprehensive set of tools for AI-driven Development workflows including file operations, code analysis,
|
3
|
+
version = "0.1.36"
|
4
|
+
description = "This MCP server provides a comprehensive set of tools for AI-driven Development workflows including file operations, code analysis, multi-language execution, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, and system information retrieval."
|
5
5
|
readme = "README.md"
|
6
6
|
requires-python = ">=3.11"
|
7
7
|
authors = [{name = "SkyDeck.ai", email = "support@skydeck.ai"}]
|
@@ -22,7 +22,6 @@ dependencies = [
|
|
22
22
|
"tree-sitter-ruby>=0.23.1",
|
23
23
|
"tree-sitter-rust==0.23.2",
|
24
24
|
"tree-sitter-typescript>=0.23.2",
|
25
|
-
"GitPython>=3.1.44",
|
26
25
|
"psutil>=7.0.0",
|
27
26
|
"mss>=10.0.0",
|
28
27
|
"pygetwindow>=0.0.9",
|