skydeckai-code 0.1.26__tar.gz → 0.1.28__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.
Files changed (30) hide show
  1. skydeckai_code-0.1.26/README.md → skydeckai_code-0.1.28/PKG-INFO +96 -4
  2. skydeckai_code-0.1.26/PKG-INFO → skydeckai_code-0.1.28/README.md +60 -38
  3. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/pyproject.toml +4 -2
  4. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/__init__.py +3 -1
  5. skydeckai_code-0.1.28/src/aidd/tools/web_tools.py +775 -0
  6. skydeckai_code-0.1.26/src/aidd/tools/web_tools.py +0 -160
  7. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/.gitignore +0 -0
  8. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/Dockerfile +0 -0
  9. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/LICENSE +0 -0
  10. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/screenshots/skydeck_ai_helper.png +0 -0
  11. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/smithery.yaml +0 -0
  12. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/__init__.py +0 -0
  13. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/cli.py +0 -0
  14. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/server.py +0 -0
  15. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/base.py +0 -0
  16. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/code_analysis.py +0 -0
  17. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/code_execution.py +0 -0
  18. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/code_tools.py +0 -0
  19. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/directory_tools.py +0 -0
  20. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/file_tools.py +0 -0
  21. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/get_active_apps_tool.py +0 -0
  22. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/get_available_windows_tool.py +0 -0
  23. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/git_tools.py +0 -0
  24. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/image_tools.py +0 -0
  25. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/other_tools.py +0 -0
  26. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/path_tools.py +0 -0
  27. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/screenshot_tool.py +0 -0
  28. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/state.py +0 -0
  29. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/src/aidd/tools/system_tools.py +0 -0
  30. {skydeckai_code-0.1.26 → skydeckai_code-0.1.28}/uv.lock +0 -0
@@ -1,6 +1,42 @@
1
+ Metadata-Version: 2.4
2
+ Name: skydeckai-code
3
+ Version: 0.1.28
4
+ Summary: This MCP server provides a comprehensive set of tools for AI-driven Development workflows including file operations, code analysis, multi-language execution, Git operations, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, and system information retrieval.
5
+ Project-URL: Homepage, https://github.com/skydeckai/skydeckai-code
6
+ Project-URL: Repository, https://github.com/skydeckai/skydeckai-code
7
+ Project-URL: Documentation, https://github.com/skydeckai/skydeckai-code/blob/main/README.md
8
+ Author-email: "SkyDeck.ai" <support@skydeck.ai>
9
+ License: Apache 2.0
10
+ License-File: LICENSE
11
+ Keywords: ai,aidd,code,code-analysis,development,mcp
12
+ Requires-Python: >=3.11
13
+ Requires-Dist: beautifulsoup4>=4.13.3
14
+ Requires-Dist: gitpython>=3.1.44
15
+ Requires-Dist: html2text>=2025.4.15
16
+ Requires-Dist: mcp>=1.6.0
17
+ Requires-Dist: mss>=10.0.0
18
+ Requires-Dist: pillow>=11.1.0
19
+ Requires-Dist: psutil>=7.0.0
20
+ Requires-Dist: pygetwindow>=0.0.9
21
+ Requires-Dist: pyobjc-framework-quartz>=11.0
22
+ Requires-Dist: requests>=2.32.3
23
+ Requires-Dist: tree-sitter-c-sharp>=0.23.1
24
+ Requires-Dist: tree-sitter-cpp>=0.23.4
25
+ Requires-Dist: tree-sitter-go>=0.23.4
26
+ Requires-Dist: tree-sitter-java>=0.23.5
27
+ Requires-Dist: tree-sitter-javascript>=0.23.1
28
+ Requires-Dist: tree-sitter-kotlin>=1.1.0
29
+ Requires-Dist: tree-sitter-php>=0.23.11
30
+ Requires-Dist: tree-sitter-python>=0.23.6
31
+ Requires-Dist: tree-sitter-ruby>=0.23.1
32
+ Requires-Dist: tree-sitter-rust==0.23.2
33
+ Requires-Dist: tree-sitter-typescript>=0.23.2
34
+ Requires-Dist: tree-sitter>=0.24.0
35
+ Description-Content-Type: text/markdown
36
+
1
37
  # SkyDeckAI Code
2
38
 
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, Git operations, code execution, web content fetching, 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.
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, Git operations, 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
40
 
5
41
  # Formerly Known As MCP-Server-AIDD
6
42
 
