Metadata-Version: 2.3
Name: prompts-mcp
Version: 1.6.0
Summary: Model Context Protocol (MCP) server of Markdown based prompts.
Keywords: model-context-protocol,mcp,prompts,ai,llm
Author: Anssi Syrjäsalo
Author-email: Anssi Syrjäsalo <ai@alkue.com>
License: LGPLv3
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: mcp>=1.14.1
Requires-Python: >=3.10
Project-URL: Documentation, https://github.com/alkue-com/prompts-mcp/blob/main/README.md
Project-URL: Homepage, https://pypi.org/project/prompts-mcp
Project-URL: Repository, https://github.com/alkue-com/prompts-mcp
Description-Content-Type: text/markdown

# 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`:

```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.
