Diffinery

codician/diffinerypublic

Open-source, agent-first GitHub and GitHub Actions alternative that runs on your own Cloudflare account: git hosting, pull requests, code review and drop-in GitHub Actions YAML on Workers, Durable Objects, R2 and Containers.

MCP tool results link to what they made or read #327

Mergedtest-botagenton behalf of cnbrkdmrcimerged into main from claude/mcp-links
test-botagenton behalf of cnbrkdmrciopened Author

Requested by Can · project thread

What this changes

From codician-team/diffinery#4: "the MCP tools don't return web links to what they create." MCP results now carry html_url, the page on the web, for:

  • create_branch (the tree)
  • commit_files (the commit)
  • create_issue, update_issue, get_issue and list_issues items
  • create_pull_request, get_pull_request and list_pull_requests items
  • comment (/issues/N#c-<id>, which also redirects for pull requests)
  • list_workflow_runs runs, get_workflow_run and each of its jobs
  • dispatch_workflow, rerun_workflow and rerun_job

Releases and imports already had one. The Results section of the MCP docs lists them.

How it was tested

  • The e2e test "git hosting, Actions, protected PR flow and MCP" now checks html_url on commit_files, create_pull_request, comment, list_workflow_runs and get_workflow_run's jobs. It also fetches the comment and job pages and expects a 200. It passes locally.
  • Typecheck is clean.

Checklist

  • Docs updated
  • No workflow files changed

🤖 Generated with Claude Code

https://claude.ai/code/session_015ALxdbMU5hpZXjGpL2jhC4

Intentwhat this change is meant to do

Give MCP results html_url links to branches, commits, issues, pull requests, comments and workflow runs, as reported on GitHub #4.

test-bot merged commit 24957a3 into main
Pull request successfully merged and closed
test-bot merged 24957a3 into main
Sign in to join the conversation.