mcp-code-indexer 1.0.1__py3-none-any.whl → 1.0.2__py3-none-any.whl
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.
- mcp_code_indexer/__init__.py +1 -1
- mcp_code_indexer/main.py +6 -3
- {mcp_code_indexer-1.0.1.dist-info → mcp_code_indexer-1.0.2.dist-info}/METADATA +2 -1
- {mcp_code_indexer-1.0.1.dist-info → mcp_code_indexer-1.0.2.dist-info}/RECORD +8 -8
- {mcp_code_indexer-1.0.1.dist-info → mcp_code_indexer-1.0.2.dist-info}/WHEEL +0 -0
- {mcp_code_indexer-1.0.1.dist-info → mcp_code_indexer-1.0.2.dist-info}/entry_points.txt +0 -0
- {mcp_code_indexer-1.0.1.dist-info → mcp_code_indexer-1.0.2.dist-info}/licenses/LICENSE +0 -0
- {mcp_code_indexer-1.0.1.dist-info → mcp_code_indexer-1.0.2.dist-info}/top_level.txt +0 -0
mcp_code_indexer/__init__.py
CHANGED
@@ -6,7 +6,7 @@ intelligent codebase navigation through searchable file descriptions,
|
|
6
6
|
token-aware overviews, and advanced merge capabilities.
|
7
7
|
"""
|
8
8
|
|
9
|
-
__version__ = "1.0.
|
9
|
+
__version__ = "1.0.2"
|
10
10
|
__author__ = "MCP Code Indexer Contributors"
|
11
11
|
__email__ = ""
|
12
12
|
__license__ = "MIT"
|
mcp_code_indexer/main.py
CHANGED
@@ -84,7 +84,7 @@ async def main() -> None:
|
|
84
84
|
db_path.parent.mkdir(parents=True, exist_ok=True)
|
85
85
|
cache_dir.mkdir(parents=True, exist_ok=True)
|
86
86
|
|
87
|
-
# Log startup information
|
87
|
+
# Log startup information to stderr (stdout reserved for MCP JSON-RPC)
|
88
88
|
logger.info("Starting MCP Code Index Server", extra={
|
89
89
|
"structured_data": {
|
90
90
|
"startup": {
|
@@ -119,9 +119,12 @@ def cli_main():
|
|
119
119
|
try:
|
120
120
|
asyncio.run(main())
|
121
121
|
except KeyboardInterrupt:
|
122
|
-
|
122
|
+
# For MCP servers, we should avoid stdout completely
|
123
|
+
# The server will log shutdown through stderr
|
124
|
+
pass
|
123
125
|
except Exception as e:
|
124
|
-
|
126
|
+
# Log critical errors to stderr, not stdout
|
127
|
+
print(f"Server failed to start: {e}", file=sys.stderr)
|
125
128
|
sys.exit(1)
|
126
129
|
|
127
130
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: mcp-code-indexer
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.2
|
4
4
|
Summary: MCP server that tracks file descriptions across codebases, enabling AI agents to efficiently navigate and understand code through searchable summaries and token-aware overviews.
|
5
5
|
Author: MCP Code Indexer Contributors
|
6
6
|
Maintainer: MCP Code Indexer Contributors
|
@@ -187,6 +187,7 @@ The server provides **8 powerful MCP tools** for intelligent codebase management
|
|
187
187
|
### Production Ready
|
188
188
|
- **Comprehensive error handling** with structured JSON logging
|
189
189
|
- **Async-first design** with proper resource cleanup
|
190
|
+
- **MCP protocol compliant** with clean stdio streams
|
190
191
|
- **Upstream inheritance** for fork workflows
|
191
192
|
- **Git integration** with .gitignore support
|
192
193
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
mcp_code_indexer/__init__.py,sha256=
|
1
|
+
mcp_code_indexer/__init__.py,sha256=SqtCXmJGZ4zdPgDrCETFKwiyVSEH6W4EOApSFwdTAY0,473
|
2
2
|
mcp_code_indexer/error_handler.py,sha256=cNSUFFrGBMLDv4qa78c7495L1wSl_dXCRbzCJOidx-Q,11590
|
3
3
|
mcp_code_indexer/file_scanner.py,sha256=1Z6wq7H14V1OMAHIF4v9G7SY8hC1puDmU5IXsCKH4kU,11442
|
4
4
|
mcp_code_indexer/logging_config.py,sha256=5L1cYIG8IAX91yCjc5pzkbO_KPt0bvm_ABHB53LBZjI,5184
|
5
|
-
mcp_code_indexer/main.py,sha256=
|
5
|
+
mcp_code_indexer/main.py,sha256=TJHyXc0mchaIyF5ABo24kcT8Sv1PsJibHVZoznGbrxo,3619
|
6
6
|
mcp_code_indexer/merge_handler.py,sha256=lJR8eVq2qSrF6MW9mR3Fy8UzrNAaQ7RsI2FMNXne3vQ,14692
|
7
7
|
mcp_code_indexer/token_counter.py,sha256=WrifOkbF99nWWHlRlhCHAB2KN7qr83GOHl7apE-hJcE,8460
|
8
8
|
mcp_code_indexer/database/__init__.py,sha256=aPq_aaRp0aSwOBIq9GkuMNjmLxA411zg2vhdrAuHm-w,38
|
@@ -14,9 +14,9 @@ mcp_code_indexer/server/__init__.py,sha256=16xMcuriUOBlawRqWNBk6niwrvtv_JD5xvI36
|
|
14
14
|
mcp_code_indexer/server/mcp_server.py,sha256=6wm4XKfTLSpfHP9GpCqwWsekQFwwo9ngqM-ZXiJidx4,33424
|
15
15
|
mcp_code_indexer/tiktoken_cache/9b5ad71b2ce5302211f9c61530b329a4922fc6a4,sha256=Ijkht27pm96ZW3_3OFE-7xAPtR0YyTWXoRO8_-hlsqc,1681126
|
16
16
|
mcp_code_indexer/tools/__init__.py,sha256=m01mxML2UdD7y5rih_XNhNSCMzQTz7WQ_T1TeOcYlnE,49
|
17
|
-
mcp_code_indexer-1.0.
|
18
|
-
mcp_code_indexer-1.0.
|
19
|
-
mcp_code_indexer-1.0.
|
20
|
-
mcp_code_indexer-1.0.
|
21
|
-
mcp_code_indexer-1.0.
|
22
|
-
mcp_code_indexer-1.0.
|
17
|
+
mcp_code_indexer-1.0.2.dist-info/licenses/LICENSE,sha256=JN9dyPPgYwH9C-UjYM7FLNZjQ6BF7kAzpF3_4PwY4rY,1086
|
18
|
+
mcp_code_indexer-1.0.2.dist-info/METADATA,sha256=u-yHVXuTl_y5Qkrb4vWMBkQWmuS6OUB2RtrzwvsnimU,11930
|
19
|
+
mcp_code_indexer-1.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
20
|
+
mcp_code_indexer-1.0.2.dist-info/entry_points.txt,sha256=8HqWOw1Is7jOP1bvIgaSwouvT9z_Boe-9hd4NzyJOhY,68
|
21
|
+
mcp_code_indexer-1.0.2.dist-info/top_level.txt,sha256=yKYCM-gMGt-cnupGfAhnZaoEsROLB6DQ1KFUuyKx4rw,17
|
22
|
+
mcp_code_indexer-1.0.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|