Skip to content

Commit 2222c5b

Browse files
committed
docs: update all references from codeprism-mcp-server to codeprism binary
Comprehensive update to align all documentation, test specs, and examples with the new binary name 'codeprism': Configuration Updates: - Update test-harness.yaml and test-harness-fixed.yaml to use 'codeprism --mcp' - Update codeprism-moth-specs to use correct binary and args - Update comprehensive test files to spawn correct binary Documentation Updates: - README.md: Update all examples to use 'codeprism' with --mcp flag - Update download URLs to reflect new binary naming (codeprism-*) - Update Claude Desktop config examples with proper args structure - docs/: Update all command examples across documentation Docusaurus Documentation: - Update all .md files in codeprism-docs/ to use 'codeprism --mcp' - Update configuration examples in getting-started guides - Update tools documentation and integration examples Behavioral Note: - SERVER_NAME constant kept as 'codeprism-mcp-server' for MCP protocol identification - Binary name is now 'codeprism' for clean user experience - All usage now follows pattern: 'codeprism --mcp' for server mode This completes the binary rename alignment across all project documentation and configuration files.
1 parent f03ad13 commit 2222c5b

File tree

10 files changed

+41
-36
lines changed

10 files changed

+41
-36
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ cd codeprism
142142
cargo build --release
143143

144144
# Verify installation
145-
./target/release/codeprism-mcp-server --help
145+
./target/release/codeprism --help
146146
```
147147

148148
**⚠️ Development Note**: This project enforces strict implementation completeness standards via git pre-commit hooks. All commits must contain complete, functional implementations with zero placeholder code. The existing `.git/hooks/pre-commit` script automatically validates code quality and implementation completeness.
@@ -157,7 +157,8 @@ cargo build --release
157157
{
158158
"mcpServers": {
159159
"codeprism": {
160-
"command": "/path/to/codeprism/target/release/codeprism-mcp-server",
160+
"command": "/path/to/codeprism/target/release/codeprism",
161+
"args": ["--mcp"],
161162
"env": {
162163
"CODEPRISM_PROFILE": "development",
163164
"RUST_LOG": "info"
@@ -173,7 +174,8 @@ cargo build --release
173174
{
174175
"mcpServers": {
175176
"codeprism": {
176-
"command": "/path/to/codeprism/target/release/codeprism-mcp-server",
177+
"command": "/path/to/codeprism/target/release/codeprism",
178+
"args": ["--mcp"],
177179
"env": {
178180
"CODEPRISM_PROFILE": "development",
179181
"RUST_LOG": "info"
@@ -188,7 +190,7 @@ cargo build --release
188190
# Set configuration and run
189191
export CODEPRISM_PROFILE=development
190192
export RUST_LOG=info
191-
./target/release/codeprism-mcp-server
193+
./target/release/codeprism --mcp
192194
```
193195

194196
## 🛠️ Available Tools
@@ -398,14 +400,14 @@ cargo install codeprism-mcp-server
398400
**Download Binary:**
399401
```bash
400402
# Linux x86_64
401-
wget https://github.com/rustic-ai/codeprism/releases/latest/download/codeprism-mcp-server-linux-x86_64
402-
chmod +x codeprism-mcp-server-linux-x86_64
403+
wget https://github.com/rustic-ai/codeprism/releases/latest/download/codeprism-linux-x86_64
404+
chmod +x codeprism-linux-x86_64
403405

404406
# macOS
405-
wget https://github.com/rustic-ai/codeprism/releases/latest/download/codeprism-mcp-server-macos-x86_64
407+
wget https://github.com/rustic-ai/codeprism/releases/latest/download/codeprism-macos-x86_64
406408

407409
# Windows
408-
# Download from: https://github.com/rustic-ai/codeprism/releases/latest/download/codeprism-mcp-server-windows-x86_64.exe
410+
# Download from: https://github.com/rustic-ai/codeprism/releases/latest/download/codeprism-windows-x86_64.exe
409411
```
410412

