Skip to main content

Model Context Protocol (MCP) server of Markdown based prompts.

Project description

prompts-mcp

Model Context Protocol (MCP) server of Markdown based prompts.

Serves a directory of Markdown files as prompts to a chat session.

Works with any MCP client supporting server-side prompts.

Usage

Configure your client (e.g. Claude Desktop) by adding to your mcp.json:

{
    "mcpServers": {
        "prompts": {
            "command": "uvx",
            "args": ["prompts-mcp"],
            "env": {
                "PROMPTS_DIR": "/path/to/your/prompts"
            }
        }
    }
}

The location of the mcp.json file depends on your client and operating system.

Configuration

Set PROMPTS_DIR to a path containing the .md files you want to serve as prompts.

⚠️: The server will exit with an error if PROMPTS_DIR is not set or if the directory does not exist.

Prompt naming: _'s in file names are converted to spaces and .md is dropped.

Development

About 100% coded by AI. See CONTRIBUTING.md for local setup.

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

prompts_mcp-1.6.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

prompts_mcp-1.6.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file prompts_mcp-1.6.0.tar.gz.

File metadata

  • Download URL: prompts_mcp-1.6.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.19

File hashes

Hashes for prompts_mcp-1.6.0.tar.gz
Algorithm Hash digest
SHA256 d65ba64f242666f37702abe2aa74a59f8c490b566c24d66555afdf7a5b8ac29f
MD5 7098e3f0a486b1603a83097d2ce63882
BLAKE2b-256 b8d7e20b8b76214b2411e5e6e1dcb2c15663b9bf0c242521e60ac1bfbf15f1be

See more details on using hashes here.

File details

Details for the file prompts_mcp-1.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for prompts_mcp-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48ea498c142031b2a9a04c65ab896e56bee0a654c9ce578f7364e3faabd83a03
MD5 e85713c334ba89413915366d598cc302
BLAKE2b-256 0aaadeb0d37a88a796c4963de799471556e08d4f440a3f7f3bd104cfc28d3576

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