
A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

A .NET Model Context Protocol server exposing Azure, GitLab, WHOIS and demo tools along with sample resources and prompts.
A basic .NET MCP server example is cataloged as an MCP server attributed to garrardkitchen. A .NET Model Context Protocol server exposing Azure, GitLab, WHOIS and demo tools along with sample resources and prompts. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for A basic .NET MCP server example are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Secrets and API keys are partially masked, showing only the first four characters.
It is added as a Streamable HTTP connection.
README.md · 075721297fa2 · 采集于 2026-11-13 10:55:33 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
This project demonstrates a basic implementation of an MCP (Model Context Protocol) server using .NET. It provides endpoints for interacting with MCP clients and includes tools for testing and debugging, such as the MCP Inspector. The example also shows how to integrate with external services like GitLab using user secrets for configuration.
Logs the HTTP User-Agent header for every incoming request, including the HTTP method and path. Registered before MapMcp() so it covers all MCP traffic. Output example:
Incoming request POST /mcp — User-Agent: claude-ai/1.0 mcp-client/0.4
[!NOTE] Prompts:
- retrieve a list of azure subscriptions and their ids
- retrieve a list of resource groups in ???
- retrieve all the resource ids and types in resource group ???
- retrieve all the properties and metadata for azure resource ???
Actual prompt: retrieve all resource groups in the developmentsub subscription. For each resource group, retrieve all resources. Cross-check the resource types with those that can integrate with Azure Key Vault. Finally, produce a markdown table that includes the resource group, resource ID, resource name, and resource type.
ElicitAsync method to request structured input from users, including boolean responses, enum options, string inputs with validation (max length), and date inputs with specific formats.All resource types or a specific deployed type), and returns all matching resources within those groups as structured JSON. Each resource is keyed as ResourceType/Name to avoid collisions.[!NOTE] This tool demonstrates the elicitation capability of MCP, which allows the server to request additional information from the user through a structured schema. The example shows:
- Boolean schema for yes/no questions
- Enum schema for multiple choice options (accept/decline)
- String schema with length constraints and descriptions
- Date schema with format validation (DD/MM/YYYY)
[!NOTE] This tool demonstrates best practices for handling sensitive information in MCP tools. The
ToPartialMask()extension method ensures that secrets and API keys are never fully exposed in responses, showing only the first 4 characters followed by asterisks.
[!NOTE] Prompts:
- retrieve list of projects in gitlab from the ??? group
- retrieve a list of projects in a specified GitLab group.
- retrieve a list of variables in a specified GitLab project
- using the ??? gitlab project, check for an azure consumption budget in the ??? branch, and add if not found
Actual prompts:
- retrieve list of projects in gitlab from the upe group
- retrieve a list of variables in a specified GitLab project, masking variable values if they are set as masked (leaving the last 4 characters visible).
- using the subscription-siem gitlab project, check for an azure consumption budget in the "feat/kitcheng/init" branch, and add if not found
- Get a list of GitLab groups using the search pattern upe as a markdown table with name, web_url (as 'click me'), parent_id, and an emoji for has_subgroups. Group by parent id. Include group id in brackets after the name. Then create a tree structure nesting groups by parent id and group id.
Each appliance row includes: id, name, category, powerWatts, priceGbp, brand, hasDigitalControls.
This project exposes YAML-formatted user data via two MCP resources:
This project also exposes three simple MCP prompts (see Prompts/TextPrompts.cs):
How to try them with the MCP Inspector:
[!NOTE] To run the GitLabTool tools it requires both a PAT and a domain. Please follow the instructions here
dotnet build
dotnet run
You'll see an output similar to this:
Building...
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5168
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
Copy the Http URL as you'll need this when you run the MCP Inspector (see the next section).
MCP Explorer X is the recommended way to test and interact with this MCP server outside of your IDE. It provides a browser-based UI for browsing tools, invoking them with arguments, and inspecting responses — including full elicitation support.

Pick the command for your OS, run it in a terminal, then open http://localhost:8091:
macOS
dataRoot="$HOME/Library/Application Support/McpExplorerX-docker"
mkdir -p "${dataRoot}"
docker run --rm -it \
-p 8091:8080 \
-v "${dataRoot}:/root/.local/share/McpExplorer" \
-v ~/.azure:/root/.azure \
-e AZURE_CONFIG_DIR=/root/.azure \
-e HOST_AZURE_CONFIG_DIR=${HOME}/.azure \
-e PREFERENCES__StoragePath=/data/settings.json \
-e ASPNETCORE_ENVIRONMENT=Production \
garrardkitchen/mcp-explorer-x:latest
Linux
dataRoot="$HOME/.config/McpExplorerX-docker"
mkdir -p "${dataRoot}"
docker run --rm -it \
-p 8091:8080 \
-v "${dataRoot}:/root/.local/share/McpExplorer" \
-v ~/.azure:/root/.azure \
-e AZURE_CONFIG_DIR=/root/.azure \
-e HOST_AZURE_CONFIG_DIR=${HOME}/.azure \
-e PREFERENCES__StoragePath=/data/settings.json \
-e ASPNETCORE_ENVIRONMENT=Production \
garrardkitchen/mcp-explorer-x:latest
Windows (PowerShell)
$dataRoot="$HOME\AppData\Local\McpExplorerX-docker"
New-Item -ItemType Directory -Force -Path $dataRoot | Out-Null
docker run --rm -it `
-p 8091:8080 `
-v "${dataRoot}:/root/.local/share/McpExplorer" `
-v ~/.azure:/root/.azure `
-e AZURE_CONFIG_DIR=/root/.azure `
-e HOST_AZURE_CONFIG_DIR=${HOME}/.azure `
-e PREFERENCES__StoragePath=/data/settings.json `
-e ASPNETCORE_ENVIRONMENT=Production `
garrardkitchen/mcp-explorer-x:latest
Once running, add this server as a connection using http://localhost:5168 (Streamable HTTP transport) and browse the available tools, resources, and prompts.
[!NOTE] For full setup options including Docker Compose, environment variable reference, and Azure credential mounting, see the MCP Explorer X quickstart docs.
If the project is missing a <UserSecretsId> then run this to setup user secrets for this project:
dotnet user-secrets init
GitLab PAT
dotnet user-secrets set "GitLab:Token" "<your-token-value>"
GitLab Domain
dotnet user-secrets set "GitLab:Domain" "<your-domain-value>"
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for A basic .NET MCP server example from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-example-garrardkitchen)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.