Skip to main content

MCP Server for handling guidelines, project rules and a controlled development workflow

Project description

mcp-guide

Build Status Security Maintenance PyPI version PyPI downloads Python versions

Structured content delivery for AI agents via Model Context Protocol

mcp-guide is an MCP server that provides AI agents with organised access to project guidelines, documentation, and context. It helps agents understand your project's standards, follow development workflows, and access relevant information through a flexible content management system.

Key Features

  • Content Management - Organise documents, instructions and prompts by category and collection
  • Template Support - Dynamic content with Mustache/Chevron templates
  • Multiple Transports - STDIO, HTTP, and HTTPS modes
  • Feature Flags - Project-specific and global configuration
  • Workflow Management - Structured development phase tracking
  • Profile System - Pre-configured setups for common scenarios
  • Docker Support - Containerised deployment with SSL
  • OpenSpec Integration - Spec-driven development workflow

Quick Start

mcp-guide is run using your AI Agent's MCP configuration, and not usually run directly, at least in stdio transport mode. In stdio mode, standard input and output are used to communicate with the MCP so the agent needs to control both in order to operate. In http mode, however, the server provides web server (http) transport, and this may be started in standalone mode, not necessarily by the agent directly (although typically it does).

The configurations below detail configuration with some cli agents, but almost all of them will be similar.

Configure with AI Agents

JSON configuration

These blocks can be used as is and inserted into the agent's configuration. The stdio mode is a straightforward configuration, although it requires the uv tool to be installed.

Stdio
{
  "mcpServers": {
    "mcp-guide": {
      "command": "uvx",
      "args": ["mcp-guide"]
    }
  }
}

If the "mcpServers" block already exists, add the "mcp-guide" block at the end, ensuring that the previously last item, if any, has a terminating comma.

Kiro-CLI

Add the above JSON block to ~/.kiro/settings/mcp.json.

Claude Code

Add the above JSON block to ~/.claude/settings.json.

GitHub Copilot CLI

Add this JSON block to ~/.config/.copilot/mcp.json.

Other clients will offer similar configuration, some also

See the Installation Guide for more detail in use with various clients, use with docker and using the http/sse transport mode.

Content Organisation

mcp-guide organises content using frontmatter (optional YAML metadata at the start of documents) to define document properties and behaviour.

Content is classified into three types via the type: field in frontmatter:

  • user/information - Content displayed to users
  • agent/information - Context for AI agents
  • agent/instruction - Directives for agent behaviour

Content is organised using categories (file patterns and directories) and collections (groups of categories). Collections act as "macros" to provide targeted context for specific tasks or purposes.

See Content Management for details.

Feature Flags

Feature flags control behaviour, capabilities and special features and may be set globally or per project:

  • workflow - Enable workflow phase tracking
  • openspec - Enable OpenSpec integration
  • content-style - Output format (None, plain, mime)

See Feature Flags for more information.

Documentation

Links

License

MIT License - See LICENSE.md for details.

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_guide-1.2.0.tar.gz (276.2 kB view details)

Uploaded Source

Built Distribution

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

mcp_guide-1.2.0-py3-none-any.whl (455.8 kB view details)

Uploaded Python 3

File details

Details for the file mcp_guide-1.2.0.tar.gz.

File metadata

  • Download URL: mcp_guide-1.2.0.tar.gz
  • Upload date:
  • Size: 276.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mcp_guide-1.2.0.tar.gz
Algorithm Hash digest
SHA256 d68f7e48f54ac87a83a7902b9d95cb32ed64cffd25add41e71258c110d850c27
MD5 bf4e17c43e8b00126f80d83f73a0d6c2
BLAKE2b-256 a0346bb17e30c10a7430052023c31fb297a9f4bd000466ecfd48945dc7f1e52a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_guide-1.2.0.tar.gz:

Publisher: python-mcp-publish.yml on deeprave/mcp-guide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_guide-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_guide-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 455.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mcp_guide-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eecfa2a9c528a163ace2cc43400ad47e4594da2f54d1b89a953d2f9ff1016cd2
MD5 b49f97bea28474ab7920b07c49fbaf3d
BLAKE2b-256 9449f847ec085fcf1074554e3730a7ff4d0648a2eacb3fc49b02767a89fd7025

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_guide-1.2.0-py3-none-any.whl:

Publisher: python-mcp-publish.yml on deeprave/mcp-guide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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