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.0.tar.gz (6.4 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.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: prompts_mcp-1.7.0.tar.gz
  • Upload date:
  • Size: 6.4 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.0.tar.gz
Algorithm Hash digest
SHA256 6ebcf4fd60d24a1505d89b70d6dead29f411cb4fbf18a71dae39cc66389f1f2c
MD5 db23225541a8b33bd32cfd6d7ce0d8e2
BLAKE2b-256 8116a0535e8632dba5ad7d89cf0273c94152d32c783eb939befadfcf35fb0d36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: prompts_mcp-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4733a30af0149b26844404866bf625a4e77752280632870c0858d0e85882844
MD5 a204a16090e87d4ce52c038a7db0a0a0
BLAKE2b-256 044509b87c5737d7a9bfd8e0fc487f0832c7edf78c6cb5f8144edfb17529ca52

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