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.7.1.tar.gz (6.6 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.7.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: prompts_mcp-1.7.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for prompts_mcp-1.7.1.tar.gz
Algorithm Hash digest
SHA256 f4b8932ee6e687a475836aec2e781bc8d23c0cc28d676c26b333b06191e5b053
MD5 a78a1e5bb79bc33934a7f74e70e74aa3
BLAKE2b-256 4d7e48e6306525a042f8efbe76c4e861bd16f700bce600b76655bcc52e7a9f40

See more details on using hashes here.

File details

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

File metadata

  • Download URL: prompts_mcp-1.7.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for prompts_mcp-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f77ca22bd2a066ffef7dce860c8a2686f8ea9f5feea71973f7940309c3ae651
MD5 084a729e671d2392f102472e55a830d9
BLAKE2b-256 4bef65dbbfdad4cead3b5c2b78ef1472536ea043b791f106abe9670837012d28

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