BootstrapBlazor.Copilot.MCPServer logo

BootstrapBlazor.Copilot.MCPServer

Organization
BootstrapBlazor

BootstrapBlazor Documents & Source Code MCP Server for Copilot

PublisherBootstrapBlazor
RepositoryBootstrapBlazor.MCPServer
LanguageC#
Forks
5
Stars
19
Available tools
0
Transport typestdio, streamable-http
Categories
Links
  • Connect tools to AI workflows

    BootstrapBlazor.Copilot.MCPServer exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    19 stars and 5 forks from the linked repository.

BootstrapBlazor MCP Server

.NET BootstrapBlazor MCP Docker License

中文版 | English

A Model Context Protocol (MCP) Server built on ASP.NET Core and BootstrapBlazor that provides AI assistants (such as Claude, Cursor, Dify, FastGPT, etc.) with intelligent access to the full BootstrapBlazor component library documentation, including API parameters and live code samples.


✨ Features

  • 🔄 Auto Git Sync — Periodically clones/pulls the official BootstrapBlazor repository on a configurable cron schedule.
  • 📄 Doc Extraction — Automatically extracts component API tables (via reflection + XML docs) and Razor/C# code samples into Markdown files, ready for RAG.
  • 🤖 MCP Tools — Exposes standard MCP tools (GetComponentList, SearchComponentKeyword, GetComponentDocs, AskComponentExpert) for any MCP-compatible AI client.
  • 🌐 REST API — Provides HTTP endpoints for non-MCP integrations (Dify, FastGPT, custom agents).
  • 🧠 Optional AI Q&A — Integrates with any OpenAI-compatible API to answer natural-language questions about BootstrapBlazor components.
  • 🖥️ Admin UI — A built-in Blazor management dashboard (with login protection) to configure settings, trigger syncs, and monitor status.
  • 🌍 i18n Support — UI supports both zh-CN and en-US locales.
  • 🐳 Docker Ready — Ships with a Dockerfile for one-command deployment.

🏗️ Architecture

┌────────────────────────────────────────────────────────┐
│                  BootstrapBlazor.McpServer              │
│                                                        │
│  ┌──────────────┐   ┌──────────────────────────────┐  │
│  │ GitSync Job  │──▶│   DocsExtractorService        │  │
│  │ (Coravel     │   │  (Reflection + XML + Razor)   │  │
│  │  Cron)       │   └────────────┬─────────────────┘  │
│  └──────────────┘                │ Markdown Files      │
│                                  ▼                     │
│  ┌──────────────────────────────────────────────────┐  │
│  │              McpService (MCP Tools)               │  │
│  │  GetComponentList | SearchComponentKeyword        │  │
│  │  GetComponentDocs | AskComponentExpert            │  │
│  └──────┬────────────────────────┬──────────────────┘  │
│         │                        │                     │
│         ▼                        ▼                     │
│  ┌─────────────┐      ┌──────────────────────┐        │
│  │  MCP / SSE  │      │  REST HTTP API        │        │
│  │  /mcp       │      │  /api/components/...  │        │
│  └─────────────┘      └──────────────────────┘        │
└────────────────────────────────────────────────────────┘

🚀 Quick Start

Prerequisites

Run Locally

bash
git clone https://github.com/your-org/BootstrapBlazor.McpServer.git
cd BootstrapBlazor.McpServer

# Edit appsettings.json with your configuration (see Configuration section)
dotnet run

The server starts at http://localhost:5251 by default.

Run with Docker

bash
docker build -t bootstrapblazor-mcp .

docker run -d \
  -p 5251:5251 \
  -e GitSync__RepositoryUrl="https://gitee.com/LongbowEnterprise/BootstrapBlazor.git" \
  -e GitSync__CronSchedule="0 3 * * *" \
  -e GitSync__OutputDir="/app/data/OutputRAG" \
  -e AI__BaseUrl="https://api.openai.com/v1" \
  -e AI__ApiKey="YOUR_API_KEY" \
  -e AI__Model="gpt-4o" \
  -v /your/data/path:/app/data \
  bootstrapblazor-mcp

⚙️ Configuration

Edit appsettings.json or use environment variables (Docker-friendly):

json
{
  "GitSync": {
    "RepositoryUrl": "https://gitee.com/LongbowEnterprise/BootstrapBlazor.git",
    "CronSchedule": "0 3 * * *",
    "LocalPath": "/app/data/BootstrapBlazorRepo",
    "OutputDir": "/app/data/OutputRAG"
  },
  "AI": {
    "BaseUrl": "https://api.openai.com/v1",
    "ApiKey": "YOUR_API_KEY_HERE",
    "Model": "gpt-4o"
  }
}
KeyDescriptionDefault
GitSync:RepositoryUrlURL of the BootstrapBlazor source repositoryGitee mirror
GitSync:CronScheduleCron expression for auto-sync0 3 * * * (3 AM daily)
GitSync:LocalPathLocal path to clone the repo into/app/data/BootstrapBlazorRepo
GitSync:OutputDirOutput directory for generated Markdown/app/data/OutputRAG
AI:BaseUrlOpenAI-compatible API base URLhttps://api.openai.com/v1
AI:ApiKeyAPI key for the AI service—
AI:ModelModel name to usegpt-4o