411413
**Docker:**

codeprism-docs/docs/mcp-server/getting-started/large-repositories.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This means for most repositories, you can simply run:
2121
```bash
2222
export CODEPRISM_PROFILE=development
2323
export REPOSITORY_PATH=/path/to/your/repository
24-
./target/release/codeprism-mcp-server
24+
./target/release/codeprism --mcp
2525
```
2626

2727
## Default Configuration
@@ -114,7 +114,7 @@ graph TD
114114
```bash
115115
export CODEPRISM_PROFILE=development
116116
export REPOSITORY_PATH=/path/to/repo
117-
./target/release/codeprism-mcp-server
117+
./target/release/codeprism --mcp
118118
```
119119
- **Excludes**: All dependency directories (`.tox`, `venv`, `node_modules`, etc.)
120120
- **Pros**: Fast indexing, low memory usage, focuses on your code
@@ -125,7 +125,7 @@ export REPOSITORY_PATH=/path/to/repo
125125
export CODEPRISM_PROFILE=development
126126
export CODEPRISM_DEPENDENCY_MODE=smart
127127
export REPOSITORY_PATH=/path/to/repo
128-
./target/release/codeprism-mcp-server
128+
./target/release/codeprism --mcp
129129
```
130130
- **Includes**: Public APIs and commonly used dependency files only
131131
- **Excludes**: Internal implementation details, tests, documentation
@@ -138,7 +138,7 @@ export REPOSITORY_PATH=/path/to/repo
138138
export CODEPRISM_PROFILE=production
139139
export CODEPRISM_DEPENDENCY_MODE=include_all
140140
export REPOSITORY_PATH=/path/to/repo
141-
./target/release/codeprism-mcp-server
141+
./target/release/codeprism --mcp
142142
```
143143
- **Includes**: Everything including full dependency source code
144144
- **Pros**: Complete code intelligence, full import following, comprehensive analysis
@@ -163,7 +163,7 @@ export CODEPRISM_PROFILE=development
163163
export CODEPRISM_MEMORY_LIMIT_MB=4096
164164
export CODEPRISM_DEPENDENCY_MODE=smart
165165
export REPOSITORY_PATH=/path/to/repo
166-
./target/release/codeprism-mcp-server
166+
./target/release/codeprism --mcp
167167
```
168168

169169
2. **Use complete analysis** when you need full dependency intelligence:
@@ -172,14 +172,14 @@ export CODEPRISM_PROFILE=production
172172
export CODEPRISM_MEMORY_LIMIT_MB=8192
173173
export CODEPRISM_DEPENDENCY_MODE=include_all
174174
export REPOSITORY_PATH=/path/to/repo
175-
./target/release/codeprism-mcp-server
175+
./target/release/codeprism --mcp
176176
```
177177

178178
3. **Use minimal mode** for CI/CD or when performance is critical:
179179
```bash
180180
export CODEPRISM_PROFILE=development
181181
export REPOSITORY_PATH=/path/to/repo
182-
./target/release/codeprism-mcp-server # Default
182+
./target/release/codeprism --mcp # Default
183183
```
184184

185185
### Very Large Repositories (>50,000 files)
@@ -188,7 +188,7 @@ export CODEPRISM_PROFILE=enterprise
188188
export CODEPRISM_MEMORY_LIMIT_MB=8192
189189
export CODEPRISM_BATCH_SIZE=20
190190
export REPOSITORY_PATH=/path/to/huge/repo
191-
./target/release/codeprism-mcp-server
191+
./target/release/codeprism --mcp
192192
```
193193

194194
### Specific Language Focus
@@ -197,13 +197,13 @@ export REPOSITORY_PATH=/path/to/huge/repo
197197
export CODEPRISM_PROFILE=development
198198
export CODEPRISM_INCLUDE_EXTENSIONS="py,js,ts"
199199
export REPOSITORY_PATH=/path/to/repo
200-
./target/release/codeprism-mcp-server
200+
./target/release/codeprism --mcp
201201

202202
# Only Rust projects
203203
export CODEPRISM_PROFILE=development
204204
export CODEPRISM_INCLUDE_EXTENSIONS="rs,toml"
205205
export REPOSITORY_PATH=/path/to/repo
206-
./target/release/codeprism-mcp-server
206+
./target/release/codeprism --mcp
207207
```
208208

209209
### Memory-Constrained Systems
@@ -213,7 +213,7 @@ export CODEPRISM_PROFILE=development
213213
export CODEPRISM_MEMORY_LIMIT_MB=2048
214214
export CODEPRISM_BATCH_SIZE=15
215215
export REPOSITORY_PATH=/path/to/repo
216-
./target/release/codeprism-mcp-server
216+
./target/release/codeprism --mcp
217217
```
218218

219219
### Include All File Types
@@ -222,7 +222,7 @@ export REPOSITORY_PATH=/path/to/repo
222222
export CODEPRISM_PROFILE=development
223223
export CODEPRISM_INCLUDE_EXTENSIONS="*"
224224
export REPOSITORY_PATH=/path/to/repo
225-
./target/release/codeprism-mcp-server
225+
./target/release/codeprism --mcp
226226
```
227227

228228
## Environment Variables Reference
@@ -260,7 +260,7 @@ export CODEPRISM_PROFILE=development
260260
export CODEPRISM_MEMORY_LIMIT_MB=1024
261261
export CODEPRISM_INCLUDE_EXTENSIONS="*"
262262
export REPOSITORY_PATH=/path/to/repo
263-
./target/release/codeprism-mcp-server
263+
./target/release/codeprism --mcp
264264
```
265265

266266
## Examples
@@ -270,7 +270,7 @@ export REPOSITORY_PATH=/path/to/repo
270270
# Uses optimized defaults - works for most repositories
271271
export CODEPRISM_PROFILE=development
272272
export REPOSITORY_PATH=/path/to/your/repository
273-
./target/release/codeprism-mcp-server
273+
./target/release/codeprism --mcp
274274
```
275275

276276
### Custom Configuration Examples
@@ -280,19 +280,19 @@ export CODEPRISM_PROFILE=development
280280
export CODEPRISM_MEMORY_LIMIT_MB=1024
281281
export CODEPRISM_BATCH_SIZE=15
282282
export REPOSITORY_PATH=/path/to/repo
283-
./target/release/codeprism-mcp-server
283+
./target/release/codeprism --mcp
284284

285285
# Maximum performance (if you have lots of RAM)
286286
export CODEPRISM_PROFILE=enterprise
287287
export CODEPRISM_MEMORY_LIMIT_MB=16384
288288
export CODEPRISM_BATCH_SIZE=50
289289
export REPOSITORY_PATH=/path/to/repo
290-
./target/release/codeprism-mcp-server
290+
./target/release/codeprism --mcp
291291

292292
# Use production profile for complete analysis
293293
export CODEPRISM_PROFILE=production
294294
export REPOSITORY_PATH=/path/to/repo
295-
./target/release/codeprism-mcp-server
295+
./target/release/codeprism --mcp
296296
```
297297

298298
The new defaults should handle most real-world repositories without any configuration needed!

codeprism-docs/docs/mcp-server/tools-documentation.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,15 +450,16 @@ export CODEPRISM_PROFILE=development
450450
export REPOSITORY_PATH=/path/to/your/repository
451451

452452
# Start CodePrism MCP server
453-
./target/release/codeprism-mcp-server
453+
./target/release/codeprism --mcp
454454
```
455455

456456
#### Client Configuration (Claude Desktop)
457457
```json
458458
{
459459
"mcpServers": {
460460
"codeprism": {
461-
"command": "./target/release/codeprism-mcp-server",
461+
"command": "./target/release/codeprism",
462+
"args": ["--mcp"],
462463
"env": {
463464
"CODEPRISM_PROFILE": "development",
464465
"REPOSITORY_PATH": "/path/to/repository"

codeprism-docs/docs/parsers/rust-implementation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ The Rust parser will automatically be available through the MCP server for:
420420
### CLI Integration
421421
```bash
422422
# Analyze codeprism itself
423-
export REPOSITORY_PATH=/path/to/codeprism && ./target/release/codeprism-mcp-server
423+
export REPOSITORY_PATH=/path/to/codeprism && ./target/release/codeprism --mcp
424424

