Skip to content

Conversation

@AClerbois
Copy link
Collaborator

@AClerbois AClerbois commented Dec 5, 2025

Pull Request

📖 Description

Following the issue #4386, I create the MCP Server.

The MCP is documented in the demo doc examples via reflexion.

You can find all MCP ressources via the documentation.

If you run it via VS Code, you can get the follow behavior.

Prompts :
image

Tools :
image

Ressources :
image

🎫 Issues

👩‍💻 Reviewer Notes

You should follow the Examples/Mcp/Readme.md file to isntall locally the MCP and test it.

📑 Test Plan

✅ Checklist

General

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

After that, you should publish the new NuGet generated package to NuGet.org

  • I have added a new component
  • I have added Unit Tests for my new component
  • I have modified an existing component
  • I have validated the Unit Tests for an existing component

⏭ Next Steps

- Implemented EnumInfoFactory for creating enum information from types.
- Developed FluentUIDocumentationService to extract documentation from Fluent UI components.
- Created TypeHelper for type-related operations, including friendly type names and enum value retrieval.
- Added XmlDocumentationReader for reading XML documentation comments.
- Introduced ComponentDetailTools for detailed component documentation retrieval.
- Created ComponentListTools for listing and searching Fluent UI components.
- Developed EnumTools for accessing enum documentation and values.
- Implemented GuideTools for accessing documentation guides.
- Added ToolOutputHelper for formatting tool output.
- Created XmlDocumentationFinder to locate XML documentation files.
- Added FluentUI.Mcp.Shared project to the solution.
- Integrated MCP capabilities into the FluentUI.Demo.Client project.
- Updated solution and project files to include new references.
- Removed McpReflectionService.cs from the server project and moved it to the shared project.
- Created McpCapabilitiesData class to provide static data for MCP tools, prompts, and resources.
- Implemented MCP server documentation in McpServer.md.
- Added a new example page (McpCapabilities.razor) to demonstrate MCP capabilities.
- Removed obsolete McpReflectionService.cs file from the server project.
- Removed the C# MCP Server Expert agent documentation.
- Added NSubstitute package for mocking in tests.
- Updated solution file to include new MCP project and test projects.
- Created new test projects for FluentUI MCP Server and its services.
- Implemented unit tests for DocumentationGuideService, FluentUIDocumentationService, and MCP capabilities.
- Added tests for component detail and list tools, including search and filtering functionalities.
- Introduced tests for enum tools and guide tools, ensuring coverage for known and unknown cases.
- Configured xUnit runner settings for test execution.
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.

1 participant