Skip to main content

MCP server that exposes Project AI Memory (memory.md) as resources and tools for Cursor, Claude, and other MCP clients

Project description

mcp-name: io.github.NeetPatel/devops-mcp

DevOps MCP Server

MCP server that exposes Project AI Memory (memory.md) as resources and tools so AI clients (Cursor, Claude Desktop, etc.) can load DevOps/DevSecOps context. AI security rules are configured in memory.md (sections AI Security Rules and DevSecOps Security Rules) and enforced via the get_security_checklist tool; the AI is instructed to call it before security-sensitive work and to never suggest hardcoded secrets, disabled auth, or unsafe IAM.

Install

pip install mcp-memory-server

Run from a directory that contains memory.md, or set the path:

mcp-memory
# or
MCP_MEMORY_PATH=/path/to/memory.md mcp-memory

What it exposes

Memory (project policy):

  • Resource memory://project-context – full contents of memory.md
  • Toolsget_memory_section, get_security_checklist, get_code_standards

Execution tools (MCP tool names):

DevOps tool MCP tool name Implementation
Terraform terraform.plan CLI
Kubernetes k8s.pods CLI (kubectl)
Docker docker.images CLI
GitHub github.action GitHub API
Jenkins jenkins.jobs Jenkins API
Jenkins jenkins.build Jenkins API
Trivy security.scan CLI
Registry registry.images Registry V2 API
Drift drift.check Terraform CLI
K8s drift k8s.drift kubectl diff
DBA dba.query psql (CLI)

Install CLIs (kubectl, terraform, docker, trivy, psql, curl) via bash install-devops-tools.sh; see TOOLS.md. Env: GITHUB_TOKEN, JENKINS_URL (+ optional JENKINS_USER/JENKINS_TOKEN), REGISTRY_URL (+ optional REGISTRY_USER/REGISTRY_TOKEN) for private registries.

Load in Cursor (any system, like AWS Labs MCPs)

Add to Cursor MCP config (~/.cursor/mcp.json or Settings → MCP). Uses uvx so the server runs from PyPI without a local clone (same pattern as awslabs.cdk-mcp-server):

{
  "mcpServers": {
    "devops-mcp": {
      "command": "uvx",
      "args": ["mcp-memory-server@latest"],
      "env": {}
    }
  }
}
  • Use mcp-memory-server for latest install, or mcp-memory-server@latest to pin to latest.
  • Cursor uses your workspace as cwd, so put memory.md in the project root, or set a path in env:
"devops-mcp": {
  "command": "uvx",
  "args": ["mcp-memory-server@latest"],
  "env": {
    "MCP_MEMORY_PATH": "/path/to/your/memory.md"
  }
}

Requires uv (curl -LsSf https://astral.sh/uv/install.sh | sh).

Publish to PyPI (so others can use uvx)

From this repo, after tests pass:

uv run python -m build
uv run twine upload dist/*

Or with a GitHub workflow: build the package, then twine upload using a PyPI token. Once mcp-memory-server is on PyPI, anyone can use the Cursor config above on any machine.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_memory_server-1.5.0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_memory_server-1.5.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file mcp_memory_server-1.5.0.tar.gz.

File metadata

  • Download URL: mcp_memory_server-1.5.0.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for mcp_memory_server-1.5.0.tar.gz
Algorithm Hash digest
SHA256 1ab9ff55beccde0255fdbe225a0bcd223afa26ec7a2078bf0a2826d108bd26f4
MD5 4a67bbece661904df67444e10983815e
BLAKE2b-256 a09bf477d03c01d9edd5d6a3a8060f3230f67a3a2d2e6405a342493efc123470

See more details on using hashes here.

File details

Details for the file mcp_memory_server-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_memory_server-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ef1885848eeced3af51dd4f3346857e121abbfdf797373564e053864ac42702
MD5 3910c849bd081e13782e50edc9fac23e
BLAKE2b-256 474f3fdafebe3e6e9c555c2c10e15a456b52d166cbfe7fd398c8108d7a94ea5c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page