@@ -63,7 +99,8 @@ If you're using SkyDeck AI Helper app, you can search for "SkyDeckAI Code" and i
63
99
  - Code content searching with regex pattern matching
64
100
  - Multi-language code execution with safety measures
65
101
  - Git operations (status, diff, commit, branch management, cloning)
66
- - Web content fetching from APIs and websites
102
+ - Web content fetching from APIs and websites with HTML-to-markdown conversion
103
+ - Multi-engine web search with reliable fallback mechanisms
67
104
  - Batch operations for parallel and serial tool execution
68
105
  - Security controls with configurable workspace boundaries
69
106
  - Screenshot and screen context tools
@@ -495,7 +532,8 @@ Fetches content from a URL and optionally saves it to a file.
495
532
  "Accept": "application/json"
496
533
  },
497
534
  "timeout": 15,
498
- "save_to_file": "downloads/octocat.json"
535
+ "save_to_file": "downloads/octocat.json",
536
+ "convert_html_to_markdown": true
499
537
  }
500
538
  ```
501
539
 
@@ -506,9 +544,10 @@ Fetches content from a URL and optionally saves it to a file.
506
544
  | headers | object | No | Optional HTTP headers to include in the request |
507
545
  | timeout | integer | No | Maximum time to wait for response (default: 10s) |
508
546
  | save_to_file | string | No | Path to save response content (within allowed directory) |
547
+ | convert_html_to_markdown | boolean | No | When true, converts HTML content to markdown for better readability (default: true) |
509
548
 
510
549
  **Returns:**
511
- Response content as text with HTTP status code and size information. For binary content, returns metadata and saves to file if requested.
550
+ Response content as text with HTTP status code and size information. For binary content, returns metadata and saves to file if requested. When convert_html_to_markdown is enabled, HTML content is automatically converted to markdown format for better readability.
512
551
 
513
552
  This tool can be used to access web APIs, fetch documentation, or download content from the web while respecting size limits (10MB max) and security constraints.
514
553
 
@@ -526,6 +565,59 @@ skydeckai-code-cli --tool web_fetch --args '{
526
565
  "url": "https://github.com/github/github-mcp-server/blob/main/README.md",
527
566
  "save_to_file": "downloads/readme.md"
528
567
  }'
568
+
569
+ # Fetch a webpage and convert to markdown for better readability
570
+ skydeckai-code-cli --tool web_fetch --args '{
571
+ "url": "https://example.com",
572
+ "convert_html_to_markdown": true
573
+ }'
574
+ ```
575
+
576
+ #### web_search
577
+
578
+ Performs a robust web search using multiple search engines and returns concise, relevant results.
579
+
580
+ ```json
581
+ {
582
+ "query": "latest python release features",
583
+ "num_results": 8,
584
+ "convert_html_to_markdown": true,
585
+ "search_engine": "bing"
586
+ }
587
+ ```
588
+
589
+ **Parameters:**
590
+ | Parameter | Type | Required | Description |
591
+ |-----------|---------|----------|---------------------------------------|
592
+ | query | string | Yes | The search query to process. Be specific for better results. |
593
+ | num_results | integer | No | Maximum number of search results to return (default: 10, max: 20) |
594
+ | convert_html_to_markdown | boolean | No | When true, content will be converted from HTML to markdown for better readability (default: true) |
595
+ | search_engine | string | No | Specifies which search engine to use: "auto" (default), "bing", or "duckduckgo" |
596
+
597
+ **Returns:**
598
+ A list of search results formatted in markdown, including titles, URLs, and snippets for each result. Results are deduplicated and organized hierarchically for easy reading.
599
+
600
+ This tool uses a multi-engine approach that tries different search engines with various parsing strategies to ensure reliable results. You can specify a preferred engine, but some engines may block automated access, in which case the tool will fall back to alternative engines when "auto" is selected.
601
+
602
+ **Example Usage:**
603
+
604
+ ```bash
605
+ # Search with default settings (auto engine selection)
606
+ skydeckai-code-cli --tool web_search --args '{
607
+ "query": "latest python release features"
608
+ }'
609
+
610
+ # Try DuckDuckGo if you want alternative results
611
+ skydeckai-code-cli --tool web_search --args '{
612
+ "query": "machine learning frameworks comparison",
613
+ "search_engine": "duckduckgo"
614
+ }'
615
+
616
+ # Use Bing for reliable results
617
+ skydeckai-code-cli --tool web_search --args '{
618
+ "query": "best programming practices 2023",
619
+ "search_engine": "bing"
620
+ }'
529
621
  ```
530
622
 
531
623
  ### Utility Tools
@@ -1,40 +1,6 @@
1
- Metadata-Version: 2.4
2
- Name: skydeckai-code
3
- Version: 0.1.26
4
- Summary: This MCP server provides a comprehensive set of tools for AI-driven Development workflows including file operations, code analysis, multi-language execution, Git operations, web content fetching, code content searching, and system information retrieval.
5
- Project-URL: Homepage, https://github.com/skydeckai/skydeckai-code
6
- Project-URL: Repository, https://github.com/skydeckai/skydeckai-code
7
- Project-URL: Documentation, https://github.com/skydeckai/skydeckai-code/blob/main/README.md
8
- Author-email: "SkyDeck.ai" <support@skydeck.ai>
9
- License: Apache 2.0
10
- License-File: LICENSE
11
- Keywords: ai,aidd,code,code-analysis,development,mcp
12
- Requires-Python: >=3.11
13
- Requires-Dist: gitpython>=3.1.44
14
- Requires-Dist: mcp>=1.6.0
15
- Requires-Dist: mss>=10.0.0
16
- Requires-Dist: pillow>=11.1.0
17
- Requires-Dist: psutil>=7.0.0
18
- Requires-Dist: pygetwindow>=0.0.9
19
- Requires-Dist: pyobjc-framework-quartz>=11.0
20
- Requires-Dist: requests>=2.32.3
21
- Requires-Dist: tree-sitter-c-sharp>=0.23.1
22
- Requires-Dist: tree-sitter-cpp>=0.23.4
23
- Requires-Dist: tree-sitter-go>=0.23.4
24
- Requires-Dist: tree-sitter-java>=0.23.5
25
- Requires-Dist: tree-sitter-javascript>=0.23.1
26
- Requires-Dist: tree-sitter-kotlin>=1.1.0
27
- Requires-Dist: tree-sitter-php>=0.23.11
28
- Requires-Dist: tree-sitter-python>=0.23.6
29
- Requires-Dist: tree-sitter-ruby>=0.23.1
30
- Requires-Dist: tree-sitter-rust==0.23.2
31
- Requires-Dist: tree-sitter-typescript>=0.23.2
32
- Requires-Dist: tree-sitter>=0.24.0
33
- Description-Content-Type: text/markdown
34
-
35
1
  # SkyDeckAI Code
36
2
 
37
- 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, Git operations, code execution, web content fetching, 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.
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, Git operations, 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.
38
4
 
39
5
  # Formerly Known As MCP-Server-AIDD
40
6
 
@@ -97,7 +63,8 @@ If you're using SkyDeck AI Helper app, you can search for "SkyDeckAI Code" and i
97
63
  - Code content searching with regex pattern matching
98
64
  - Multi-language code execution with safety measures
99
65
  - Git operations (status, diff, commit, branch management, cloning)
100
- - Web content fetching from APIs and websites
66
+ - Web content fetching from APIs and websites with HTML-to-markdown conversion
67
+ - Multi-engine web search with reliable fallback mechanisms
101
68
  - Batch operations for parallel and serial tool execution
102
69
  - Security controls with configurable workspace boundaries
103
70
  - Screenshot and screen context tools
@@ -529,7 +496,8 @@ Fetches content from a URL and optionally saves it to a file.
529
496
  "Accept": "application/json"
530
497
  },
531
498
  "timeout": 15,
532
- "save_to_file": "downloads/octocat.json"
499
+ "save_to_file": "downloads/octocat.json",
500
+ "convert_html_to_markdown": true
533
501
  }
