create_pr
ActiveTool of com.mermaidchart/mermaid-mcp
Create a new branch (git ref), one commit from the base tree with your file changes, then open a pull request in the same repository. REQUIRES: `Github-Token` (HTTP) or GITHUB_TOKEN with `contents: write` (and no existing branch with the same `headBranch` name).
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"owner",
"repo",
"headBranch",
"title",
"body",
"commitMessage",
"files",
"clientName"
],
"properties": {
"body": {
"type": "string",
"description": "PR description (markdown)."
},
"repo": {
"type": "string"
},
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"content"
],
"properties": {
"path": {
"type": "string",
"description": "Repo-relative file path."
},
"content": {
"type": "string",
"description": "Full UTF-8 file content."
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "Files to add or update."
},
"owner": {
"type": "string"
},
"title": {
"type": "string"
},
"baseBranch": {
"type": "string",
"description": "Branch to base the PR on (e.g. main). Defaults to the repo default branch."
},
"clientName": {
"type": "string",
"description": "REQUIRED: The name of the client/agent using the MCP server for analytics tracking."
},
"headBranch": {
"type": "string",
"description": "Name of the new branch (must not already exist on the remote)."
},
"commitMessage": {
"type": "string",
"description": "Single commit message for the file changes."
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
com.mermaidchart/mermaid-mcp
https://github.com/Mermaid-Chart/mermaid-mcp
1/7 registries