Skip to content

Commit ae0f322

Browse files
committed
command names
1 parent 9fa2ea1 commit ae0f322

File tree

16 files changed

+83
-83
lines changed

16 files changed

+83
-83
lines changed

PLAN.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ None for this stage.
135135

136136
---
137137

138-
## Stage 3: CLI Command: `mci install`
138+
## Stage 3: CLI Command: `mcix install`
139139

140140
### Goal
141141
Implement the `install` command to initialize MCI project structure.
@@ -158,7 +158,7 @@ src/mci/cli/
158158
- **src/mci/mci.py** - Register install command
159159

160160
### Classes/Functions
161-
- `install_command(yaml: bool = False)` - Click command for `mci install`
161+
- `install_command(yaml: bool = False)` - Click command for `mcix install`
162162
- `create_mci_file(format: str) -> None` - Create main MCI file
163163
- `create_mci_directory() -> None` - Create ./mci directory structure
164164
- `create_example_toolset() -> None` - Create example.mci.json
@@ -301,7 +301,7 @@ src/mci/core/
301301

302302
---
303303

304-
## Stage 5: CLI Command: `mci list`
304+
## Stage 5: CLI Command: `mcix list`
305305

306306
### Goal
307307
Implement the `list` command to display available tools.
@@ -382,7 +382,7 @@ src/mci/cli/
382382

383383
---
384384

385-
## Stage 6: CLI Command: `mci validate`
385+
## Stage 6: CLI Command: `mcix validate`
386386

387387
### Goal
388388
Implement the `validate` command to check MCI schema correctness using mci-py's built-in validation.
@@ -409,7 +409,7 @@ src/mci/core/
409409
- **src/mci/mci.py** - Register validate command
410410

411411
### Classes/Functions
412-
- `validate_command(file: str)` - Click command for `mci validate`
412+
- `validate_command(file: str)` - Click command for `mcix validate`
413413
- `MCIValidator` class with methods:
414414
- `validate_schema(file_path: str) -> ValidationResult` - Validate using MCIClient
415415
- `check_toolset_files() -> list[ValidationWarning]` - Check toolset file existence
@@ -449,7 +449,7 @@ src/mci/core/
449449

450450
---
451451

452-
## Stage 7: CLI Command: `mci add`
452+
## Stage 7: CLI Command: `mcix add`
453453

454454
### Goal
455455
Implement the `add` command to add toolset references to MCI files.
@@ -573,7 +573,7 @@ src/mci/core/
573573

574574
---
575575

576-
## Stage 9: CLI Command: `mci run` (STDIO Only)
576+
## Stage 9: CLI Command: `mcix run` (STDIO Only)
577577

578578
### Goal
579579
Implement the `run` command to launch MCP servers via STDIO that serve MCI tools.
@@ -605,7 +605,7 @@ src/mci/core/
605605
- **src/mci/mci.py** - Register run command
606606

607607
### Classes/Functions
608-
- `run_command(file: str, filter: str)` - Click command for `mci run`
608+
- `run_command(file: str, filter: str)` - Click command for `mcix run`
609609
- `DynamicMCPServer` class with async methods:
610610
- `async create_from_mci_schema(schema_path: str, filter_spec: str = None) -> Server`
611611
- Load tools using MCIClient from Stage 4
@@ -819,7 +819,7 @@ Stage 2 (Config Loading)
819819

820820
These features are documented in PRD.md but not included in the initial 10 stages:
821821

822-
1. **Stage 11** (Future): `mci run --port` for HTTP-based MCP servers
822+
1. **Stage 11** (Future): `mcix run --port` for HTTP-based MCP servers
823823
2. **Stage 12** (Future): `mci test` command to simulate tool execution
824824
3. **Stage 13** (Future): Plugin system for custom commands
825825
4. **Stage 14** (Future): Interactive mode with prompts

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Toolsets are collections of related tools stored in the `mci/` directory. They c
119119

120120
### MCP Server Integration
121121

122-
The `mci run` command creates an MCP server that:
122+
The `mcix run` command creates an MCP server that:
123123

124124
- Dynamically loads tools from your MCI schema
125125
- Serves them via the Model Context Protocol
@@ -128,7 +128,7 @@ The `mci run` command creates an MCP server that:
128128

129129
## Available Commands
130130

131-
### `mci install`
131+
### `mcix install`
132132

133133
Bootstrap a new MCI project with starter configuration.
134134

@@ -145,7 +145,7 @@ Creates:
145145
- `mci/` directory - Library of toolsets
146146
- `mci/.gitignore` - Excludes generated files
147147

148-
### `mci list`
148+
### `mcix list`
149149

150150
Display all available tools from your configuration.
151151

@@ -227,7 +227,7 @@ GITHUB_TOKEN=
227227

228228
> **Tip**: Run `uvx mcix envs --format=env` to generate a template `.env.example.mci` file, then copy it to `.env.mci` and fill in your values. Commit `.env.example.mci` to your repository so team members know what environment variables are needed.
229229
230-
### `mci validate`
230+
### `mcix validate`
231231

232232
Validate your MCI schema for correctness.
233233

@@ -247,7 +247,7 @@ Checks for:
247247
- Toolset references
248248
- MCP command availability (warnings)
249249

250-
### `mci add`
250+
### `mcix add`
251251

252252
Add toolset references to your schema.
253253

@@ -267,7 +267,7 @@ uvx mcix add weather-tools --path=custom.mci.json
267267

268268
Automatically preserves your file format (JSON stays JSON, YAML stays YAML).
269269

270-
### `mci run`
270+
### `mcix run`
271271

272272
Launch an MCP server that dynamically serves your tools.
273273

@@ -837,7 +837,7 @@ uvx mcix run
837837

838838
## Integration with MCP Clients
839839

840-
The `mci run` command creates an MCP-compliant server that can be used with:
840+
The `mcix run` command creates an MCP-compliant server that can be used with:
841841

842842
- **Claude Desktop**: Configure as an MCP server in settings
843843
- **MCP CLI tools**: Connect via STDIO transport

development.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ src/mci/
4343
├── mci.py # Main CLI entry point with Click group
4444
├── cli/ # CLI command modules
4545
│ ├── __init__.py
46-
│ ├── install.py # mci install command
47-
│ ├── list.py # mci list command
48-
│ ├── validate.py # mci validate command
49-
│ ├── add.py # mci add command
50-
│ ├── run.py # mci run command
46+
│ ├── install.py # mcix install command
47+
│ ├── list.py # mcix list command
48+
│ ├── validate.py # mcix validate command
49+
│ ├── add.py # mcix add command
50+
│ ├── run.py # mcix run command
5151
│ └── formatters/ # Output formatters (JSON, YAML, table)
5252
├── core/ # Core business logic
5353
│ ├── __init__.py

docs/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Return filtered tools
259259
### MCP Server Creation Flow
260260

261261
```
262-
User runs `mci run`
262+
User runs `mcix run`
263263
264264
Load MCI schema via MCIConfig
265265

mci-docs/python/concepts/mcp_servers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ Only load tools you actually need:
554554
}
555555
```
556556

557-
> Note: MCIClient object supports env_vars as well as when registering with `uvx mci run` in any MCP client (For example, cursor or vscode) you can pass env variables, which will be resolved in whole "mci.json" file, as well as in "mcp_servers" part
557+
> Note: MCIClient object supports env_vars as well as when registering with `uvx mcix run` in any MCP client (For example, cursor or vscode) you can pass env variables, which will be resolved in whole "mci.json" file, as well as in "mcp_servers" part
558558
559559
### 4. Add to .gitignore
560560

src/mci/cli/add.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
add.py - CLI command to add toolset references to MCI schemas
33
4-
This module provides the `mci add` command which adds toolset references
4+
This module provides the `mcix add` command which adds toolset references
55
to MCI schema files with optional filtering, while preserving the original
66
file format (JSON or YAML).
77
"""
@@ -43,19 +43,19 @@ def add(toolset_name: str, filter: str | None, path: str | None) -> None:
4343
4444
\b
4545
# Add a toolset without filter
46-
mci add weather-tools
46+
mcix add weather-tools
4747
4848
\b
4949
# Add a toolset with "only" filter
50-
mci add analytics --filter=only:Tool1,Tool2
50+
mcix add analytics --filter=only:Tool1,Tool2
5151
5252
\b
5353
# Add a toolset with "tags" filter
54-
mci add api-tools --filter=tags:api,database
54+
mcix add api-tools --filter=tags:api,database
5555
5656
\b
5757
# Add to a custom file
58-
mci add weather-tools --path=custom.mci.json
58+
mcix add weather-tools --path=custom.mci.json
5959
"""
6060
console = Console()
6161

@@ -65,7 +65,7 @@ def add(toolset_name: str, filter: str | None, path: str | None) -> None:
6565
schema_file = file_finder.find_mci_file()
6666
if schema_file is None:
6767
console.print("[red]❌ No MCI schema file found in current directory[/red]\n")
68-
console.print("[yellow]💡 Run 'mci install' to create a default mci.json file[/yellow]")
68+
console.print("[yellow]💡 Run 'mcix install' to create a default mci.json file[/yellow]")
6969
sys.exit(1)
7070
else:
7171
schema_file = path

src/mci/cli/envs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def envs_command(file: str | None, format: str):
193193
if file is None:
194194
console.print(
195195
"[red]✗[/red] No MCI schema file found. "
196-
"Run 'mci install' to create one or specify --file.",
196+
"Run 'mcix install' to create one or specify --file.",
197197
style="red",
198198
)
199199
raise click.Abort()

src/mci/cli/install.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,5 @@ def install(yaml: bool):
143143
click.echo()
144144
click.echo("Next steps:")
145145
click.echo(" 1. Review the generated configuration files")
146-
click.echo(" 2. Run 'mci list' to see available tools")
147-
click.echo(" 3. Run 'mci validate' to check your configuration")
146+
click.echo(" 2. Run 'mcix list' to see available tools")
147+
click.echo(" 3. Run 'mcix validate' to check your configuration")

src/mci/cli/list.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,22 @@ def list_command(file: str | None, filter: str | None, format: str, verbose: boo
5757
Examples:
5858
5959
# List all tools in table format
60-
mci list
60+
mcix list
6161
6262
# List tools from specific file
63-
mci list --file=./custom.mci.json
63+
mcix list --file=./custom.mci.json
6464
6565
# List tools with filter
66-
mci list --filter=tags:api,database
66+
mcix list --filter=tags:api,database
6767
6868
# List tools with verbose output
69-
mci list --verbose
69+
mcix list --verbose
7070
7171
# Export tools to JSON file
72-
mci list --format=json
72+
mcix list --format=json
7373
7474
# Export tools to YAML file with verbose info
75-
mci list --format=yaml --verbose
75+
mcix list --format=yaml --verbose
7676
"""
7777
console = Console()
7878

@@ -84,7 +84,7 @@ def list_command(file: str | None, filter: str | None, format: str, verbose: boo
8484
if file is None:
8585
console.print(
8686
"[red]✗[/red] No MCI schema file found. "
87-
"Run 'mci install' to create one or specify --file.",
87+
"Run 'mcix install' to create one or specify --file.",
8888
style="red",
8989
)
9090
raise click.Abort()

src/mci/cli/run.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
run.py - Run command for starting MCP servers from MCI schemas
33
4-
This module implements the `mci run` command, which launches an MCP server
4+
This module implements the `mcix run` command, which launches an MCP server
55
over STDIO that dynamically serves tools from an MCI schema file. The server
66
loads tools using MCIClient, converts them to MCP format, and delegates
77
execution back to MCIClient.
@@ -51,22 +51,22 @@ def run(file: str | None, filter: str | None):
5151
Examples:
5252
5353
# Run server with default mci.json or mci.yaml
54-
mci run
54+
mcix run
5555
5656
# Run server with specific file
57-
mci run --file=./custom.mci.json
57+
mcix run --file=./custom.mci.json
5858
5959
# Run server with filtered tools
60-
mci run --filter=tags:api,database
60+
mcix run --filter=tags:api,database
6161
6262
# Run server with only specific tools
63-
mci run --filter=only:tool1,tool2
63+
mcix run --filter=only:tool1,tool2
6464
6565
# Run server excluding specific tools
66-
mci run --filter=except:tool3,tool4
66+
mcix run --filter=except:tool3,tool4
6767
6868
# Run server with tools from specific toolsets
69-
mci run --filter=toolsets:weather,database
69+
mcix run --filter=toolsets:weather,database
7070
"""
7171
console = Console()
7272

@@ -78,7 +78,7 @@ def run(file: str | None, filter: str | None):
7878
if file is None:
7979
console.print(
8080
"[red]✗[/red] No MCI schema file found. "
81-
"Run 'mci install' to create one or specify --file.",
81+
"Run 'mcix install' to create one or specify --file.",
8282
style="red",
8383
)
8484
raise click.Abort()

0 commit comments

Comments
 (0)