Skip to content

Commit 4291832

Browse files
Copilotphrocker
andauthored
Add coding MCP server for automated PR submission via GitHub/JIRA integrations (#55)
* Initial plan * Add coding agent for automated code generation and PR submission Co-authored-by: phrocker <[email protected]> * Add examples, tests, and documentation for coding agent Co-authored-by: phrocker <[email protected]> * Add comprehensive documentation and quick reference for coding agent Co-authored-by: phrocker <[email protected]> * Add CodingVerbService to enable enterprise agent to communicate with Python coding agent Co-authored-by: phrocker <[email protected]> * Add enterprise agent integration summary documentation Co-authored-by: phrocker <[email protected]> * Implement MCP server pattern for coding agent - Add CodingMCPServerService for Kubernetes pod management - Add CodingMCPProxyService for request forwarding - Add CodingMCPController with launch/status/proxy endpoints - Create Docker image for coding MCP server - Create Python MCP server exposing coding agent via MCP protocol - Implements tools: handleJiraIssue, handleGitHubIssue, createPullRequest Co-authored-by: phrocker <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: phrocker <[email protected]>
1 parent fbd3084 commit 4291832

File tree

24 files changed

+3944
-0
lines changed

24 files changed

+3944
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Coding MCP Server Docker Image
2+
FROM python:3.12-slim
3+
4+
# Install git (required for repository operations via GitHub MCP)
5+
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
6+
7+
# Create app directory
8+
WORKDIR /app
9+
10+
# Copy Python agent code
11+
COPY python-agent /app
12+
13+
# Install Python dependencies
14+
RUN pip install --no-cache-dir -r requirements.txt
15+
16+
# Expose the port for MCP server
17+
EXPOSE 3000
18+
19+
# Environment variables (will be passed at runtime)
20+
ENV GITHUB_TOKEN_ID=""
21+
ENV LLM_PROXY_URL="http://localhost:8084"
22+
ENV INTEGRATION_PROXY_URL="http://localhost:8080"
23+
ENV INSTANCE_ID="default"
24+
ENV MCP_SERVER_MODE="http"
25+
ENV KEYCLOAK_BASE_URL="http://localhost:8180"
26+
ENV KEYCLOAK_CLIENT_ID="python-agents"
27+
ENV KEYCLOAK_CLIENT_SECRET=""
28+
29+
# Run the MCP server
30+
CMD ["python3", "mcp_server.py"]

0 commit comments

Comments
 (0)