Back to Home
marcominerva icon

McpServerAspNetCore

Verified Safe

by marcominerva

Overview

Provides a minimal ASP.NET Core server exposing Model Context Protocol (MCP) tools for integration with AI agents/assistants.

Installation

Run Command
dotnet run

Environment Variables

  • ASPNETCORE_ENVIRONMENT
  • AppSettings__OpenWeatherMapAppId
  • Authentication__ApiKey__ApiKeyValue

Security Notes

The server hardcodes the default API key ('f1I7S5GXa4wQDgLQWgz0') and expects the OpenWeatherMap API key to be placed directly into 'appsettings.json'. While this is common for sample projects, it encourages insecure secret management for a 'starting point' if not explicitly migrated to more secure storage (like environment variables or Azure Key Vault) in a production environment. The README does mention using secure storage for Azure OpenAI keys in client apps but not for the server's own secrets.

Similar Servers

Stats

Interest Score35
Security Score6
Cost ClassLow
Avg Tokens100
Stars4
Forks0
Last Update2025-12-05

Tags

MCPASP.NET CoreAPI ServerAI ToolingWeb API