codegraphcontext 0.1.2__tar.gz → 0.1.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.
- {codegraphcontext-0.1.2/src/codegraphcontext.egg-info → codegraphcontext-0.1.3}/PKG-INFO +1 -1
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/pyproject.toml +1 -1
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/cli/setup_wizard.py +13 -4
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3/src/codegraphcontext.egg-info}/PKG-INFO +1 -1
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/LICENSE +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/README.md +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/setup.cfg +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/__init__.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/__main__.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/cli/__init__.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/cli/main.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/core/__init__.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/core/database.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/core/jobs.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/core/watcher.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/prompts.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/server.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/tools/__init__.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/tools/code_finder.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/tools/graph_builder.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/tools/import_extractor.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/tools/system.py +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext.egg-info/SOURCES.txt +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext.egg-info/dependency_links.txt +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext.egg-info/entry_points.txt +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext.egg-info/requires.txt +0 -0
- {codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codegraphcontext
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: An MCP server that indexes local code into a graph database to provide context to AI assistants.
|
|
5
5
|
Author-email: Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "codegraphcontext"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.3"
|
|
4
4
|
description = "An MCP server that indexes local code into a graph database to provide context to AI assistants."
|
|
5
5
|
authors = [{ name = "Shashank Shekhar Singh", email = "shashankshekharsingh1205@gmail.com" }]
|
|
6
6
|
readme = "README.md"
|
|
@@ -7,18 +7,27 @@ from pathlib import Path
|
|
|
7
7
|
import time
|
|
8
8
|
import json
|
|
9
9
|
import sys
|
|
10
|
+
import shutil
|
|
10
11
|
|
|
11
12
|
console = Console()
|
|
12
13
|
|
|
13
14
|
def _generate_mcp_json(creds):
|
|
14
15
|
"""Generates and prints the MCP JSON configuration."""
|
|
15
|
-
cgc_path =
|
|
16
|
-
|
|
16
|
+
cgc_path = shutil.which("cgc") or sys.executable
|
|
17
|
+
|
|
18
|
+
if "python" in Path(cgc_path).name:
|
|
19
|
+
# fallback to running as module if no cgc binary is found
|
|
20
|
+
command = cgc_path
|
|
21
|
+
args = ["-m", "cgc", "start"]
|
|
22
|
+
else:
|
|
23
|
+
command = cgc_path
|
|
24
|
+
args = ["start"]
|
|
25
|
+
|
|
17
26
|
mcp_config = {
|
|
18
27
|
"mcpServers": {
|
|
19
28
|
"CodeGraphContext": {
|
|
20
|
-
"command":
|
|
21
|
-
"args":
|
|
29
|
+
"command": command,
|
|
30
|
+
"args": args,
|
|
22
31
|
"env": {
|
|
23
32
|
"NEO4J_URI": creds.get("uri", ""),
|
|
24
33
|
"NEO4J_USER": creds.get("username", "neo4j"),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codegraphcontext
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: An MCP server that indexes local code into a graph database to provide context to AI assistants.
|
|
5
5
|
Author-email: Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
|
|
6
6
|
License: MIT License
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/tools/graph_builder.py
RENAMED
|
File without changes
|
{codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext/tools/import_extractor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext.egg-info/requires.txt
RENAMED
|
File without changes
|
{codegraphcontext-0.1.2 → codegraphcontext-0.1.3}/src/codegraphcontext.egg-info/top_level.txt
RENAMED
|
File without changes
|