Skip to content

Implement MCP Server functionality for Codegen CLI#1153

Merged
jayhack merged 9 commits into
developfrom
codegen-cg-18849-mcp-server
Jun 29, 2025
Merged

Implement MCP Server functionality for Codegen CLI#1153
jayhack merged 9 commits into
developfrom
codegen-cg-18849-mcp-server

Fix pre-commit and type check issues

3635fb6
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jun 29, 2025 in 1s

4.65% of diff hit (target 52.15%)

View this Pull Request on Codecov

4.65% of diff hit (target 52.15%)

Annotations

Check warning on line 17 in src/codegen/cli/commands/mcp/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/commands/mcp/main.py#L17

Added line #L17 was not covered by tests

Check warning on line 20 in src/codegen/cli/commands/mcp/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/commands/mcp/main.py#L19-L20

Added lines #L19 - L20 were not covered by tests

Check warning on line 22 in src/codegen/cli/commands/mcp/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/commands/mcp/main.py#L22

Added line #L22 was not covered by tests

Check warning on line 27 in src/codegen/cli/commands/mcp/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/commands/mcp/main.py#L25-L27

Added lines #L25 - L27 were not covered by tests

Check warning on line 30 in src/codegen/cli/commands/mcp/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/commands/mcp/main.py#L30

Added line #L30 was not covered by tests

Check warning on line 38 in src/codegen/cli/commands/mcp/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/commands/mcp/main.py#L32-L38

Added lines #L32 - L38 were not covered by tests

Check warning on line 48 in src/codegen/cli/commands/update/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/commands/update/main.py#L47-L48

Added lines #L47 - L48 were not covered by tests

Check warning on line 1 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L1

Added line #L1 was not covered by tests

Check warning on line 5 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L5

Added line #L5 was not covered by tests

Check warning on line 14 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L11-L14

Added lines #L11 - L14 were not covered by tests

Check warning on line 18 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L16-L18

Added lines #L16 - L18 were not covered by tests

Check warning on line 22 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L20-L22

Added lines #L20 - L22 were not covered by tests

Check warning on line 28 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L25-L28

Added lines #L25 - L28 were not covered by tests

Check warning on line 32 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L30-L32

Added lines #L30 - L32 were not covered by tests

Check warning on line 35 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L35

Added line #L35 was not covered by tests

Check warning on line 44 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L41-L44

Added lines #L41 - L44 were not covered by tests

Check warning on line 47 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L47

Added line #L47 was not covered by tests

Check warning on line 53 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L51-L53

Added lines #L51 - L53 were not covered by tests

Check warning on line 55 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L55

Added line #L55 was not covered by tests

Check warning on line 57 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L57

Added line #L57 was not covered by tests

Check warning on line 61 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L60-L61

Added lines #L60 - L61 were not covered by tests

Check warning on line 66 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L64-L66

Added lines #L64 - L66 were not covered by tests

Check warning on line 71 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L68-L71

Added lines #L68 - L71 were not covered by tests

Check warning on line 73 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L73

Added line #L73 was not covered by tests

Check warning on line 105 in src/codegen/cli/mcp/server.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/codegen/cli/mcp/server.py#L105

Added line #L105 was not covered by tests