mcp-dotnet-samples vs time
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-dotnet-samples by microsoft | time by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 185 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 48 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具云存储 | 效率工具开发者工具沟通协作 |
| 实现语言 | C# | TypeScript |
| 最近提交 | 本月 | 本月 |
mcp-dotnet-samples · 概述
微软的 .NET MCP 服务器示例集合,用于连接 AI 模型与各种服务。
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
mcp-dotnet-samples · 使用场景
- 构建自定义 MCP 服务器以连接 AI 模型与 .NET 应用程序
- 展示与 Azure 服务和微软生态系统的集成
- 提供基于 Docker 的 MCP 服务器部署示例
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
mcp-dotnet-samples · 安装
安装
此仓库中的每个样本都有自己的安装说明。通常,它们可以通过 Docker 安装:
docker run -i --rm ghcr.io/microsoft/mcp-dotnet-samples/[sample-name]:latest对于 VS Code 集成,请在 settings.json 中使用以下代码段:
{
"mcpServers": {
"[sample-name]": {
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/microsoft/mcp-dotnet-samples/[sample-name]:latest"]
}
}
}time · 安装
安装选项
**使用 uv(推荐):**
uvx mcp-server-time**使用 PIP:**
pip install mcp-server-time
python -m mcp_server_time**为 Claude Desktop 配置:**
{
"mcpServers": {
"time": {
"command": "uvx",
"args": ["mcp-server-time"]
}
}
}