File tree Expand file tree Collapse file tree 2 files changed +33
-11
lines changed Expand file tree Collapse file tree 2 files changed +33
-11
lines changed Original file line number Diff line number Diff line change @@ -77,12 +77,9 @@ You can easily integrate Code Index MCP with Claude Desktop:
77
77
{
78
78
"mcpServers" : {
79
79
"code-indexer" : {
80
- "command" : " uv " ,
80
+ "command" : " uvx " ,
81
81
"args" : [
82
- " --directory" ,
83
- " C:\\ Users\\ username\\ path\\ to\\ code-index-mcp" ,
84
- " run" ,
85
- " run.py"
82
+ " C:\\ Users\\ username\\ path\\ to\\ code-index-mcp"
86
83
]
87
84
}
88
85
}
@@ -95,19 +92,16 @@ You can easily integrate Code Index MCP with Claude Desktop:
95
92
{
96
93
"mcpServers" : {
97
94
"code-indexer" : {
98
- "command" : " uv " ,
95
+ "command" : " uvx " ,
99
96
"args" : [
100
- " --directory" ,
101
- " /home/username/path/to/code-index-mcp" ,
102
- " run" ,
103
- " run.py"
97
+ " /Users/username/path/to/code-index-mcp"
104
98
]
105
99
}
106
100
}
107
101
}
108
102
```
109
103
110
- ** Note** : The ` --directory ` option is important as it ensures uv runs in the correct project directory and can properly load all dependencies .
104
+ ** Note** : The tool can also be run directly with ` uv run run.py ` which may be useful for development and debugging .
111
105
112
106
#### Option 2: Using Docker (Containerized)
113
107
Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [" setuptools>=61.0" ]
3
+ build-backend = " setuptools.build_meta"
4
+
5
+ [project ]
6
+ name = " code-index-mcp"
7
+ version = " 0.1.0"
8
+ description = " Code indexing and analysis tools for LLMs using MCP"
9
+ readme = " README.md"
10
+ requires-python = " >=3.10"
11
+ license = {text = " MIT" }
12
+ authors = [
13
+ {name = " Your Name" , email = " your.email@example.com" }
14
+ ]
15
+ dependencies = [
16
+ " mcp>=0.3.0" ,
17
+ ]
18
+
19
+ [project .urls ]
20
+ Homepage = " https://github.com/yourusername/code-index-mcp"
21
+ "Bug Tracker" = " https://github.com/yourusername/code-index-mcp/issues"
22
+
23
+ [project .scripts ]
24
+ code-indexer = " code_index_mcp.server:main"
25
+ uvx = " code_index_mcp.server:main"
26
+
27
+ [tool .setuptools ]
28
+ package-dir = {"" = " src" }
You can’t perform that action at this time.
0 commit comments