mcp-win-stdio 0.2.0__tar.gz → 0.2.3__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 (95) hide show
  1. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/.gitignore +60 -60
  2. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/LICENSE +21 -21
  3. mcp_win_stdio-0.2.3/PKG-INFO +225 -0
  4. mcp_win_stdio-0.2.3/README.md +182 -0
  5. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-db/README.md +92 -0
  6. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/packages/mcp-win-stdio-db/pyproject.toml +43 -42
  7. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/packages/mcp-win-stdio-db/src/mcp_win_stdio/db/__init__.py +5 -5
  8. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/packages/mcp-win-stdio-db/src/mcp_win_stdio/db/__main__.py +8 -8
  9. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3/packages/mcp-win-stdio-db}/src/mcp_win_stdio/db/cli.py +87 -87
  10. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-db/src/mcp_win_stdio/db/guide.py +165 -0
  11. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-db/src/mcp_win_stdio/db/server.py +2568 -0
  12. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-excel/README.md +72 -0
  13. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/packages/mcp-win-stdio-excel/pyproject.toml +45 -44
  14. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3/packages/mcp-win-stdio-excel}/src/mcp_win_stdio/excel/__init__.py +5 -5
  15. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3/packages/mcp-win-stdio-excel}/src/mcp_win_stdio/excel/__main__.py +8 -8
  16. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/packages/mcp-win-stdio-excel/src/mcp_win_stdio/excel/cli.py +186 -186
  17. mcp_win_stdio-0.2.0/src/mcp_win_stdio/guides/excel_guide.py → mcp_win_stdio-0.2.3/packages/mcp-win-stdio-excel/src/mcp_win_stdio/excel/guide.py +69 -69
  18. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3/packages/mcp-win-stdio-excel}/src/mcp_win_stdio/excel/server.py +1735 -1014
  19. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-explorer/README.md +79 -0
  20. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/packages/mcp-win-stdio-explorer/pyproject.toml +43 -42
  21. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3/packages/mcp-win-stdio-explorer}/src/mcp_win_stdio/explorer/__init__.py +5 -5
  22. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/packages/mcp-win-stdio-explorer/src/mcp_win_stdio/explorer/__main__.py +8 -8
  23. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/packages/mcp-win-stdio-explorer/src/mcp_win_stdio/explorer/cli.py +176 -176
  24. mcp_win_stdio-0.2.0/src/mcp_win_stdio/guides/explorer_guide.py → mcp_win_stdio-0.2.3/packages/mcp-win-stdio-explorer/src/mcp_win_stdio/explorer/guide.py +68 -68
  25. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3/packages/mcp-win-stdio-explorer}/src/mcp_win_stdio/explorer/server.py +1799 -1379
  26. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-git/README.md +94 -0
  27. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-git/pyproject.toml +41 -0
  28. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-git/src/mcp_win_stdio/git/__init__.py +5 -0
  29. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-git/src/mcp_win_stdio/git/__main__.py +8 -0
  30. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-git/src/mcp_win_stdio/git/cli.py +134 -0
  31. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-git/src/mcp_win_stdio/git/guide.py +150 -0
  32. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-git/src/mcp_win_stdio/git/server.py +1899 -0
  33. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-tsc/README.md +81 -0
  34. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/packages/mcp-win-stdio-tsc/pyproject.toml +41 -40
  35. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/packages/mcp-win-stdio-tsc/src/mcp_win_stdio/tsc/__init__.py +5 -5
  36. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3/packages/mcp-win-stdio-tsc}/src/mcp_win_stdio/tsc/__main__.py +8 -8
  37. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3/packages/mcp-win-stdio-tsc}/src/mcp_win_stdio/tsc/cli.py +89 -89
  38. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3/packages/mcp-win-stdio-tsc}/src/mcp_win_stdio/tsc/guide.py +64 -56
  39. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-tsc/src/mcp_win_stdio/tsc/server.py +846 -0
  40. mcp_win_stdio-0.2.3/packages/mcp-win-stdio-word/README.md +79 -0
  41. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/packages/mcp-win-stdio-word/pyproject.toml +44 -43
  42. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/packages/mcp-win-stdio-word/src/mcp_win_stdio/word/__init__.py +5 -5
  43. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/packages/mcp-win-stdio-word/src/mcp_win_stdio/word/__main__.py +8 -8
  44. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/packages/mcp-win-stdio-word/src/mcp_win_stdio/word/cli.py +79 -79
  45. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3/packages/mcp-win-stdio-word}/src/mcp_win_stdio/word/guide.py +77 -77
  46. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3/packages/mcp-win-stdio-word}/src/mcp_win_stdio/word/server.py +1313 -1035
  47. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/pyproject.toml +78 -84
  48. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/src/mcp_win_stdio/__init__.py +7 -5
  49. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/src/mcp_win_stdio/cli.py +632 -425
  50. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/src/mcp_win_stdio/core/config.py +55 -55
  51. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/src/mcp_win_stdio/core/discovery.py +146 -121
  52. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/src/mcp_win_stdio/core/installer.py +194 -190
  53. mcp_win_stdio-0.2.3/tests/test_audit.py +470 -0
  54. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/tests/test_cli.py +102 -89
  55. mcp_win_stdio-0.2.3/tests/test_git.py +161 -0
  56. mcp_win_stdio-0.2.0/PKG-INFO +0 -217
  57. mcp_win_stdio-0.2.0/README.md +0 -168
  58. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-db/README.md +0 -42
  59. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-db/src/mcp_win_stdio/db/cli.py +0 -87
  60. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-db/src/mcp_win_stdio/db/server.py +0 -1105
  61. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-excel/README.md +0 -44
  62. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-excel/src/mcp_win_stdio/excel/__init__.py +0 -5
  63. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-excel/src/mcp_win_stdio/excel/__main__.py +0 -8
  64. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-excel/src/mcp_win_stdio/excel/guide.py +0 -52
  65. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-excel/src/mcp_win_stdio/excel/server.py +0 -1014
  66. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-explorer/README.md +0 -44
  67. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-explorer/src/mcp_win_stdio/explorer/__init__.py +0 -5
  68. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-explorer/src/mcp_win_stdio/explorer/guide.py +0 -53
  69. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-explorer/src/mcp_win_stdio/explorer/server.py +0 -1379
  70. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-tsc/README.md +0 -47
  71. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-tsc/src/mcp_win_stdio/tsc/__main__.py +0 -8
  72. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-tsc/src/mcp_win_stdio/tsc/cli.py +0 -89
  73. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-tsc/src/mcp_win_stdio/tsc/guide.py +0 -56
  74. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-tsc/src/mcp_win_stdio/tsc/server.py +0 -482
  75. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-word/README.md +0 -48
  76. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-word/src/mcp_win_stdio/word/guide.py +0 -77
  77. mcp_win_stdio-0.2.0/packages/mcp-win-stdio-word/src/mcp_win_stdio/word/server.py +0 -1035
  78. mcp_win_stdio-0.2.0/src/mcp_win_stdio/db/__init__.py +0 -5
  79. mcp_win_stdio-0.2.0/src/mcp_win_stdio/db/__main__.py +0 -8
  80. mcp_win_stdio-0.2.0/src/mcp_win_stdio/db/server.py +0 -1105
  81. mcp_win_stdio-0.2.0/src/mcp_win_stdio/excel/cli.py +0 -186
  82. mcp_win_stdio-0.2.0/src/mcp_win_stdio/excel/guide.py +0 -52
  83. mcp_win_stdio-0.2.0/src/mcp_win_stdio/explorer/__main__.py +0 -8
  84. mcp_win_stdio-0.2.0/src/mcp_win_stdio/explorer/cli.py +0 -176
  85. mcp_win_stdio-0.2.0/src/mcp_win_stdio/explorer/guide.py +0 -53
  86. mcp_win_stdio-0.2.0/src/mcp_win_stdio/guides/__init__.py +0 -1
  87. mcp_win_stdio-0.2.0/src/mcp_win_stdio/guides/db_guide.py +0 -115
  88. mcp_win_stdio-0.2.0/src/mcp_win_stdio/guides/tsc_guide.py +0 -5
  89. mcp_win_stdio-0.2.0/src/mcp_win_stdio/guides/word_guide.py +0 -5
  90. mcp_win_stdio-0.2.0/src/mcp_win_stdio/tsc/__init__.py +0 -5
  91. mcp_win_stdio-0.2.0/src/mcp_win_stdio/tsc/server.py +0 -482
  92. mcp_win_stdio-0.2.0/src/mcp_win_stdio/word/__init__.py +0 -5
  93. mcp_win_stdio-0.2.0/src/mcp_win_stdio/word/__main__.py +0 -8
  94. mcp_win_stdio-0.2.0/src/mcp_win_stdio/word/cli.py +0 -79
  95. {mcp_win_stdio-0.2.0 → mcp_win_stdio-0.2.3}/src/mcp_win_stdio/__main__.py +0 -0
