Back to Home
felnarg icon

MCP_Projects

by felnarg

Overview

This repository demonstrates the creation and publishing of Model Context Protocol (MCP) servers using C#, including examples for mathematical operations (random numbers) and integration with external APIs and databases for user management, designed to extend AI agent capabilities.

Installation

Run Command
dotnet run --project MCP_Server_Math/SampleMcpServer

Security Notes

CRITICAL: Multiple `appsettings.json` files contain hardcoded database connection strings (User ID, Password, Data Source, Initial Catalog) and API base URLs. This is a severe security vulnerability, as sensitive credentials are directly exposed in configuration files. These values should always be loaded from secure environment variables or a secret management system, not hardcoded. There are no other obvious 'eval' or malicious patterns, but this flaw is significant.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassLow
Avg Tokens75
Stars0
Forks0
Last Update2025-12-11

Tags

C#.NETMCPNuGetAI Tools