🔌 MCP Integration

Connecting from Claude Desktop

Add the following to your Claude Desktop config (claude_desktop_config.json):

json
{
  "mcpServers": {
    "bootstrapblazor": {
      "url": "http://localhost:5251/mcp"
    }
  }
}

Connecting from Cursor

In Cursor settings, add an MCP server pointing to http://localhost:5251/mcp.

Available MCP Tools

ToolDescription
GetComponentListReturns a list of all available BootstrapBlazor components
SearchComponentKeywordSearches for components matching a keyword
GetComponentDocsReturns the raw API table + code samples for a component
AskComponentExpertAnswers a natural-language question about a component (uses AI if enabled)

🌐 REST API

For non-MCP integrations (e.g., Dify, FastGPT):

MethodEndpointDescription
GET/api/componentsList all component names
GET/api/components/search?keyword={kw}Search components by keyword
GET/api/components/{name}/docsGet raw docs for a component
GET/api/components/{name}/ask?q={question}Ask an AI-powered question

🖥️ Admin Dashboard

Navigate to http://localhost:5251 to access the Blazor admin UI. Log in with the credentials configured in appsettings.json (default: see your settings).

Features:

  • View and edit server configuration
  • Manually trigger Git sync
  • Monitor sync status and logs
  • Toggle AI integration on/off

🛠️ Tech Stack

LayerTechnology
FrameworkASP.NET Core (.NET 10)
UIBootstrapBlazor (Blazor Server)
MCPModelContextProtocol SDK 0.9
AI IntegrationMicrosoft.Extensions.AI + OpenAI
Git SyncLibGit2Sharp
SchedulingCoravel
i18nASP.NET Core Localization

📁 Project Structure

BootstrapBlazor.McpServer/
├── Components/         # Blazor UI components (Admin pages, App shell)
├── Services/
│   ├── McpService.cs           # MCP tool definitions
│   ├── DocsExtractorService.cs # Docs extraction logic (reflection + XML + Razor)
│   ├── GitSyncInvocable.cs     # Git clone/pull + trigger extraction
│   ├── AiIntegrationService.cs # OpenAI-compatible HTTP client
│   └── AppSettingsManager.cs   # Read/write appsettings.json at runtime
├── Locales/            # i18n JSON files (zh-CN, en-US)
├── Program.cs          # App startup & endpoint mapping
├── Dockerfile          # Container build definition
└── appsettings.json    # Default configuration

📄 License

This project is licensed under the MIT License. See LICENSE for details.


🤝 Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "bootstrapblazor-copilot-mcpserver": {
      "command": "",
      "args": []
    }
  }
}

Use BootstrapBlazor.Copilot.MCPServer MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once BootstrapBlazor.Copilot.MCPServer is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add BootstrapBlazor.Copilot.MCPServer as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the BootstrapBlazor.Copilot.MCPServer MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "bootstrapblazor-copilot-mcpserver": {
      "command": "npx",
      "args": [
        "-y",
        "BootstrapBlazor.MCPServer"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the BootstrapBlazor.Copilot.MCPServer MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the BootstrapBlazor.Copilot.MCPServer MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use BootstrapBlazor.Copilot.MCPServer to help me with this task?
BootstrapBlazor.Copilot.MCPServer
Sure. I read it.
Here is what I found using BootstrapBlazor.Copilot.MCPServer.

Option 2: Add an MCP server URL

Use this when BootstrapBlazor.Copilot.MCPServer is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter your server URL in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste your server URL into the Server URL field.
  2. Enter a connection name for BootstrapBlazor.Copilot.MCPServer.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the BootstrapBlazor.Copilot.MCPServer connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the BootstrapBlazor.Copilot.MCPServer tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the BootstrapBlazor.Copilot.MCPServer tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use BootstrapBlazor.Copilot.MCPServer to help me with this task?
BootstrapBlazor.Copilot.MCPServer
Sure. I read it.
Here is what I found using BootstrapBlazor.Copilot.MCPServer.

Frequently asked questions

What is the BootstrapBlazor.Copilot.MCPServer MCP server used for?

BootstrapBlazor.Copilot.MCPServer is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use BootstrapBlazor.Copilot.MCPServer MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use BootstrapBlazor.Copilot.MCPServer with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use BootstrapBlazor.Copilot.MCPServer MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With BootstrapBlazor.Copilot.MCPServer connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect BootstrapBlazor.Copilot.MCPServer MCP to TypingMind?

BootstrapBlazor.Copilot.MCPServer can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does BootstrapBlazor.Copilot.MCPServer MCP provide in TypingMind?

BootstrapBlazor.Copilot.MCPServer exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use BootstrapBlazor.Copilot.MCPServer MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If BootstrapBlazor.Copilot.MCPServer requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