Skip to content

Add MCP Server detection and UI indicators for repositories#97

Merged
rg4444 merged 1 commit into
mainfrom
claude/processgit-ui-improvements-iVCe8
Feb 7, 2026
Merged

Add MCP Server detection and UI indicators for repositories#97
rg4444 merged 1 commit into
mainfrom
claude/processgit-ui-improvements-iVCe8

Conversation

@rg4444
Copy link
Copy Markdown
Contributor

@rg4444 rg4444 commented Feb 7, 2026

Summary

This PR adds support for detecting and displaying MCP (Model Context Protocol) Server configurations in repositories. When a repository contains a processgit.mcp.yaml file or files matching the *.mcp.yaml pattern, the UI now displays visual indicators and provides quick access to the MCP endpoint.

Changes include:

  • Added HasSuffix utility method to StringUtils for template usage
  • Repository-level MCP detection in RepoAssignment that checks for processgit.mcp.yaml in the default branch
  • File-level MCP detection in file view that identifies individual MCP configuration files
  • MCP endpoint URL generation and exposure to templates
  • Visual badges and indicators in repository header and file views
  • Interactive popups with copy-to-clipboard and connection test functionality
  • New stylesheet for MCP-related UI components

Validation

  • Does this change affect BPMN render/diff?
  • Does this change require regenerating images?
  • Any schema/validator updates?

Testing

  • Verify MCP badge appears on files named processgit.mcp.yaml or matching *.mcp.yaml
  • Verify MCP header indicator appears when processgit.mcp.yaml exists in repository root
  • Test "Copy URL" functionality in both file and header popups
  • Test "Test Connection" button sends proper MCP initialize request
  • Verify endpoint URL is correctly formatted with AppURL and repository path
  • Test popup interactions (hover, click) work as expected

https://claude.ai/code/session_01YF5jFAob1cRcJeqr7u67cj

- Add MCP badge to file info bar when viewing .mcp.yaml files, with
  clickable popup showing endpoint URL, copy, and test connection
- Add MCP Server indicator to repo header (visible on all pages) when
  processgit.mcp.yaml exists in the repo root, with hover popup
- Add HasSuffix to StringUtils template helpers
- Add MCP detection in RepoAssignment to check for processgit.mcp.yaml
- Add dedicated mcp.css stylesheet for badge and indicator styles

https://claude.ai/code/session_01YF5jFAob1cRcJeqr7u67cj
@rg4444 rg4444 merged commit b83aa2d into main Feb 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants