Skip to content

Commit ccfd709

Browse files
committed
refactor: rename [server] to [mcp] for clarity
- Rename optional dependency group from 'server' to 'mcp' for better clarity - Update CI workflows to use --without mcp instead of --without server - Update README installation instructions - Update error message in MCP server module
1 parent f9d6988 commit ccfd709

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
enable-cache: true
2222

2323
- name: Install all dependencies
24-
run: uv sync --without server
24+
run: uv sync --without mcp
2525

2626
- name: Build documentation
2727
run: |

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
enable-cache: true
1919

2020
- name: Install dependencies
21-
run: uv sync --without server
21+
run: uv sync --without mcp
2222

2323
- name: Run Ruff
2424
uses: astral-sh/ruff-action@0c50076f12c38c3d0115b7b519b54a91cb9cf0ad # v3.5.0

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1414
include:
1515
- python-version: "3.9"
16-
test-extras: "--without server"
16+
test-extras: "--without mcp"
1717
- python-version: "3.10"
1818
test-extras: "--all-extras"
1919
- python-version: "3.11"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ pip install stackone-ai
3535

3636
```bash
3737
# Install with MCP server support (requires Python 3.10+)
38-
pip install stackone-ai[server]
38+
pip install stackone-ai[mcp]
3939

4040
# Install with CrewAI examples (requires Python 3.10+)
4141
pip install stackone-ai[examples]
4242

4343
# Install everything
44-
pip install stackone-ai[server,examples]
44+
pip install stackone-ai[mcp,examples]
4545
```
4646

4747
## Quick Start

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ packages = ["stackone_ai"]
4646

4747
[project.optional-dependencies]
4848
# TODO: Remove python_version conditions when Python 3.9 support is dropped
49-
server = [
49+
mcp = [
5050
"mcp[cli]>=1.3.0; python_version>='3.10'",
5151
]
5252
examples = [

stackone_ai/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from mcp.shared.exceptions import McpError
2525
from mcp.types import EmbeddedResource, ErrorData, ImageContent, TextContent, Tool
2626
except ImportError as e:
27-
raise ImportError("MCP dependencies not found. Install with: pip install 'stackone-ai[server]'") from e
27+
raise ImportError("MCP dependencies not found. Install with: pip install 'stackone-ai[mcp]'") from e
2828

2929
from pydantic import ValidationError
3030

0 commit comments

Comments
 (0)