MCPal is a Model Context Protocol (MCP) server designed to enhance developer productivity by providing a suite of tools for common development tasks.
npm install @lxptools/mcpalMCPal is a Model Context Protocol (MCP) server designed to enhance developer productivity by providing a suite of tools for common development tasks.
Add the MCPal MCP server configuration:
``json`
{
"mcpServers": {
"mcpal": {
"command": "npx",
"args": ["-y", "@lxptools/mcpal"],
"env": {
"BITBUCKET_USER": "{{BB username}}",
"BITBUCKET_TOKEN": "{{BB token}}",
},
}
}
}
Add the MCPal MCP server configuration:
`json`
{
"mcpServers": {
"mcpal": {
"command": "npx",
"args": ["-y", "@lxptools/mcpal"],
"env": {
"BITBUCKET_USER": "{{BB username}}",
"BITBUCKET_TOKEN": "{{BB token}}",
},
}
}
}
Once the server is running, you can use the tools with your LLM tool. Here are some example prompts:
* "Hi MCPal"
* "Generate a PR title and description for the latest commit in the repository at /path/to/your/repo"/path/to/your/repo
* "Review the staged code changes in the repository at "{{remote-bb-pr}}
* "Review the pull request at "{{master-pr-url}}
* "Create a cherry-pick PR for into {{target-release-branch}}"
A simple tool to greet the user.
Parameters:
* None
Helps generate PR title and description based on the recent commit changes.
Parameters:
* repopath (string, required): Path to the repository for which the latest commit is to be fetched and generate pr title and description.
Analyzes staged Git diffs to identify code quality issues and suggest improvements.
Parameters:
* repopath (string, required): Path of the git repository.prompt
* (string, optional): Custom prompt for code review, defaults to a predefined template.
Helps with reviewing remote pull requests by fetching PR details and providing review assistance.
Parameters:
* pull_request_url (string, required): URL of the pull request to review.user_prompt
* (string, optional): Custom prompt for the review, defaults to a predefined template.
Create a cherry-pick pull request from an existing PR.
Parameters:
* pull_request_url (string, required): URL of the pull request to cherry-pick.target_branch` (string, required): Target branch to cherry-pick into, e.g., "{{release-}}".
*