MCP_using_csharp
by vizsphere
Overview
This project implements Model Context Protocol (MCP) servers and clients in C# for building AI agent tools, including an echo server and services for CRM and support integration.
Installation
dotnet run --project ./MCPServer/MCPServer.csprojEnvironment Variables
- ASPNETCORE_ENVIRONMENT
- ApplicationInsightConnectionString
- FreshdeskDomain
- FreshdeskApiKey
- PipedriveCompanyName
- PipedriveApiToken
- BaseUrl
Security Notes
CRITICAL: Hardcoded API keys and connection strings (e.g., FreshdeskApiKey, ApplicationInsightConnectionString) are present in 'appsettings.Development.json'. This is a severe security vulnerability as these credentials can be exposed if committed to public repositories or deployed without proper configuration management. The 'AllowedHosts: *' setting, while common in development, should be restricted in production environments.
Similar Servers
sample-serverless-mcp-servers
Demonstrates a stateful Model Context Protocol (MCP) server implementation using Python and FastMCP, deployed on AWS ECS Fargate, providing a simple echo functionality.
mcp-dotnet-samples
This MCP server enhances GitHub Copilot by providing a mechanism to search, retrieve, and manage custom instructions and agents from the awesome-copilot repository, allowing for personalized AI assistance in development workflows.
mmcp
Manages Model Context Protocol (MCP) server definitions in a central configuration and applies them to various AI agent tools.
agents-mcp-usage
Demonstrates a Model Context Protocol (MCP) server integration with various AI agent frameworks.