425425
# Focus on Rust files only
426426
prism analyze --language rust /path/to /codeprism

crates/codeprism-moth-specs/codeprism/tools/codeprism-javascript-analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ capabilities:
1717
# Server startup configuration
1818
server:
1919
command: "cargo"
20-
args: ["run", "--package", "codeprism-mcp-server", "--bin", "codeprism-mcp-server"]
20+
args: ["run", "--package", "codeprism-mcp-server", "--bin", "codeprism", "--", "--mcp"]
2121
env:
2222
RUST_LOG: "info"
2323
MCP_PROTOCOL_VERSION: "2025-06-18"

docs/PRISM-MCP-SERVER-DESCRIPTION.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,8 @@ CodeCodePrism is designed to work seamlessly with major MCP clients:
567567
{
568568
"mcpServers": {
569569
"codeprism": {
570-
"command": "codeprism-mcp-server",
570+
"command": "codeprism",
571+
"args": ["--mcp"],
571572
"env": {
572573
"CODEPRISM_PROFILE": "development",
573574
"RUST_LOG": "info"
@@ -582,7 +583,8 @@ CodeCodePrism is designed to work seamlessly with major MCP clients:
582583
{
583584
"mcpServers": {
584585
"codeprism": {
585-
"command": "codeprism-mcp-server",
586+
"command": "codeprism",
587+
"args": ["--mcp"],
586588
"env": {
587589
"CODEPRISM_PROFILE": "development",
588590
"RUST_LOG": "info"
@@ -613,7 +615,7 @@ CodeCodePrism is designed to work seamlessly with major MCP clients:
613615
# Set configuration and start CodePrism MCP server
614616
export CODEPRISM_PROFILE=development
615617
export RUST_LOG=info
616-
codeprism-mcp-server
618+
codeprism --mcp
617619

618620
# The MCP server is designed to be launched by MCP clients
619621
# Not as a standalone command-line tool

docs/RUST_PARSER_IMPLEMENTATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ The Rust parser will automatically be available through the MCP server for:
414414
### CLI Integration
415415
```bash
416416
# Analyze codeprism itself
417-
export REPOSITORY_PATH=/path/to/codeprism && ./target/release/codeprism-mcp-server
417+
export REPOSITORY_PATH=/path/to/codeprism && ./target/release/codeprism --mcp
418418

419419
# Focus on Rust files only
420420
prism analyze --language rust /path/to /codeprism

test-harness-fixed.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ global:
1818

1919
server:
2020
start_command: "cargo"
21-
args: ["run", "--bin", "codeprism-mcp-server", "--"]
21+
args: ["run", "--bin", "codeprism", "--", "--mcp"]
2222
env: {}
2323
working_dir: "."
2424
startup_timeout_seconds: 30

test-harness.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ global:
1919
json_format: false
2020

2121
server:
22-
start_command: "cargo run --bin codeprism-mcp-server"
22+
start_command: "cargo run --bin codeprism -- --mcp"
2323
args:
2424
- "stdio"
2525
env: {}

tests/mcp_tools/comprehensive_mcp_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ impl McpServerClient {
113113
println!("🚀 Starting MCP server for end-to-end testing...");
114114

115115
let mut cmd = Command::new("cargo");
116-
cmd.args(&["run", "--bin", "codeprism-mcp-server", "--", "stdio"])
116+
cmd.args(&["run", "--bin", "codeprism", "--", "--mcp", "stdio"])
117117
.kill_on_drop(true);
118118

119119
let child = cmd.spawn()?;

0 commit comments

Comments
 (0)