@@ -1,60 +1,60 @@
1
- __pycache__/
2
- *.py[cod]
3
- *$py.class
4
- *.so
5
- .Python
6
- build/
7
- develop-eggs/
8
- dist/
9
- downloads/
10
- eggs/
11
- .eggs/
12
- lib/
13
- lib64/
14
- parts/
15
- sdist/
16
- var/
17
- wheels/
18
- share/python-wheels/
19
- *.egg-info/
20
- .installed.cfg
21
- *.egg
22
- MANIFEST
23
-
24
- *.manifest
25
- *.spec
26
-
27
- pip-log.txt
28
- pip-delete-this-directory.txt
29
-
30
- htmlcov/
31
- .tox/
32
- .nox/
33
- .coverage
34
- .coverage.*
35
- .cache
36
- nosetests.xml
37
- coverage.xml
38
- *.cover
39
- *.py,cover
40
- .hypothesis/
41
- .pytest_cache/
42
- cover/
43
-
44
- *.mo
45
- *.pot
46
-
47
- .env
48
- .venv
49
- env/
50
- venv/
51
- ENV/
52
- env.bak/
53
- venv.bak/
54
-
55
- .idea/
56
- .vscode/
57
- *.swp
58
- *.swo
59
-
60
- *.log
1
+ __pycache__/
2
+ *.py[cod]
3
+ *$py.class
4
+ *.so
5
+ .Python
6
+ build/
7
+ develop-eggs/
8
+ dist/
9
+ downloads/
10
+ eggs/
11
+ .eggs/
12
+ lib/
13
+ lib64/
14
+ parts/
15
+ sdist/
16
+ var/
17
+ wheels/
18
+ share/python-wheels/
19
+ *.egg-info/
20
+ .installed.cfg
21
+ *.egg
22
+ MANIFEST
23
+
24
+ *.manifest
25
+ *.spec
26
+ api.txt
27
+ pip-log.txt
28
+ pip-delete-this-directory.txt
29
+ pypi api.txt
30
+ htmlcov/
31
+ .tox/
32
+ .nox/
33
+ .coverage
34
+ .coverage.*
35
+ .cache
36
+ nosetests.xml
37
+ coverage.xml
38
+ *.cover
39
+ *.py,cover
40
+ .hypothesis/
41
+ .pytest_cache/
42
+ cover/
43
+
44
+ *.mo
45
+ *.pot
46
+
47
+ .env
48
+ .venv
49
+ env/
50
+ venv/
51
+ ENV/
52
+ env.bak/
53
+ venv.bak/
54
+
55
+ .idea/
56
+ .vscode/
57
+ *.swp
58
+ *.swo
59
+
60
+ *.log
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 indala
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 indala
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,225 @@
1
+ Metadata-Version: 2.5
2
+ Name: mcp-win-stdio
3
+ Version: 0.2.3
4
+ Summary: Windows-optimized Model Context Protocol (MCP) suite & interactive CLI hub for Claude Desktop & Claude Code CLI (Excel COM, Word layouts, Workspace Explorer, and TypeScript diagnostic watcher).
5
+ Author: Mohan Kumar Indala
6
+ License-Expression: MIT
7
+ License-File: LICENSE
8
+ Keywords: ai,claude,excel,llm,mcp,stdio,typescript,windows,word,workspace-explorer
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Environment :: Win32 (MS Windows)
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Operating System :: Microsoft :: Windows
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Topic :: Software Development :: Libraries
21
+ Requires-Python: >=3.10
22
+ Requires-Dist: mcp>=1.2.0
23
+ Provides-Extra: all
24
+ Requires-Dist: mcp-win-stdio-db>=0.2.3; extra == 'all'
25
+ Requires-Dist: mcp-win-stdio-excel>=0.2.3; extra == 'all'
26
+ Requires-Dist: mcp-win-stdio-explorer>=0.2.3; extra == 'all'
27
+ Requires-Dist: mcp-win-stdio-git>=0.2.3; extra == 'all'
28
+ Requires-Dist: mcp-win-stdio-tsc>=0.2.3; extra == 'all'
29
+ Requires-Dist: mcp-win-stdio-word>=0.2.3; extra == 'all'
30
+ Provides-Extra: db
31
+ Requires-Dist: mcp-win-stdio-db>=0.2.3; extra == 'db'
32
+ Provides-Extra: excel
33
+ Requires-Dist: mcp-win-stdio-excel>=0.2.3; extra == 'excel'
34
+ Provides-Extra: explorer
35
+ Requires-Dist: mcp-win-stdio-explorer>=0.2.3; extra == 'explorer'
36
+ Provides-Extra: git
37
+ Requires-Dist: mcp-win-stdio-git>=0.2.3; extra == 'git'
38
+ Provides-Extra: tsc
39
+ Requires-Dist: mcp-win-stdio-tsc>=0.2.3; extra == 'tsc'
40
+ Provides-Extra: word
41
+ Requires-Dist: mcp-win-stdio-word>=0.2.3; extra == 'word'
42
+ Description-Content-Type: text/markdown
43
+
44
+ # mcp-win-stdio
45
+
46
+ Windows-optimized **Model Context Protocol (MCP)** suite and interactive CLI hub (`mws`) for local `stdio` execution with transparent Claude Desktop & Claude Code CLI configuration.
47
+
48
+ [![PyPI Version](https://img.shields.io/pypi/v/mcp-win-stdio.svg)](https://pypi.org/project/mcp-win-stdio/)
49
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
50
+ [![Python: 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/)
51
+
52
+ ---
53
+
54
+ ## 🌟 Highlights (93 Tools Across 6 Modular Servers)
55
+
56
+ * **Interactive CLI Hub (`mws`)**: Run `mws` alone to view all servers, live installation status (`[Installed]` vs `[Not Installed]`), and quick commands.
57
+ * **Safe, Transparent Setup (`mws setup <server>` / `mws add <server>`)**: Installs missing dependencies on-demand, generates exact copy-pasteable JSON configuration for Claude Desktop and Claude Code CLI, and asks confirmation before making any automated edits (always creating `.bak` backups).
58
+ * **Dynamic Guide Merging (`mws guide [server]`)**: View comprehensive tool schemas, prompt recipes, and diagnostic checks for individual servers (`mws git guide`, `mws db guide`) or all installed servers merged (`mws guide all`).
59
+ * **Git & GitHub MCP (26 Tools)**: Unified local Git repository management and remote GitHub CLI (`gh`) operations with hybrid synergy workflows (PR quickstart, issue branch start, 360° repo overview), token-safe diffs/logs, and Windows CRLF filtering.
60
+ * **Polyglot Database MCP (20 Tools)**: Unified PostgreSQL & MySQL database manager with cross-database switching, cross-schema auto-resolution, fast JSON queries, DBA administrative operations (safety-guarded DROP, CREATE, CLONE), active connection monitoring, and native dump/restore utilities.
61
+ * **Excel MCP (20 Tools)**: High-speed Pandas data queries, multi-column reconciliation with RapidFuzz, cell & formula editing, and native Windows Excel COM automation (PDF exports, recalculation, pivot refreshes, VBA macros).
62
+ * **Word MCP (10 Tools)**: Multi-unit page layout geometry (margins in inches, cm, mm, pt), multi-column layout analysis, paragraph spacing/indentation, typography (fonts, sizes, hex colors), and floating/inline header image extraction.
63
+ * **Workspace Explorer MCP (11 Tools)**: Token-safe directory exploration, collapsible heavy folders (`node_modules`, `.next`, `.git`), dynamic `.gitignore` parsing, in-file regex grep, RapidFuzz fuzzy search, and Python/TypeScript AST outline extraction.
64
+ * **TypeScript Diagnostic Watcher MCP (6 Tools)**: Persistent background `tsc` compiler watchers maintaining an in-memory cache for instantaneous (0ms latency) error inspection across multi-tsconfig projects.
65
+ * **Extensible User Plugins**: Drop any standalone Python MCP script into `~/.mcp-win-stdio/plugins/` and it is immediately discovered, runnable, and configurable.
66
+
67
+ ---
68
+
69
+ ## 📦 Modular Architecture & Installation
70
+
71
+ Each server is published as an independent, lightweight PyPI package. Installing any standalone package automatically installs the `mws` CLI orchestrator.
72
+
73
+ | Server | Standalone Package | Tools | Primary Capabilities |
74
+ | :--- | :--- | :---: | :--- |
75
+ | **Git & GitHub** | `pip install mcp-win-stdio-git` | 26 | Local Git branches, commits, diffs, conflicts + GitHub PRs, issues, Actions |
76
+ | **Database** | `pip install mcp-win-stdio-db` | 20 | PostgreSQL & MySQL pooling, cross-schema resolution, DBA management, dump/restore |
77
+ | **Excel** | `pip install mcp-win-stdio-excel` | 20 | Pandas queries, RapidFuzz reconciliation, OpenPyXL, native Excel COM automation |
78
+ | **Word** | `pip install mcp-win-stdio-word` | 10 | Margins (in, cm, mm, pt), multi-column IEEE layout, typography, image extraction |
79
+ | **Explorer** | `pip install mcp-win-stdio-explorer` | 11 | Token-safe tree, .gitignore resolution, in-file grep, AST outlines |
80
+ | **TypeScript** | `pip install mcp-win-stdio-tsc` | 6 | 0ms in-memory compilation error cache, multi-tsconfig watchers |
81
+
82
+ ### Install Individual Servers:
83
+ ```powershell
84
+ pip install mcp-win-stdio-git
85
+ pip install mcp-win-stdio-db
86
+ pip install mcp-win-stdio-excel
87
+ pip install mcp-win-stdio-word
88
+ pip install mcp-win-stdio-explorer
89
+ pip install mcp-win-stdio-tsc
90
+ ```
91
+
92
+ ### Or Install the Complete Suite:
93
+ ```powershell
94
+ pip install "mcp-win-stdio[all]"
95
+ ```
96
+
97
+ ### For Local Development:
98
+ ```powershell
99
+ git clone https://github.com/indala/mcp-win-stdio.git
100
+ cd mcp-win-stdio
101
+ pip install -e .
102
+ ```
103
+
104
+ ---
105
+
106
+ ## 🚀 Quick Start
107
+
108
+ ### 1. Launch the Interactive Dashboard
109
+ ```powershell
110
+ mws
111
+ ```
112
+ Output:
113
+ ```text
114
+ ============================================================================
115
+ 🚀 mcp-win-stdio — Windows Model Context Protocol Suite (v0.2.3)
116
+ ============================================================================
117
+
118
+ Single-Source Hub: C:\Users\admin\.mcp-win-stdio
119
+ Claude Desktop Config: C:\Users\admin\AppData\Roaming\Claude\claude_desktop_config.json
120
+ Claude Code CLI Config: C:\Users\admin\.claude.json
121
+ ----------------------------------------------------------------------------
122
+ SERVER STATUS TOOLS DESCRIPTION
123
+ ----------------------------------------------------------------------------
124
+ excel [Installed] 20 20 tools: Pandas queries, RapidFuzz...
125
+ word [Installed] 10 10 tools: multi-unit margins (in, cm...
126
+ explorer [Installed] 11 11 tools: token-safe collapsible tree...
127
+ tsc [Installed] 6 6 tools: background tsc compiler...
128
+ db [Installed] 20 20 tools: polyglot multi-server p...
129
+ git [Installed] 26 26 tools: Local Git branching, co...
130
+ ----------------------------------------------------------------------------
131
+ 💡 Quick Commands:
132
+ mws setup <server> -> Configure Claude Desktop & Claude Code CLI
133
+ mws guide <server> -> View complete tool reference & Claude prompts
134
+ mws doctor -> Run health checks (COM, Python, DB, Git)
135
+ mws run <server> -> Launch MCP server over stdio
136
+ mws list -> List all servers and custom plugins
137
+ ============================================================================
138
+ ```
139
+
140
+ ### 2. Configure a Server for Claude
141
+ ```powershell
142
+ mws setup git
143
+ # or:
144
+ mws add db
145
+ ```
146
+ `mws` verifies dependencies, generates absolute-path configurations (preventing Windows PATH lookup failures), and optionally writes directly to your Claude Desktop config with automatic backup.
147
+
148
+ ---
149
+
150
+ ## 📖 CLI Commands
151
+
152
+ | Command | Shorthand / Alternate Syntax | Description |
153
+ | :--- | :--- | :--- |
154
+ | `mws` | `mws list` | Displays interactive terminal home dashboard with server status and tips. |
155
+ | `mws setup <server>` | `mws add <server>` / `mws <server> setup` | Guides setup, verifies dependencies, and generates Claude config snippets. |
156
+ | `mws remove <server>` | `mws <server> remove` | Safely removes server(s) from Claude Desktop and CLI configs. |
157
+ | `mws guide [server]` | `mws <server> guide` | Prints tool reference, parameter schemas, and prompt recipes for Claude. |
158
+ | `mws doctor` | `mws <server> doctor` | Runs diagnostic health checks (Python, Git CLI, GitHub CLI, COM, DB drivers). |
159
+ | `mws run <server>` | `mws <server> run` | Launches the MCP server over stdio. |
160
+
161
+ > [!TIP]
162
+ > If `mws` is not yet in Windows `PATH`, all commands can be executed using Python's module runner:
163
+ > ```powershell
164
+ > python -m mcp_win_stdio run git
165
+ > python -m mcp_win_stdio guide db
166
+ > python -m mcp_win_stdio doctor
167
+ > ```
168
+
169
+ ---
170
+
171
+ ## 🛠️ The 6 MCP Servers (93 Tools)
172
+
173
+ ### 🐙 1. Git & GitHub MCP (`mcp_win_stdio.git`) — 26 Tools
174
+ * **Local Git Suite (16 Tools)**: `repo_overview`, `use_repo`, `list_repos`, `add_repo`, `git_status`, `git_diff`, `git_log`, `git_commit`, `git_branch`, `git_stash`, `git_sync`, `git_blame`, `git_reset`, `git_tag`, `git_grep`, `git_worktree`, `git_config`, `git_conflict_resolve`.
175
+ * **Remote GitHub CLI Suite (8 Tools)**: `gh_auth_status`, `gh_switch_account`, `gh_pr_list`, `gh_pr_view`, `gh_pr_diff`, `gh_issue_list`, `gh_run_status`, `gh_gist_create`.
176
+ * **Hybrid Synergy Workflows (2 Tools)**:
177
+ * `pr_quickstart`: Stage $\rightarrow$ Commit $\rightarrow$ Push $\rightarrow$ Create PR via `gh pr create` in one turn.
178
+ * `issue_start_work`: Fetches issue from GitHub and creates a linked local branch `feature/<id>-<slug>`.
179
+
180
+ ### 🗄️ 2. Polyglot Database MCP (`mcp_win_stdio.db`) — 20 Tools
181
+ * **Inspection & Resolution**: `list_connections`, `use_database`, `list_databases`, `list_schemas`, `describe_table` (auto cross-schema lookup), `schema_overview`, `get_table_sample`, `search_schema`.
182
+ * **Execution & Profiling**: `read_query` (safe SELECT with row counts), `execute_query` (DML/DDL transactions), `explain_query` (EXPLAIN plans), `get_database_stats`.
183
+ * **DBA Management**: `create_database`, `drop_database` (safety confirmation required), `clone_database` (instant PostgreSQL TEMPLATE clone), `terminate_connections`, `list_active_queries`.
184
+ * **Native Utilities**: `dump_database` (`pg_dump`/`mysqldump`), `restore_database` (`psql`/`mysql`).
185
+
186
+ ### 📊 3. Excel MCP (`mcp_win_stdio.excel`) — 20 Tools
187
+ * **Pandas Querying**: `query_rows`, `read_range`, `get_column_values`, `compare_column_values`, `summarize_column`, `search_text`.
188
+ * **Reconciliation**: `analyze_reconciliation_keys`, `reconcile_and_merge` (RapidFuzz fuzzy joins + 3-tab audit workbook).
189
+ * **OpenPyXL Editing**: `create_workbook`, `append_rows`, `add_sheet`, `rename_sheet`, `delete_sheet`, `update_cells`, `export_to_csv`, `export_to_json`.
190
+ * **Native Windows Excel COM**: `recalculate_and_save`, `export_to_pdf`, `refresh_data_and_pivots`, `run_vba_macro`, `get_active_excel_window`.
191
+
192
+ ### 📝 4. Word MCP (`mcp_win_stdio.word`) — 10 Tools
193
+ * **Layout Geometry**: `get_document_layout` (margins in inches, cm, mm, pt, paper format, multi-column layout, section breaks).
194
+ * **Typography & Spacing**: `get_paragraph_spacing_and_indentation`, `get_document_typography` (fonts, sizes in pt, hex colors).
195
+ * **Visuals & Tables**: `get_document_images` (inline vs floating anchor images, placement offsets, dimensions), `get_document_tables`, `get_headers_and_footers`.
196
+ * **Content & Search**: `read_word_document`, `search_word_document`, `get_document_outline`, `get_document_metadata`.
197
+
198
+ ### 📁 5. Workspace Explorer MCP (`mcp_win_stdio.explorer`) — 11 Tools
199
+ * **Token-Safe Navigation**: `list_dir`, `get_directory_tree` (collapses `node_modules`, `.next`, `dist`, `.git`).
200
+ * **Search**: `find_files` (glob matching), `fuzzy_find` (RapidFuzz typo-tolerant search), `grep_search` (in-file regex grep with context lines).
201
+ * **Code Intelligence**: `get_code_outline` (AST extractor for Python classes/methods and JS/TS signatures), `get_file_info`, `workspace_summary`, `export_tree_to_file`.
202
+ * **Safe Reading**: `read_file` (windowed line slicing, binary safeguard), `read_head_tail`.
203
+
204
+ ### ⚡ 6. TypeScript Diagnostic Watcher MCP (`mcp_win_stdio.tsc`) — 6 Tools
205
+ * **Instant Diagnostic Query**: `get_tsc_errors` (0ms in-memory cache), `get_file_errors`, `get_error_summary`.
206
+ * **Dynamic Watchers**: `list_watched_projects`, `watch_project(path)`, `restart_tsc_watcher`.
207
+
208
+ ---
209
+
210
+ ## 🔌 Custom Plugins from Other PCs
211
+
212
+ Have custom Python MCP scripts?
213
+ Simply place your script into:
214
+ ```text
215
+ %USERPROFILE%\.mcp-win-stdio\plugins\my_custom_mcp.py
216
+ ```
217
+ `mcp-win-stdio` automatically discovers it:
218
+ * View it in `mws list`
219
+ * Run it via `mws run my_custom_mcp`
220
+ * Add it to Claude via `mws setup my_custom_mcp`
221
+
222
+ ---
223
+
224
+ ## 📜 License
225
+ MIT License. Copyright (c) 2026 Mohan Kumar Indala.
@@ -0,0 +1,182 @@
1
+ # mcp-win-stdio
2
+
3
+ Windows-optimized **Model Context Protocol (MCP)** suite and interactive CLI hub (`mws`) for local `stdio` execution with transparent Claude Desktop & Claude Code CLI configuration.
4
+
5
+ [![PyPI Version](https://img.shields.io/pypi/v/mcp-win-stdio.svg)](https://pypi.org/project/mcp-win-stdio/)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
7
+ [![Python: 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/)
8
+
9
+ ---
10
+
11
+ ## 🌟 Highlights (93 Tools Across 6 Modular Servers)
12
+
13
+ * **Interactive CLI Hub (`mws`)**: Run `mws` alone to view all servers, live installation status (`[Installed]` vs `[Not Installed]`), and quick commands.
14
+ * **Safe, Transparent Setup (`mws setup <server>` / `mws add <server>`)**: Installs missing dependencies on-demand, generates exact copy-pasteable JSON configuration for Claude Desktop and Claude Code CLI, and asks confirmation before making any automated edits (always creating `.bak` backups).
15
+ * **Dynamic Guide Merging (`mws guide [server]`)**: View comprehensive tool schemas, prompt recipes, and diagnostic checks for individual servers (`mws git guide`, `mws db guide`) or all installed servers merged (`mws guide all`).
16
+ * **Git & GitHub MCP (26 Tools)**: Unified local Git repository management and remote GitHub CLI (`gh`) operations with hybrid synergy workflows (PR quickstart, issue branch start, 360° repo overview), token-safe diffs/logs, and Windows CRLF filtering.
17
+ * **Polyglot Database MCP (20 Tools)**: Unified PostgreSQL & MySQL database manager with cross-database switching, cross-schema auto-resolution, fast JSON queries, DBA administrative operations (safety-guarded DROP, CREATE, CLONE), active connection monitoring, and native dump/restore utilities.
18
+ * **Excel MCP (20 Tools)**: High-speed Pandas data queries, multi-column reconciliation with RapidFuzz, cell & formula editing, and native Windows Excel COM automation (PDF exports, recalculation, pivot refreshes, VBA macros).
19
+ * **Word MCP (10 Tools)**: Multi-unit page layout geometry (margins in inches, cm, mm, pt), multi-column layout analysis, paragraph spacing/indentation, typography (fonts, sizes, hex colors), and floating/inline header image extraction.
20
+ * **Workspace Explorer MCP (11 Tools)**: Token-safe directory exploration, collapsible heavy folders (`node_modules`, `.next`, `.git`), dynamic `.gitignore` parsing, in-file regex grep, RapidFuzz fuzzy search, and Python/TypeScript AST outline extraction.
21
+ * **TypeScript Diagnostic Watcher MCP (6 Tools)**: Persistent background `tsc` compiler watchers maintaining an in-memory cache for instantaneous (0ms latency) error inspection across multi-tsconfig projects.
22
+ * **Extensible User Plugins**: Drop any standalone Python MCP script into `~/.mcp-win-stdio/plugins/` and it is immediately discovered, runnable, and configurable.
23
+
24
+ ---
25
+
26
+ ## 📦 Modular Architecture & Installation
27
+
28
+ Each server is published as an independent, lightweight PyPI package. Installing any standalone package automatically installs the `mws` CLI orchestrator.
29
+
30
+ | Server | Standalone Package | Tools | Primary Capabilities |
31
+ | :--- | :--- | :---: | :--- |
32
+ | **Git & GitHub** | `pip install mcp-win-stdio-git` | 26 | Local Git branches, commits, diffs, conflicts + GitHub PRs, issues, Actions |
33
+ | **Database** | `pip install mcp-win-stdio-db` | 20 | PostgreSQL & MySQL pooling, cross-schema resolution, DBA management, dump/restore |
34
+ | **Excel** | `pip install mcp-win-stdio-excel` | 20 | Pandas queries, RapidFuzz reconciliation, OpenPyXL, native Excel COM automation |
35
+ | **Word** | `pip install mcp-win-stdio-word` | 10 | Margins (in, cm, mm, pt), multi-column IEEE layout, typography, image extraction |
36
+ | **Explorer** | `pip install mcp-win-stdio-explorer` | 11 | Token-safe tree, .gitignore resolution, in-file grep, AST outlines |
37
+ | **TypeScript** | `pip install mcp-win-stdio-tsc` | 6 | 0ms in-memory compilation error cache, multi-tsconfig watchers |
38
+
39
+ ### Install Individual Servers:
40
+ ```powershell
41
+ pip install mcp-win-stdio-git
42
+ pip install mcp-win-stdio-db
43
+ pip install mcp-win-stdio-excel
44
+ pip install mcp-win-stdio-word
45
+ pip install mcp-win-stdio-explorer
46
+ pip install mcp-win-stdio-tsc
47
+ ```
48
+
49
+ ### Or Install the Complete Suite:
50
+ ```powershell
51
+ pip install "mcp-win-stdio[all]"
52
+ ```
53
+
54
+ ### For Local Development:
55
+ ```powershell
56
+ git clone https://github.com/indala/mcp-win-stdio.git
57
+ cd mcp-win-stdio
58
+ pip install -e .
59
+ ```
60
+
61
+ ---
62
+
63
+ ## 🚀 Quick Start
64
+
65
+ ### 1. Launch the Interactive Dashboard
66
+ ```powershell
67
+ mws
68
+ ```
69
+ Output:
70
+ ```text
71
+ ============================================================================
72
+ 🚀 mcp-win-stdio — Windows Model Context Protocol Suite (v0.2.3)
73
+ ============================================================================
74
+
75
+ Single-Source Hub: C:\Users\admin\.mcp-win-stdio
76
+ Claude Desktop Config: C:\Users\admin\AppData\Roaming\Claude\claude_desktop_config.json
77
+ Claude Code CLI Config: C:\Users\admin\.claude.json
78
+ ----------------------------------------------------------------------------
79
+ SERVER STATUS TOOLS DESCRIPTION
80
+ ----------------------------------------------------------------------------
81
+ excel [Installed] 20 20 tools: Pandas queries, RapidFuzz...
82
+ word [Installed] 10 10 tools: multi-unit margins (in, cm...
83
+ explorer [Installed] 11 11 tools: token-safe collapsible tree...
84
+ tsc [Installed] 6 6 tools: background tsc compiler...
85
+ db [Installed] 20 20 tools: polyglot multi-server p...
86
+ git [Installed] 26 26 tools: Local Git branching, co...
87
+ ----------------------------------------------------------------------------
88
+ 💡 Quick Commands:
89
+ mws setup <server> -> Configure Claude Desktop & Claude Code CLI
90
+ mws guide <server> -> View complete tool reference & Claude prompts
91
+ mws doctor -> Run health checks (COM, Python, DB, Git)
92
+ mws run <server> -> Launch MCP server over stdio
93
+ mws list -> List all servers and custom plugins
94
+ ============================================================================
95
+ ```
96
+
97
+ ### 2. Configure a Server for Claude
98
+ ```powershell
99
+ mws setup git
100
+ # or:
101
+ mws add db
102
+ ```
103
+ `mws` verifies dependencies, generates absolute-path configurations (preventing Windows PATH lookup failures), and optionally writes directly to your Claude Desktop config with automatic backup.
104
+
105
+ ---
106
+
107
+ ## 📖 CLI Commands
108
+
109
+ | Command | Shorthand / Alternate Syntax | Description |
110
+ | :--- | :--- | :--- |
111
+ | `mws` | `mws list` | Displays interactive terminal home dashboard with server status and tips. |
112
+ | `mws setup <server>` | `mws add <server>` / `mws <server> setup` | Guides setup, verifies dependencies, and generates Claude config snippets. |
113
+ | `mws remove <server>` | `mws <server> remove` | Safely removes server(s) from Claude Desktop and CLI configs. |
114
+ | `mws guide [server]` | `mws <server> guide` | Prints tool reference, parameter schemas, and prompt recipes for Claude. |
115
+ | `mws doctor` | `mws <server> doctor` | Runs diagnostic health checks (Python, Git CLI, GitHub CLI, COM, DB drivers). |
116
+ | `mws run <server>` | `mws <server> run` | Launches the MCP server over stdio. |
117
+
118
+ > [!TIP]
119
+ > If `mws` is not yet in Windows `PATH`, all commands can be executed using Python's module runner:
120
+ > ```powershell
121
+ > python -m mcp_win_stdio run git
122
+ > python -m mcp_win_stdio guide db
123
+ > python -m mcp_win_stdio doctor
124
+ > ```
125
+
126
+ ---
127
+
128
+ ## 🛠️ The 6 MCP Servers (93 Tools)
129
+
130
+ ### 🐙 1. Git & GitHub MCP (`mcp_win_stdio.git`) — 26 Tools
131
+ * **Local Git Suite (16 Tools)**: `repo_overview`, `use_repo`, `list_repos`, `add_repo`, `git_status`, `git_diff`, `git_log`, `git_commit`, `git_branch`, `git_stash`, `git_sync`, `git_blame`, `git_reset`, `git_tag`, `git_grep`, `git_worktree`, `git_config`, `git_conflict_resolve`.
132
+ * **Remote GitHub CLI Suite (8 Tools)**: `gh_auth_status`, `gh_switch_account`, `gh_pr_list`, `gh_pr_view`, `gh_pr_diff`, `gh_issue_list`, `gh_run_status`, `gh_gist_create`.
133
+ * **Hybrid Synergy Workflows (2 Tools)**:
134
+ * `pr_quickstart`: Stage $\rightarrow$ Commit $\rightarrow$ Push $\rightarrow$ Create PR via `gh pr create` in one turn.
135
+ * `issue_start_work`: Fetches issue from GitHub and creates a linked local branch `feature/<id>-<slug>`.
136
+
137
+ ### 🗄️ 2. Polyglot Database MCP (`mcp_win_stdio.db`) — 20 Tools
138
+ * **Inspection & Resolution**: `list_connections`, `use_database`, `list_databases`, `list_schemas`, `describe_table` (auto cross-schema lookup), `schema_overview`, `get_table_sample`, `search_schema`.
139
+ * **Execution & Profiling**: `read_query` (safe SELECT with row counts), `execute_query` (DML/DDL transactions), `explain_query` (EXPLAIN plans), `get_database_stats`.
140
+ * **DBA Management**: `create_database`, `drop_database` (safety confirmation required), `clone_database` (instant PostgreSQL TEMPLATE clone), `terminate_connections`, `list_active_queries`.
141
+ * **Native Utilities**: `dump_database` (`pg_dump`/`mysqldump`), `restore_database` (`psql`/`mysql`).
142
+
143
+ ### 📊 3. Excel MCP (`mcp_win_stdio.excel`) — 20 Tools
144
+ * **Pandas Querying**: `query_rows`, `read_range`, `get_column_values`, `compare_column_values`, `summarize_column`, `search_text`.
145
+ * **Reconciliation**: `analyze_reconciliation_keys`, `reconcile_and_merge` (RapidFuzz fuzzy joins + 3-tab audit workbook).
146
+ * **OpenPyXL Editing**: `create_workbook`, `append_rows`, `add_sheet`, `rename_sheet`, `delete_sheet`, `update_cells`, `export_to_csv`, `export_to_json`.
147
+ * **Native Windows Excel COM**: `recalculate_and_save`, `export_to_pdf`, `refresh_data_and_pivots`, `run_vba_macro`, `get_active_excel_window`.
148
+
149
+ ### 📝 4. Word MCP (`mcp_win_stdio.word`) — 10 Tools
150
+ * **Layout Geometry**: `get_document_layout` (margins in inches, cm, mm, pt, paper format, multi-column layout, section breaks).
151
+ * **Typography & Spacing**: `get_paragraph_spacing_and_indentation`, `get_document_typography` (fonts, sizes in pt, hex colors).
152
+ * **Visuals & Tables**: `get_document_images` (inline vs floating anchor images, placement offsets, dimensions), `get_document_tables`, `get_headers_and_footers`.
153
+ * **Content & Search**: `read_word_document`, `search_word_document`, `get_document_outline`, `get_document_metadata`.
154
+
155
+ ### 📁 5. Workspace Explorer MCP (`mcp_win_stdio.explorer`) — 11 Tools
156
+ * **Token-Safe Navigation**: `list_dir`, `get_directory_tree` (collapses `node_modules`, `.next`, `dist`, `.git`).
157
+ * **Search**: `find_files` (glob matching), `fuzzy_find` (RapidFuzz typo-tolerant search), `grep_search` (in-file regex grep with context lines).
158
+ * **Code Intelligence**: `get_code_outline` (AST extractor for Python classes/methods and JS/TS signatures), `get_file_info`, `workspace_summary`, `export_tree_to_file`.
159
+ * **Safe Reading**: `read_file` (windowed line slicing, binary safeguard), `read_head_tail`.
160
+
161
+ ### ⚡ 6. TypeScript Diagnostic Watcher MCP (`mcp_win_stdio.tsc`) — 6 Tools
162
+ * **Instant Diagnostic Query**: `get_tsc_errors` (0ms in-memory cache), `get_file_errors`, `get_error_summary`.
163
+ * **Dynamic Watchers**: `list_watched_projects`, `watch_project(path)`, `restart_tsc_watcher`.
164
+
165
+ ---
166
+
167
+ ## 🔌 Custom Plugins from Other PCs
168
+
169
+ Have custom Python MCP scripts?
170
+ Simply place your script into:
171
+ ```text
172
+ %USERPROFILE%\.mcp-win-stdio\plugins\my_custom_mcp.py
173
+ ```
174
+ `mcp-win-stdio` automatically discovers it:
175
+ * View it in `mws list`
176
+ * Run it via `mws run my_custom_mcp`
177
+ * Add it to Claude via `mws setup my_custom_mcp`
178
+
179
+ ---
180
+
181
+ ## 📜 License
182
+ MIT License. Copyright (c) 2026 Mohan Kumar Indala.
@@ -0,0 +1,92 @@
1
+ # mcp-win-stdio-db
2
+
3
+ Unified Database Model Context Protocol (MCP) server for **PostgreSQL** and **MySQL** with multi-server in-memory pooling, sibling database auto-derivation, cross-schema resolution, and complete DBA operations.
4
+
5
+ Part of the **`mcp-win-stdio`** Windows-optimized suite.
6
+
7
+ ---
8
+
9
+ ## 🚀 Features (20 Tools)
10
+
11
+ - **Polyglot Database Engine**: Handles PostgreSQL (`psycopg2`) and MySQL (`pymysql`) transparently side-by-side.
12
+ - **In-Memory Connection Pooling**: Fast continuous queries with zero reconnection latency and persistent `use_database` sticky state.
13
+ - **Detailed Diagnostic Error Reporting**: Forwards native PostgreSQL error codes (e.g. 23503 FK violation), offending constraint names, column names, and error details directly to Claude so issues can be diagnosed immediately.
14
+ - **Sibling Database Auto-Derivation**: On PostgreSQL (`localhost:5432`), auto-discovers sibling databases (`showreel`, `dsr`, `location_booking`, `sap`, etc.) on the fly.
15
+ - **DBA & Management Tools**: `create_database`, `drop_database` (with safety guard), `clone_database` (instant template clone), `terminate_connections`, `list_active_queries`, `dump_database`, and `restore_database`.
16
+ - **Self-Contained `SERVERS` JSON**: Configure multiple database instances in one environment variable without external files.
17
+
18
+ ---
19
+
20
+ ## 🛠️ Included Tools (20 Tools)
21
+
22
+ 1. `list_connections`: Lists all active and configured database connections.
23
+ 2. `use_database`: Switches active connection or switches database on current server.
24
+ 3. `list_databases`: Lists all databases on the active server.
25
+ 4. `list_schemas`: Lists all schemas in the active PostgreSQL database.
26
+ 5. `describe_table`: Detailed schema inspection (columns, nullability, PKs, FKs, indexes). Auto-resolves cross-schema tables in PostgreSQL.
27
+ 6. `schema_overview`: Compact overview of all user tables and views.
28
+ 7. `get_table_sample`: Returns sample rows and estimated row count.
29
+ 8. `search_schema`: Case-insensitive regex search for table, view, or column names.
30
+ 9. `read_query`: Safe SELECT queries returning structured JSON with row counts.
31
+ 10. `execute_query`: Executes DML / DDL statements with transaction commit/rollback and detailed error forwarding.
32
+ 11. `explain_query`: Generates EXPLAIN query execution plan.
33
+ 12. `get_database_stats`: Table sizes, row estimates, index sizes, and total database size.
34
+ 13. `add_connection`: Dynamically adds a new PostgreSQL or MySQL connection string at runtime.
35
+ 14. `create_database`: Creates a new database on the active server.
36
+ 15. `drop_database`: Safety-guarded DROP DATABASE (requires `confirmName` matching target name).
37
+ 16. `clone_database`: Fast database cloning using PostgreSQL TEMPLATE mechanism.
38
+ 17. `terminate_connections`: Terminates active connections to a specific database (PostgreSQL only).
39
+ 18. `list_active_queries`: Lists running queries, connection duration, and process IDs.
40
+ 19. `dump_database`: Dumps database to SQL file using native `pg_dump` or `mysqldump`.
41
+ 20. `restore_database`: Restores database from SQL dump file using native `psql` or `mysql`.
42
+
43
+ ---
44
+
45
+ ## 📦 Installation
46
+
47
+ ```powershell
48
+ pip install mcp-win-stdio-db
49
+ ```
50
+ *(Installing this package automatically installs `mws` CLI orchestrator)*.
51
+
52
+ ---
53
+
54
+ ## 🚀 One-Command Claude Setup
55
+
56
+ ```powershell
57
+ mws setup db
58
+ # or:
59
+ mws add db
60
+ ```
61
+
62
+ ### Manual Configuration Example
63
+ In `%APPDATA%\Claude\claude_desktop_config.json`:
64
+ ```json
65
+ {
66
+ "mcpServers": {
67
+ "db": {
68
+ "command": "python",
69
+ "args": ["-m", "mcp_win_stdio.db"],
70
+ "env": {
71
+ "SERVERS": "{\"postgres\":\"postgresql://postgres:password@localhost:5432/mydb\",\"mysql\":\"mysql://user:pass@localhost:3306/mydb\"}"
72
+ }
73
+ }
74
+ }
75
+ }
76
+ ```
77
+
78
+ ---
79
+
80
+ ## 📖 CLI Commands & Interactive Guide
81
+
82
+ ```powershell
83
+ mws db guide # Complete tool reference & prompt recipes
84
+ mws db doctor # Verify PostgreSQL/MySQL adapters and native dump tools
85
+ mws db setup # Configure Claude Desktop / Claude Code
86
+ mws db run # Launch server over stdio
87
+ ```
88
+
89
+ ---
90
+
91
+ ## 📜 License
92
+ MIT License. Copyright (c) 2026 Mohan Kumar Indala.