Back to Home
marcominerva icon

McpServerAspNetCore

Verified Safe

by marcominerva

Overview

Provides a minimal ASP.NET Core server for AI agents to discover and utilize external tools via the Model Context Protocol (MCP).

Installation

Run Command
dotnet run --project src/McpServerAspNetCore --launch-profile https

Environment Variables

  • ASPNETCORE_ENVIRONMENT
  • OPENWEATHERMAP_APP_ID
  • MCP_SERVER_API_KEY

Security Notes

The server includes a hardcoded API key (f1I7S5GXa4wQDgLQWgz0) in `appsettings.json` for server authentication, which is a critical security risk for production deployment. `AllowedHosts` is set to `*`, which is generally not recommended for production. CORS is enabled but configurable, requiring careful setup. No 'eval' or malicious patterns were observed in the provided source code.

Similar Servers

Stats

Interest Score34
Security Score4
Cost ClassLow
Stars4
Forks0
Last Update2026-01-15

Tags

ASP.NET CoreMCPAI ToolsAPI ServerOpenAPI