├── .github └── workflows │ ├── image.yml │ └── main.yml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── LICENSE ├── NOTICE ├── README.md ├── SECURITY.md ├── deployment ├── Deploy-McpGateway.ps1 ├── infra │ ├── README.md │ ├── azure-deployment.bicep │ └── azure-deployment.json └── k8s │ ├── cloud-deployment-template.yml │ └── local-deployment.yml ├── docs └── entra-app-roles.md ├── dotnet ├── Directory.Packages.props ├── Microsoft.McpGateway.Management │ ├── src │ │ ├── Authorization │ │ │ ├── ForwardedIdentityHeaders.cs │ │ │ ├── IPermissionProvider.cs │ │ │ ├── Operation.cs │ │ │ └── SimplePermissionProvider.cs │ │ ├── Contracts │ │ │ ├── AdapterData.cs │ │ │ ├── AdapterResource.cs │ │ │ ├── AdapterStatus.cs │ │ │ ├── IManagedResource.cs │ │ │ ├── ResourcePermission.cs │ │ │ ├── ResourceType.cs │ │ │ ├── ToolData.cs │ │ │ ├── ToolDefinition.cs │ │ │ └── ToolResource.cs │ │ ├── Deployment │ │ │ ├── IAdapterDeploymentManager.cs │ │ │ ├── IKubeClientWrapper.cs │ │ │ ├── IKubernetesClientFactory.cs │ │ │ ├── KubeClient.cs │ │ │ ├── KubernetesAdapterDeploymentManager.cs │ │ │ └── LocalKubernetesClientFactory.cs │ │ ├── Extensions │ │ │ ├── IdentityExtensions.cs │ │ │ └── LoggingExtensions.cs │ │ ├── Microsoft.McpGateway.Management.csproj │ │ ├── Service │ │ │ ├── AdapterManagementService.cs │ │ │ ├── AdapterRichResultProvider.cs │ │ │ ├── IAdapterManagementService.cs │ │ │ ├── IAdapterRichResultProvider.cs │ │ │ ├── IToolManagementService.cs │ │ │ └── ToolManagementService.cs │ │ └── Store │ │ │ ├── CosmosAdapterResourceStore.cs │ │ │ ├── CosmosSystemTextJsonSerializer.cs │ │ │ ├── CosmosToolResourceStore.cs │ │ │ ├── IAdapterResourceStore.cs │ │ │ ├── IToolResourceStore.cs │ │ │ ├── InMemoryAdapterResourceStore.cs │ │ │ ├── InMemoryToolResourceStore.cs │ │ │ ├── RedisAdapterResourceStore.cs │ │ │ └── RedisToolResourceStore.cs │ └── test │ │ ├── AdapterManagementServiceTests.cs │ │ ├── AdapterRichResultProviderTests.cs │ │ ├── KubernetesAdapterDeploymentManagerTests.cs │ │ ├── Microsoft.McpGateway.Management.Tests.csproj │ │ ├── SimplePermissionProviderTests.cs │ │ └── ToolManagementServiceTests.cs ├── Microsoft.McpGateway.Service │ ├── src │ │ ├── Authentication │ │ │ └── DevelopmentAuthenticationHandler.cs │ │ ├── Constants.cs │ │ ├── Controllers │ │ │ ├── AdapterReverseProxyController.cs │ │ │ ├── ManagementController.cs │ │ │ ├── PingController.cs │ │ │ └── ToolManagementController.cs │ │ ├── HttpProxy.cs │ │ ├── McpSubPathAwareAuthenticationHandler.cs │ │ ├── Microsoft.McpGateway.Service.csproj │ │ ├── Program.cs │ │ ├── Properties │ │ │ ├── PublishProfiles │ │ │ │ ├── github.pubxml │ │ │ │ └── localhost_5000.pubxml │ │ │ └── launchSettings.json │ │ ├── Routing │ │ │ ├── AdapterKubernetesNodeInfoProvider.cs │ │ │ └── IServiceNodeInfoProvider.cs │ │ ├── Session │ │ │ ├── AdapterSessionRoutingHandler.cs │ │ │ ├── DistributedMemorySessionStore.cs │ │ │ ├── IAdapterSessionStore.cs │ │ │ ├── ISessionRoutingHandler.cs │ │ │ └── SessionInfo.cs │ │ ├── appsettings.Development.json │ │ └── appsettings.json │ └── test │ │ ├── AdapterSessionRoutingHandlerTests.cs │ │ ├── Microsoft.McpGateway.Service.Tests.csproj │ │ └── SessionStoreTests.cs ├── Microsoft.McpGateway.Tools │ ├── src │ │ ├── Contracts │ │ │ ├── IToolDefinitionProvider.cs │ │ │ └── IToolExecutor.cs │ │ ├── Microsoft.McpGateway.Tools.csproj │ │ ├── Program.cs │ │ ├── Properties │ │ │ ├── PublishProfiles │ │ │ │ ├── github.pubxml │ │ │ │ └── localhost_5000.pubxml │ │ │ └── launchSettings.json │ │ ├── Services │ │ │ ├── DummyToolExecutor.cs │ │ │ ├── HttpToolExecutor.cs │ │ │ └── StorageToolDefinitionProvider.cs │ │ ├── appsettings.Development.json │ │ └── appsettings.json │ └── test │ │ ├── Microsoft.McpGateway.Tools.Tests.csproj │ │ └── StorageToolDefinitionProviderTests.cs └── Microsoft.McpGateway.sln ├── infra-diagram.png ├── openapi └── mcp-gateway.openapi.json └── sample-servers ├── mcp-example ├── Dockerfile ├── requirements.txt └── src │ └── main.py ├── mcp-proxy ├── Dockerfile ├── README.md ├── requirements.txt └── src │ └── main.py └── tool-example ├── Dockerfile ├── app.py └── requirements.txt /.github/workflows/image.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/.github/workflows/image.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/SECURITY.md -------------------------------------------------------------------------------- /deployment/Deploy-McpGateway.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/deployment/Deploy-McpGateway.ps1 -------------------------------------------------------------------------------- /deployment/infra/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/deployment/infra/README.md -------------------------------------------------------------------------------- /deployment/infra/azure-deployment.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/deployment/infra/azure-deployment.bicep -------------------------------------------------------------------------------- /deployment/infra/azure-deployment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/deployment/infra/azure-deployment.json -------------------------------------------------------------------------------- /deployment/k8s/cloud-deployment-template.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/deployment/k8s/cloud-deployment-template.yml -------------------------------------------------------------------------------- /deployment/k8s/local-deployment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/deployment/k8s/local-deployment.yml -------------------------------------------------------------------------------- /docs/entra-app-roles.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/docs/entra-app-roles.md -------------------------------------------------------------------------------- /dotnet/Directory.Packages.props: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Directory.Packages.props -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Authorization/ForwardedIdentityHeaders.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Authorization/ForwardedIdentityHeaders.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Authorization/IPermissionProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Authorization/IPermissionProvider.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Authorization/Operation.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Authorization/Operation.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Authorization/SimplePermissionProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Authorization/SimplePermissionProvider.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Contracts/AdapterData.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Contracts/AdapterData.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Contracts/AdapterResource.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Contracts/AdapterResource.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Contracts/AdapterStatus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Contracts/AdapterStatus.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Contracts/IManagedResource.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Contracts/IManagedResource.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Contracts/ResourcePermission.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Contracts/ResourcePermission.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Contracts/ResourceType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Contracts/ResourceType.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Contracts/ToolData.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Contracts/ToolData.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Contracts/ToolDefinition.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Contracts/ToolDefinition.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Contracts/ToolResource.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Contracts/ToolResource.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Deployment/IAdapterDeploymentManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Deployment/IAdapterDeploymentManager.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Deployment/IKubeClientWrapper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Deployment/IKubeClientWrapper.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Deployment/IKubernetesClientFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Deployment/IKubernetesClientFactory.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Deployment/KubeClient.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Deployment/KubeClient.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Deployment/KubernetesAdapterDeploymentManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Deployment/KubernetesAdapterDeploymentManager.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Deployment/LocalKubernetesClientFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Deployment/LocalKubernetesClientFactory.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Extensions/IdentityExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Extensions/IdentityExtensions.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Extensions/LoggingExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Extensions/LoggingExtensions.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Microsoft.McpGateway.Management.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Microsoft.McpGateway.Management.csproj -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Service/AdapterManagementService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Service/AdapterManagementService.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Service/AdapterRichResultProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Service/AdapterRichResultProvider.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Service/IAdapterManagementService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Service/IAdapterManagementService.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Service/IAdapterRichResultProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Service/IAdapterRichResultProvider.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Service/IToolManagementService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Service/IToolManagementService.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Service/ToolManagementService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Service/ToolManagementService.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Store/CosmosAdapterResourceStore.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Store/CosmosAdapterResourceStore.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Store/CosmosSystemTextJsonSerializer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Store/CosmosSystemTextJsonSerializer.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Store/CosmosToolResourceStore.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Store/CosmosToolResourceStore.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Store/IAdapterResourceStore.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Store/IAdapterResourceStore.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Store/IToolResourceStore.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Store/IToolResourceStore.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Store/InMemoryAdapterResourceStore.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Store/InMemoryAdapterResourceStore.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Store/InMemoryToolResourceStore.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Store/InMemoryToolResourceStore.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Store/RedisAdapterResourceStore.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Store/RedisAdapterResourceStore.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/src/Store/RedisToolResourceStore.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/src/Store/RedisToolResourceStore.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/test/AdapterManagementServiceTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/test/AdapterManagementServiceTests.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/test/AdapterRichResultProviderTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/test/AdapterRichResultProviderTests.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/test/KubernetesAdapterDeploymentManagerTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/test/KubernetesAdapterDeploymentManagerTests.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/test/Microsoft.McpGateway.Management.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/test/Microsoft.McpGateway.Management.Tests.csproj -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/test/SimplePermissionProviderTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/test/SimplePermissionProviderTests.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Management/test/ToolManagementServiceTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Management/test/ToolManagementServiceTests.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Authentication/DevelopmentAuthenticationHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Authentication/DevelopmentAuthenticationHandler.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Constants.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Constants.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Controllers/AdapterReverseProxyController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Controllers/AdapterReverseProxyController.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Controllers/ManagementController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Controllers/ManagementController.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Controllers/PingController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Controllers/PingController.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Controllers/ToolManagementController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Controllers/ToolManagementController.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/HttpProxy.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/HttpProxy.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/McpSubPathAwareAuthenticationHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/McpSubPathAwareAuthenticationHandler.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Microsoft.McpGateway.Service.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Microsoft.McpGateway.Service.csproj -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Program.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Properties/PublishProfiles/github.pubxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Properties/PublishProfiles/github.pubxml -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Properties/PublishProfiles/localhost_5000.pubxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Properties/PublishProfiles/localhost_5000.pubxml -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Properties/launchSettings.json -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Routing/AdapterKubernetesNodeInfoProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Routing/AdapterKubernetesNodeInfoProvider.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Routing/IServiceNodeInfoProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Routing/IServiceNodeInfoProvider.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Session/AdapterSessionRoutingHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Session/AdapterSessionRoutingHandler.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Session/DistributedMemorySessionStore.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Session/DistributedMemorySessionStore.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Session/IAdapterSessionStore.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Session/IAdapterSessionStore.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Session/ISessionRoutingHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Session/ISessionRoutingHandler.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/Session/SessionInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/Session/SessionInfo.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/appsettings.Development.json -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/src/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/src/appsettings.json -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/test/AdapterSessionRoutingHandlerTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/test/AdapterSessionRoutingHandlerTests.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/test/Microsoft.McpGateway.Service.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/test/Microsoft.McpGateway.Service.Tests.csproj -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Service/test/SessionStoreTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Service/test/SessionStoreTests.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Tools/src/Contracts/IToolDefinitionProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Tools/src/Contracts/IToolDefinitionProvider.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Tools/src/Contracts/IToolExecutor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Tools/src/Contracts/IToolExecutor.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Tools/src/Microsoft.McpGateway.Tools.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Tools/src/Microsoft.McpGateway.Tools.csproj -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Tools/src/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Tools/src/Program.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Tools/src/Properties/PublishProfiles/github.pubxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Tools/src/Properties/PublishProfiles/github.pubxml -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Tools/src/Properties/PublishProfiles/localhost_5000.pubxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Tools/src/Properties/PublishProfiles/localhost_5000.pubxml -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Tools/src/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Tools/src/Properties/launchSettings.json -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Tools/src/Services/DummyToolExecutor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Tools/src/Services/DummyToolExecutor.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Tools/src/Services/HttpToolExecutor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Tools/src/Services/HttpToolExecutor.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Tools/src/Services/StorageToolDefinitionProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Tools/src/Services/StorageToolDefinitionProvider.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Tools/src/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Tools/src/appsettings.Development.json -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Tools/src/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Tools/src/appsettings.json -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Tools/test/Microsoft.McpGateway.Tools.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Tools/test/Microsoft.McpGateway.Tools.Tests.csproj -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.Tools/test/StorageToolDefinitionProviderTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.Tools/test/StorageToolDefinitionProviderTests.cs -------------------------------------------------------------------------------- /dotnet/Microsoft.McpGateway.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/dotnet/Microsoft.McpGateway.sln -------------------------------------------------------------------------------- /infra-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/infra-diagram.png -------------------------------------------------------------------------------- /openapi/mcp-gateway.openapi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/openapi/mcp-gateway.openapi.json -------------------------------------------------------------------------------- /sample-servers/mcp-example/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/sample-servers/mcp-example/Dockerfile -------------------------------------------------------------------------------- /sample-servers/mcp-example/requirements.txt: -------------------------------------------------------------------------------- 1 | fastmcp==2.13.0 2 | -------------------------------------------------------------------------------- /sample-servers/mcp-example/src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/sample-servers/mcp-example/src/main.py -------------------------------------------------------------------------------- /sample-servers/mcp-proxy/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/sample-servers/mcp-proxy/Dockerfile -------------------------------------------------------------------------------- /sample-servers/mcp-proxy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/sample-servers/mcp-proxy/README.md -------------------------------------------------------------------------------- /sample-servers/mcp-proxy/requirements.txt: -------------------------------------------------------------------------------- 1 | fastmcp==2.13.0 2 | validators==0.35.0 3 | -------------------------------------------------------------------------------- /sample-servers/mcp-proxy/src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/sample-servers/mcp-proxy/src/main.py -------------------------------------------------------------------------------- /sample-servers/tool-example/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/sample-servers/tool-example/Dockerfile -------------------------------------------------------------------------------- /sample-servers/tool-example/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/sample-servers/tool-example/app.py -------------------------------------------------------------------------------- /sample-servers/tool-example/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/mcp-gateway/HEAD/sample-servers/tool-example/requirements.txt --------------------------------------------------------------------------------