MCP server with Azure Function app running inside docker container, exposing two tools for LLM use.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mcpserver-in-docker": {
"args": [
"-y",
"azure-functions-core-tools"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
The Policy MCP Server is a Model Context Protocol (MCP) compliant Azure Functions application that exposes policy management capabilities as standardized MCP tools. This server enables AI models and clients to discover, list, and retrieve policy details through the MCP protocol.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'azure-functions-core-tools' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked azure-functions-core-tools against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in devops
MCP server for using the GitLab API
Enhanced MCP server for GitLab: group projects listing and activity tracking
Yunxiao MCP Server provides AI assistants with the ability to interact with the Yunxiao platform. It provides a set of tools that interact with Yunxiao's API, allowing AI assistants to manage Codeup repository, Project, Pipeline, Packages etc.
MCP server for Komodo - manage Docker containers, servers, stacks, and deployments via AI
MCP Security Weekly
Get CVE alerts and security updates for McpServer In Docker and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
The Policy MCP Server is a Model Context Protocol (MCP) compliant Azure Functions application that exposes policy management capabilities as standardized MCP tools. This server enables AI models and clients to discover, list, and retrieve policy details through the MCP protocol.
npm install -g azure-functions-core-tools@4Clone the repository
git clone <repository-url>
cd ai-mcp-container-app
Navigate to the project
cd source/PolicyMcpServer
Install dependencies
dotnet restore
Microsoft.Azure.Functions.Worker v2.51.0Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore v2.1.0Microsoft.Azure.Functions.Worker.ApplicationInsights v2.50.0.NET 10.0 runtimeBuild the project:
cd source/PolicyMcpServer
dotnet build
Run the server locally:
func start
The server will start at: http://localhost:7071
Build Docker image:
docker build -t policy-mcp-server:latest .
Run in Docker:
docker run -p 8080:80 policy-mcp-server:latest
Access at: http://localhost:8080
Import the collection:
Test/PolicyMCP-Postman-Collection.jsonSet the base URL variable:
base_url variable (default: http://localhost:7071)Run the requests in order:
Clients can discover the server's capabilities by fetching the manifest first:
curl -X GET http://localhost:7071/api/mcp/manifest \
-H "Content-Type: application/json"
Expected Response:
{
"mcpVersion": "2024-11-05",
"name": "PolicyMcpServer",
"version": "1.0.0",
"description": "Policy Management Model Context Protocol Server",
"author": "Your Organization",
"license": "MIT",
"tools": [
{
"name": "listPolicies",
"description": "Returns a list of all policies with basic metadata.",
"inputSchema": { "type": "object", "properties": {} }
},
{
"name": "getPolicyDetails",
"description": "Returns full metadata for a single policy by ID.",
"inputSchema": {
"type": "object",
"properties": { "policyId": { "type": "string" } },
"required": ["policyId"]
}
}
],
"endpoints": {
"initialize": "/api/mcp/initialize",
"invoke": "/api/mcp/invoke",
"tools": "/api/mcp/tools",
"manifest": "/api/mcp/manifest"
}
}
The manifest provides:
Clients use this manifest to discover what tools are available before calling the initialize endpoint.
curl -X POST http://localhost:7071/api/mcp/i
... [View full README on GitHub](https://github.com/ravindersirohi/McpServer-In-Docker#readme)