534
502
  ```
535
503
 
@@ -540,9 +508,10 @@ Fetches content from a URL and optionally saves it to a file.
540
508
  | headers | object | No | Optional HTTP headers to include in the request |
541
509
  | timeout | integer | No | Maximum time to wait for response (default: 10s) |
542
510
  | save_to_file | string | No | Path to save response content (within allowed directory) |
511
+ | convert_html_to_markdown | boolean | No | When true, converts HTML content to markdown for better readability (default: true) |
543
512
 
544
513
  **Returns:**
545
- Response content as text with HTTP status code and size information. For binary content, returns metadata and saves to file if requested.
514
+ Response content as text with HTTP status code and size information. For binary content, returns metadata and saves to file if requested. When convert_html_to_markdown is enabled, HTML content is automatically converted to markdown format for better readability.
546
515
 
547
516
  This tool can be used to access web APIs, fetch documentation, or download content from the web while respecting size limits (10MB max) and security constraints.
548
517
 
@@ -560,6 +529,59 @@ skydeckai-code-cli --tool web_fetch --args '{
560
529
  "url": "https://github.com/github/github-mcp-server/blob/main/README.md",
561
530
  "save_to_file": "downloads/readme.md"
562
531
  }'
532
+
533
+ # Fetch a webpage and convert to markdown for better readability
534
+ skydeckai-code-cli --tool web_fetch --args '{
535
+ "url": "https://example.com",
536
+ "convert_html_to_markdown": true
537
+ }'
538
+ ```
539
+
540
+ #### web_search
541
+
542
+ Performs a robust web search using multiple search engines and returns concise, relevant results.
543
+
544
+ ```json
545
+ {
546
+ "query": "latest python release features",
547
+ "num_results": 8,
548
+ "convert_html_to_markdown": true,
549
+ "search_engine": "bing"
550
+ }
551
+ ```
552
+
553
+ **Parameters:**
554
+ | Parameter | Type | Required | Description |
555
+ |-----------|---------|----------|---------------------------------------|
556
+ | query | string | Yes | The search query to process. Be specific for better results. |
557
+ | num_results | integer | No | Maximum number of search results to return (default: 10, max: 20) |
558
+ | convert_html_to_markdown | boolean | No | When true, content will be converted from HTML to markdown for better readability (default: true) |
559
+ | search_engine | string | No | Specifies which search engine to use: "auto" (default), "bing", or "duckduckgo" |
560
+
561
+ **Returns:**
562
+ A list of search results formatted in markdown, including titles, URLs, and snippets for each result. Results are deduplicated and organized hierarchically for easy reading.
563
+
564
+ This tool uses a multi-engine approach that tries different search engines with various parsing strategies to ensure reliable results. You can specify a preferred engine, but some engines may block automated access, in which case the tool will fall back to alternative engines when "auto" is selected.
565
+
566
+ **Example Usage:**
567
+
568
+ ```bash
569
+ # Search with default settings (auto engine selection)
570
+ skydeckai-code-cli --tool web_search --args '{
571
+ "query": "latest python release features"
572
+ }'
573
+
574
+ # Try DuckDuckGo if you want alternative results
575
+ skydeckai-code-cli --tool web_search --args '{
576
+ "query": "machine learning frameworks comparison",
577
+ "search_engine": "duckduckgo"
578
+ }'
579
+
580
+ # Use Bing for reliable results
581
+ skydeckai-code-cli --tool web_search --args '{
582
+ "query": "best programming practices 2023",
583
+ "search_engine": "bing"
584
+ }'
563
585
  ```
564
586
 
565
587
  ### Utility Tools
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "skydeckai-code"
3
- version = "0.1.26"
4
- description = "This MCP server provides a comprehensive set of tools for AI-driven Development workflows including file operations, code analysis, multi-language execution, Git operations, web content fetching, code content searching, and system information retrieval."
3
+ version = "0.1.28"
4
+ description = "This MCP server provides a comprehensive set of tools for AI-driven Development workflows including file operations, code analysis, multi-language execution, Git operations, 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"}]
@@ -29,6 +29,8 @@ dependencies = [
29
29
  "pyobjc-framework-Quartz>=11.0",
30
30
  "pillow>=11.1.0",
31
31
  "requests>=2.32.3",
32
+ "html2text>=2025.4.15",
33
+ "beautifulsoup4>=4.13.3",
32
34
  ]
33
35
 
34
36
  [tool.hatch.build.targets.wheel]
@@ -77,7 +77,7 @@ from .screenshot_tool import (
77
77
  handle_capture_screenshot,
78
78
  )
79
79
  from .system_tools import get_system_info_tool, handle_get_system_info
80
- from .web_tools import web_fetch_tool, handle_web_fetch
80
+ from .web_tools import web_fetch_tool, handle_web_fetch, web_search_tool, handle_web_search
81
81
 
82
82
  # Export all tools definitions
83
83
  TOOL_DEFINITIONS = [
@@ -125,6 +125,7 @@ TOOL_DEFINITIONS = [
125
125
  read_image_file_tool(),
126
126
  # Web tools
127
127
  web_fetch_tool(),
128
+ web_search_tool(),
128
129
  ]
129
130
 
130
131
  # Export all handlers
@@ -173,4 +174,5 @@ TOOL_HANDLERS = {
173
174
  "read_image_file": handle_read_image_file,
174
175
  # Web handlers
175
176
  "web_fetch": handle_web_fetch,
177
+ "web_search": handle_web_search,
176
178
  }