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
mcp-dotnet-samples
This MCP server retrieves GitHub Copilot customizations, including instructions, agents, prompts, and collections, from the `awesome-copilot` repository to provide contextual guidance to AI models.
mcp-python-starter
A feature-complete Model Context Protocol (MCP) server template in Python for developing AI applications and agents.
agents-mcp-usage
This repository demonstrates the integration of a Model Context Protocol (MCP) server with various AI agent frameworks, showcasing agent communication and operation within a shared context.
csharp-mcp-server-sample
Exposes JsonPlaceholder API functionality as tools for AI agents and LLMs via the Model Context Protocol (MCP).