iran@portfolio:~$ cat projects/devops-mcp-server
~/projects/devops-mcp-server
AI ToolingMCPAPIPython

DevOps-MCP-Server

An MCP (Model Context Protocol) server that centralizes an organization's AI coding standards, skills, instructions, and policies, so any connected AI agent (Claude, ChatGPT, Gemini, etc.) generates output that follows those standards from the first prompt. Hosted centrally with authentication, published open source on GitHub, and auto-indexed by mcpmarket.com.

org-wide AI standardsProduction
// key highlights
[01]

Solely researched, designed, and built a production MCP server for centralizing organizational AI agent standards

[02]

Designed a versioned Markdown + YAML frontmatter content model organized by category and type, so new standards can be added without code changes

[03]

Deliberately restricted every exposed MCP tool to read-only operations, giving AI agents a controlled, auditable interface with no ability to modify the underlying standards

[04]

Secured the API with key-based authentication and containerized the server with Docker for consistent deployment

[05]

Solved the "local files don't scale" problem by hosting skills, instructions, and policies centrally instead of distributing files per device

[06]

Designed for single-source updates: changing a policy propagates to every connected AI agent immediately

[07]

Published as open source on GitHub and auto-indexed by mcpmarket.com, making it usable by any MCP-compatible AI assistant

// overview

A Model Context Protocol (MCP) server that centralizes an organization's skills, instructions, and policies for AI coding agents, so tools like Claude, ChatGPT, and Gemini generate output that follows organizational standards from the first prompt, rather than requiring iterative correction.

I researched, designed, and built this entirely on my own: the MCP server itself, the structured skills and policy content it serves, and the centralized, authenticated hosting model that lets an entire organization stay in sync from a single source rather than distributing files by hand.

// problem

Getting consistently accurate, standards-compliant output from an AI coding agent like ChatGPT, Claude, or Gemini usually takes more than one prompt. Ask an agent to build a Terraform project to deploy a Container Apps environment, for example, and without specific guidance it will structure the project however it sees fit: how variables and models are defined, where secrets are stored, what logging is included, and how the project is organized are all left to the agent's own defaults, often requiring several follow-up prompts to correct before the output matches organizational conventions.

Providing an AI agent with skill and instruction files on a local device solves this for one person, but it doesn't scale. Across an organization with many people using AI tools, there's no practical way to distribute those files to everyone and keep them in sync: every time a standard or policy changes, the updated files have to be manually redistributed, with no guarantee everyone is actually working from the latest version.

// approach

  1. Researched how to centralize AI agent skills, instructions, and policies so they could be maintained in one place and consumed by any AI tool, rather than distributed as local files per device.

  2. Designed the content model first: versioned Markdown files with YAML frontmatter, organized by category (Python, Ansible, Terraform, Docker, Kubernetes, CI/CD, and general engineering practices) and type (skills, instructions, prompts, policies, and rules), so new organizational standards can be added as content rather than code changes.

  3. Built the MCP server itself using FastMCP mounted on a Starlette ASGI application, exposing four tools for searching, listing, and retrieving that content, so a connected AI agent can look up exactly what it needs, for instance how to define infrastructure variables, where secrets should be stored, or what logging a project needs.

  4. Deliberately restricted every exposed tool to read-only operations, so AI agents get a controlled, auditable window into these standards with no ability to modify them.

  5. Secured the endpoint with API key authentication and containerized the server with Docker, so it can be deployed centrally behind auth rather than run locally per device.

  6. Designed the setup so each user configures their AI tool to point at this one MCP server endpoint only once; from that point on, every prompt automatically has access to whatever the current organizational standards are, with no further per-user setup.

  7. Built this so that updating a policy or skill only means updating its Markdown file and restarting the server; every connected AI agent picks up the change immediately, with nothing to redistribute.

  8. Published the project as open source on GitHub, where it was subsequently auto-indexed by mcpmarket.com, making it discoverable to any MCP-compatible AI assistant.

// architecture

// outcome

Organizations can now define coding and response standards, such as how to structure a project, where secrets should live, or what logging to include, in one central MCP server instead of distributing instruction files by hand. Every connected AI agent follows the latest version automatically, since there's a single source of truth rather than per-device files that drift out of sync. Every exposed tool is read-only, so connected AI agents can consult these standards with no risk of modifying them, keeping the source safe to expose broadly and easy to audit. The project is open source on GitHub and was auto-indexed by mcpmarket.com, making it usable by any MCP-compatible AI assistant beyond whichever organization deploys it.

// references