Skip to content

Add MCP server for BootstrapBlazor component context#8114

Open
h2ls wants to merge 9 commits into
mainfrom
lee/skill
Open

Add MCP server for BootstrapBlazor component context#8114
h2ls wants to merge 9 commits into
mainfrom
lee/skill

Conversation

@h2ls

@h2ls h2ls commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR adds an HTTP MCP server for BootstrapBlazor component development.

The MCP server exposes component context from the repository, including:

  • Current component source
  • Official Samples
  • Component AI Skill files

It also adds supporting Skill metadata, index generation, sync checks, documentation, and tests.

Details

  • Add tools/BootstrapBlazor.Mcp HTTP MCP server
  • Add MCP tools for listing/searching components and reading source, Sample, and Skill context
  • Add repository-mode Skill index support through skill-index.json
  • Add component Skill files under docs/skills/components
  • Add scripts to generate and validate the Skill index
  • Add Skill sync checks for component changes
  • Add local debug logging for MCP requests
  • Add MCP tests and include the MCP projects in the solution
  • Add Agent/Claude rules and maintenance documentation

Validation

  • powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\generate-skill-index.ps1 -Check
  • powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\check-skill-sync.ps1 -WarnAllMissingSkills
  • powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\generate-component-skills.ps1
  • dotnet build .\tools\BootstrapBlazor.Mcp\BootstrapBlazor.Mcp.csproj

Copilot AI review requested due to automatic review settings June 13, 2026 13:07
@bb-auto

bb-auto Bot commented Jun 13, 2026

Copy link
Copy Markdown

Thanks for your PR, @h2ls. Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @h2ls, your pull request is larger than the review limit of 150000 diff characters

@bb-auto bb-auto Bot requested a review from ArgoZhang June 13, 2026 13:07
@h2ls h2ls marked this pull request as draft June 13, 2026 13:08
@codecov

codecov Bot commented Jun 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (7e9c00c) to head (4bf6e3c).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #8114   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          766       766           
  Lines        34204     34204           
  Branches      4695      4695           
=========================================
  Hits         34204     34204           
Flag Coverage Δ
BB 100.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@h2ls h2ls changed the title Add component AI skill files Add embedded AI skills for BootstrapBlazor components Jun 15, 2026
@h2ls h2ls self-assigned this Jun 15, 2026
@h2ls h2ls marked this pull request as ready for review June 15, 2026 04:48

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @h2ls, your pull request is larger than the review limit of 150000 diff characters

@h2ls h2ls marked this pull request as draft June 15, 2026 13:57
@h2ls h2ls changed the title Add embedded AI skills for BootstrapBlazor components Move component Skill files to docs directory Jun 16, 2026
@h2ls h2ls changed the title Move component Skill files to docs directory Add MCP server for BootstrapBlazor component context Jun 16, 2026
@h2ls h2ls marked this pull request as ready for review June 16, 2026 07:09

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @h2ls, your pull request is larger than the review limit of 150000 diff characters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants