MM

mcbodge/mudmcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

115 stars 16 forks 质量 79 趋势 8GPL-2.0

mcbodge/mudmcp 是从 https://github.com/mcbodge/mudmcp. 导入的 MCP 服务器候选

概览

mcbodge/mudmcp 是从 https://github.com/mcbodge/mudmcp. 导入的 MCP 服务器候选

概述(AI 翻译)

一款企业级模型上下文协议(MCP)服务器,为 AI 助手提供全面访问 MudBlazor 组件文档、代码示例和 API 参考的权限。

免责声明: 本项目与 MudBlazor 团队无关联、不认可或官方支持。这是一个独立实现,提取并提供官方 MudBlazor 仓库中的文档。


📖 目录

  • 概述
  • 特色
  • 快速入门 — 面向消费者(DNX,无需安装)
  • 源代码奔跑 — 面向贡献者
  • 文档
  • 可用的MCP工具
  • 项目结构
  • 贡献
  • 许可证

概述

Mud MCP 弥合了 AI 助手与 MudBlazor 组件文档之间的鸿沟。它克隆了官方 MudBlazor 仓库,使用 Roslyn 解析源文件,并通过模型上下文协议(Model Context Protocol)暴露了索引 API——使 GitHub Copilot、Claude 及其他兼容 MCP 的客户端能够为 Blazor 开发提供准确且上下文感知的辅助。

关键价值主张

  • 版本感知:提供你项目所用的具体 MudBlazor 版本的文档

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Mud MCP

An enterprise-grade Model Context Protocol (MCP) server that provides AI assistants with comprehensive access to MudBlazor component documentation, code examples, and API reference.

Disclaimer: This project is not affiliated with, endorsed by, or officially supported by the MudBlazor team. It is an independent implementation that extracts and serves documentation from the official MudBlazor repository.


📖 Table of Contents


Overview

Mud MCP bridges the gap between AI assistants and MudBlazor component documentation. It clones the official MudBlazor repository, parses source files using Roslyn, and exposes an indexed API via the Model Context Protocol—enabling AI agents like GitHub Copilot, Claude, and other MCP-compatible clients to provide accurate, context-aware assistance for Blazor development.

Key Value Propositions

  • Version-Aware: Serves documentation for the exact MudBlazor version your project uses
  • AI-Optimized Output: Formats responses in Markdown for optimal LLM consumption
  • Production-Ready: Built with Aspire 13.1, health checks, and observability
  • Flexible Deployment: Supports both HTTP and stdio transports
  • Multi-Version Cache: Caches up to 3 versions simultaneously with LRU eviction — instant startup after first run

Features

Feature Description
Component Discovery List all ~85 MudBlazor components with category filtering
Detailed Documentation Access parameters, events, methods, and inheritance info
Code Examples Extract real examples from the MudBlazor documentation
Semantic Search Search components by name, description, or parameters
API Reference Full API reference for components and enum types
Related Components Discover related components through inheritance and categories
Health Monitoring Built-in health checks with detailed status reporting
Recommended Agents Works with the Clowder MudBlazor Copilot agents for optimal MCP tool usage

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "mudblazor": { "command": "dnx", "args": ["MudMCP", "--yes", "--", "--stdio"], "env": { "MUDBLAZOR_VERSION": "9.0.0", "MudBlazor__Repository__DataPath": "C:/Users/<you>/.mudmcp" } } } }