Skip to content

Commit fb560d3

Browse files
rushilpatel0github-actions[bot]
authored andcommitted
Automated pre-commit update
1 parent e4596fc commit fb560d3

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

codegen-examples/examples/codegen-mcp-server/README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,20 @@
2121
This example demonstrates how to run a Model Control Protocol (MCP) server that integrates with Codegen. The server provides:
2222

2323
1. A standardized interface for model inference
24-
2. Integration with Codegen's core functionality, parsing codebases and executing codemods
25-
3. Support for various LLM providers through the MCP protocol
26-
24+
1. Integration with Codegen's core functionality, parsing codebases and executing codemods
25+
1. Support for various LLM providers through the MCP protocol
2726

2827
## Quick Start
2928

3029
### Prerequisites
30+
3131
It's recommended to use `uv` to install the package.
32+
3233
- [uv](https://docs.astral.sh/uv/getting-started/installation/)
3334

3435
This MCP server runs on python 3.12+
35-
- [python](https://www.python.org/downloads/) 3.12+
3636

37+
- [python](https://www.python.org/downloads/) 3.12+
3738

3839
### Direct Execution
3940

@@ -43,8 +44,8 @@ This MCP server runs on python 3.12+
4344
uvx --from 'git+https://github.com/codegen-sh/codegen-sdk.git@ce8cffe#egg=codegen-mcp-server&subdirectory=codegen-examples/examples/codegen-mcp-server' codegen-mcp-server
4445
```
4546

46-
4747
### Example MCP Config
48+
4849
Here is an example mcp config that can be used with Cline or Claude desktop to integrate this MCP server
4950

5051
```json
@@ -53,12 +54,13 @@ Here is an example mcp config that can be used with Cline or Claude desktop to i
5354
"codegen-mcp": {
5455
"command": "uvx",
5556
"args": [
56-
"--from", "git+https://github.com/codegen-sh/codegen-sdk.git@ce8cffe#egg=codegen-mcp-server&subdirectory=codegen-examples/examples/codegen-mcp-server", "codegen-mcp-server"
57+
"--from",
58+
"git+https://github.com/codegen-sh/codegen-sdk.git@ce8cffe#egg=codegen-mcp-server&subdirectory=codegen-examples/examples/codegen-mcp-server",
59+
"codegen-mcp-server"
5760
],
5861
"disabled": false,
5962
"autoApprove": []
6063
}
6164
}
6265
}
63-
6466
```

codegen-examples/examples/codegen-mcp-server/pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ description = "MCP server implementation adding tools for the Codegen SDK"
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [
8-
"codegen>=0.14.5",
9-
"uvicorn>=0.27.1",
10-
"fastapi>=0.110.0",
11-
"pydantic>=2.6.3",
12-
"rich>=13.7.1",
13-
"click>=8.1.7",
14-
"mcp[cli]>=1.2.1",
8+
"codegen>=0.14.5",
9+
"uvicorn>=0.27.1",
10+
"fastapi>=0.110.0",
11+
"pydantic>=2.6.3",
12+
"rich>=13.7.1",
13+
"click>=8.1.7",
14+
"mcp[cli]>=1.2.1",
1515
]
1616

1717
[tool.poetry.scripts]

0 commit comments

Comments
 (0)