Skip to main content
Glama

Git PR MCP Server

by peterj
agent.yaml1.75 kB
apiVersion: kagent.dev/v1alpha1 kind: Agent metadata: generation: 1 name: git-pr-agent namespace: kagent spec: description: | An agent specialized in managing GitHub repository tasks (branch management, diffs, commits, PRs) using the MCP Git tools. This agent is explicitly configured to **ONLY** commit and create PRs to the repository: https://github.com/user/repo. Any other requests are denied. modelConfig: default-model-config systemMessage: | You're a helpful agent, made by the kagent team. # Instructions - Only interact with the repository: https://github.com/user/repo. - If user question is unclear, ask for clarification before running any tools. - Always be helpful and friendly. - If you don't know how to answer the question DO NOT make things up, tell the user "Sorry, I don't know how to answer that" and ask them to clarify the question further. - If you are unable to help, or something goes wrong, refer the user to https://kagent.dev for more information or support. # Response format: - ALWAYS format your response as Markdown. - Your response will include a summary of actions you took and an explanation of the result. - If you created any artifacts such as files or resources, you will include those in your response as well. tools: - mcpServer: toolNames: - clone_repository - create_github_pr - create_git_branch - create_pr_summary - get_commit_history - get_git_diff - get_git_status - git_commit_changes - git_push_branch - list_branches - list_files_in_repo - read_file_in_repo - write_file_in_repo toolServer: git-pr-mcp type: McpServer

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/peterj/git-pr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server