MCP server sample for managing employee vacation days

MCP server sample for managing employee vacation days

mcp-client-server-for-agents•byqmatteoq

A .NET and TypeScript sample implementing an MCP server and client for tracking, querying, and updating employee vacation balances, exposed through MCP tools.

License: Not specified•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Provides a backend service for tracking, querying, and updating employee vacation balances.
  • •Exposes vacation management capabilities through MCP tools.
  • •Includes an SSE client-server implementation using HTTP streaming transport built on ASP.NET Core and .NET Aspire.
  • •Includes a stdio client-server implementation with a server built as a console application.

BEST FOR

  • •Developers learning to build MCP servers and clients in .NET or TypeScript.
  • •Demonstrating how an LLM agent can trigger MCP tools to list employees and charge vacation days.
  • •Exploring MCP integration with Semantic Kernel, Copilot Studio, and the Teams AI library.

ABOUT MCP-CLIENT-SERVER-FOR-AGENTS

MCP server sample for managing employee vacation days is cataloged as an MCP server attributed to qmatteoq. A .NET and TypeScript sample implementing an MCP server and client for tracking, querying, and updating employee vacation balances, exposed through MCP tools. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server sample for managing employee vacation days 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.

FREQUENTLY ASKED QUESTIONS

Which transport layers does the sample demonstrate for the MCP server?

It demonstrates HTTP Streaming (SSE), based on ASP.NET Core and .NET Aspire, and standard input/output (stdio), with the server implemented as a console application.

What programming languages are the samples available in?

The repository contains two versions of the same samples: one built with C# and .NET and one with TypeScript.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 621d79daf8d3 · 采集于 2026-11-13 10:08:40 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP Server Sample

This project demonstrates a Model Context Protocol (MCP) server and client implementation in .NET for managing employee vacation days. It provides a backend service for tracking, querying, and updating vacation balances for employees, and exposes these capabilities through MCP tools.

Components

  • The SSE folder includes a client-server implementation of the Model Context Protocol (MCP) using the HTTP Streaming / SEE transport layer. The solution in based on .NET Aspire and it includes a server (based on ASP.NET Core) and a client (a web application built with Blazor and Semantic Kernel).
  • The Stdio folder includes a client-server implementation of the Model Context Protocol (MCP) using the standard input/output transport layer. The server is implemented in a console application.

Documentation

The sample is documented through a series of blog posts:

Getting Started

The repository contains two versions of the same samples: one built with C# and .NET and one with TypeScript.

To run the .NET sample, you need to have the following prerequisites installed:

To run the TypeScript sample, you need to have the following prerequisites installed:

For both languages, you need to have the following prerequisites installed:

Running the stdio sample

Run the .NET sample

  1. Start the Azurite Table service emulator by clicking on the button in the application bar, or by opening the command palette (Ctrl+Shift+P) and selecting Azurite: Start Table Service.
  2. You can connect any client application (Visual Studio Code, AI Toolkit, a custom application) by using the following configuration:
  • Command: dotnet
  • Arguments: run --project src/csharp/Stdio/MCP.Stdio.Server/MCP.Stdio.Server.csproj

Run the TypeScript sample

  1. Start the Azurite Table service emulator by clicking on the button in the application bar, or by opening the command palette (Ctrl+Shift+P) and selecting Azurite: Start Table Service.
  2. You can connect any client application (Visual Studio Code, AI Toolkit, a custom application) by using the following configuration:
  • Command: node
  • Arguments: /src/ts/stdio/server/dist/app.js

Before using it, make sure to compile the TypeScript code by running the following command:

cd src/ts/stdio/server
npm run build

Running the SSE sample

To run the SSE sample, follow these steps:

  • Clone the repository to your local machine.

  • Open the appsettings.json file in the MCP.SSE.AppHost project inside the SSE folder and update the openAiConnectionName property with your Azure OpenAI connection string using the following format:

    "openAiConnectionName": "Endpoint=https://<your-endpoint>.openai.azure.com/;Key=<your-key>"
    
  • Start the Azurite Table service emulator by clicking on the button in the application bar, or by opening the command palette (Ctrl+Shift+P) and selecting Azurite: Start Table Service.

  • Run the MCP.SSE.AppHost project using the following command:

    dotnet run --project MCP.SSE.AppHost/MCP.SSE.AppHost.csproj
    
  • Once the project starts, a new browser window will automatically open up on the Aspire dashboard.

  • Open a new browser tab and navigate to the following URL:

    http://localhost:5291/
    
  • Now you can use the Blazor application to send prompts to the LLM. You can use one of the following prompts to trigger the usage of one of the MCP tools:

    "Give me a list of the employees and their vacation days left"
    "Charge 5 vacation days to Alice Johnson""
    

Running the Teams AI library sample

The Teams AI library sample is already registered as part of the Aspire solution. However, before using it, you must follow these steps:

  • Open the ttk2-agent project in the SSE folder
  • Rename the .env.example file to .env
  • Open the file and update the variables with the correct values for your Azure OpenAI service:
    • AZURE_OPENAI_API_KEY with the key of your Azure OpenAI service
    • AZURE_OPENAI_ENDPOINT with the endpoint of your Azure OpenAI service
    • AZURE_OPENAI_API_VERSION with the API version (pay attention, this is a different value than the model version, you can find it in the Azure OpenAI portal)
    • AZURE_OPENAI_MODEL_DEPLOYMENT_NAME with the name of your model deployment in Azure OpenAI

Once the Aspire dashboard is up & running, you will see that the **ttk2-agent **project has two endpoints:

The Aspire dashboard

You can access to the testing tool for the agent by using the endpoint with the higher port number and adding the /devtools path to it. For example, in the previous image, the URL would be:

http://localhost:54251/devtools/

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server sample for managing employee vacation days from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-client-server-for-agents)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops