mcp-code-indexer 1.6.3__py3-none-any.whl → 1.6.4__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.
@@ -6,7 +6,30 @@ intelligent codebase navigation through searchable file descriptions,
6
6
  token-aware overviews, and advanced merge capabilities.
7
7
  """
8
8
 
9
- __version__ = "1.6.0"
9
+ def _get_version() -> str:
10
+ """Read version from pyproject.toml."""
11
+ try:
12
+ from pathlib import Path
13
+ import sys
14
+
15
+ if sys.version_info >= (3, 11):
16
+ import tomllib
17
+ else:
18
+ try:
19
+ import tomli as tomllib
20
+ except ImportError:
21
+ # Fallback if tomli not available
22
+ return "1.6.3"
23
+
24
+ pyproject_path = Path(__file__).parent.parent.parent / "pyproject.toml"
25
+ with open(pyproject_path, "rb") as f:
26
+ data = tomllib.load(f)
27
+ return data["project"]["version"]
28
+ except Exception:
29
+ # Return dev version if reading fails - indicates something is wrong
30
+ return "dev"
31
+
32
+ __version__ = _get_version()
10
33
  __author__ = "MCP Code Indexer Contributors"
11
34
  __email__ = ""
12
35
  __license__ = "MIT"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-code-indexer
3
- Version: 1.6.3
3
+ Version: 1.6.4
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
@@ -37,6 +37,7 @@ Requires-Dist: aiofiles==23.2.0
37
37
  Requires-Dist: aiosqlite==0.19.0
38
38
  Requires-Dist: aiohttp>=3.8.0
39
39
  Requires-Dist: tenacity>=8.0.0
40
+ Requires-Dist: tomli>=1.2.0; python_version < "3.11"
40
41
  Provides-Extra: dev
41
42
  Requires-Dist: pytest>=8.0.0; extra == "dev"
42
43
  Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
@@ -57,8 +58,8 @@ Dynamic: requires-python
57
58
 
58
59
  # MCP Code Indexer 🚀
59
60
 
60
- [![PyPI version](https://badge.fury.io/py/mcp-code-indexer.svg?7)](https://badge.fury.io/py/mcp-code-indexer)
61
- [![Python](https://img.shields.io/pypi/pyversions/mcp-code-indexer.svg?7)](https://pypi.org/project/mcp-code-indexer/)
61
+ [![PyPI version](https://badge.fury.io/py/mcp-code-indexer.svg?8)](https://badge.fury.io/py/mcp-code-indexer)
62
+ [![Python](https://img.shields.io/pypi/pyversions/mcp-code-indexer.svg?8)](https://pypi.org/project/mcp-code-indexer/)
62
63
  [![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
63
64
 
64
65
  A production-ready **Model Context Protocol (MCP) server** that revolutionizes how AI agents navigate and understand codebases. Instead of repeatedly scanning files, agents get instant access to intelligent descriptions, semantic search, and context-aware recommendations.
@@ -1,4 +1,4 @@
1
- mcp_code_indexer/__init__.py,sha256=DKmuPpw8URDyojC4T1bttK8kGMI9lv_-B9UYP8dqb90,473
1
+ mcp_code_indexer/__init__.py,sha256=SU45gRHPAbnxF_uFcUqrUZpf-z3Rgb6-WnMElc6_Ais,1205
2
2
  mcp_code_indexer/__main__.py,sha256=4Edinoe0ug43hobuLYcjTmGp2YJnlFYN4_8iKvUBJ0Q,213
3
3
  mcp_code_indexer/error_handler.py,sha256=cNSUFFrGBMLDv4qa78c7495L1wSl_dXCRbzCJOidx-Q,11590
4
4
  mcp_code_indexer/file_scanner.py,sha256=ctXeZMROgDThEtjzsANTK9TbK-fhTScMBd4iyuleBT4,11734
@@ -17,9 +17,9 @@ mcp_code_indexer/server/__init__.py,sha256=16xMcuriUOBlawRqWNBk6niwrvtv_JD5xvI36
17
17
  mcp_code_indexer/server/mcp_server.py,sha256=4goDZmRmhPgipImgfhTVa6nYJM7L1p56h34ITO6JhSw,64431
18
18
  mcp_code_indexer/tiktoken_cache/9b5ad71b2ce5302211f9c61530b329a4922fc6a4,sha256=Ijkht27pm96ZW3_3OFE-7xAPtR0YyTWXoRO8_-hlsqc,1681126
19
19
  mcp_code_indexer/tools/__init__.py,sha256=m01mxML2UdD7y5rih_XNhNSCMzQTz7WQ_T1TeOcYlnE,49
20
- mcp_code_indexer-1.6.3.dist-info/licenses/LICENSE,sha256=JN9dyPPgYwH9C-UjYM7FLNZjQ6BF7kAzpF3_4PwY4rY,1086
21
- mcp_code_indexer-1.6.3.dist-info/METADATA,sha256=s_CKzfJvwMlG268-RA6k2LbAvpA6NxLLuHGPCOamLVk,17453
22
- mcp_code_indexer-1.6.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
- mcp_code_indexer-1.6.3.dist-info/entry_points.txt,sha256=8HqWOw1Is7jOP1bvIgaSwouvT9z_Boe-9hd4NzyJOhY,68
24
- mcp_code_indexer-1.6.3.dist-info/top_level.txt,sha256=yKYCM-gMGt-cnupGfAhnZaoEsROLB6DQ1KFUuyKx4rw,17
25
- mcp_code_indexer-1.6.3.dist-info/RECORD,,
20
+ mcp_code_indexer-1.6.4.dist-info/licenses/LICENSE,sha256=JN9dyPPgYwH9C-UjYM7FLNZjQ6BF7kAzpF3_4PwY4rY,1086
21
+ mcp_code_indexer-1.6.4.dist-info/METADATA,sha256=g5ZfSw7EbJhrpVS4lDacemu-7THx06oP0s7Xv0PnItU,17506
22
+ mcp_code_indexer-1.6.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
+ mcp_code_indexer-1.6.4.dist-info/entry_points.txt,sha256=8HqWOw1Is7jOP1bvIgaSwouvT9z_Boe-9hd4NzyJOhY,68
24
+ mcp_code_indexer-1.6.4.dist-info/top_level.txt,sha256=yKYCM-gMGt-cnupGfAhnZaoEsROLB6DQ1KFUuyKx4rw,17
25
+ mcp_code_indexer-1.6.4.dist-info/RECORD,,