simple-prompts-mcp
Overview
- A simple MCP server for utilizing prompts.
- Prompts are defined in advance using YAML files.
Defining Prompt Files
Define each prompt in a separate YAML file.
Schema Details
name: string. Identifier for the prompt.description: string. Description of the prompt.arguments: array. Each element is an object with the following properties:name: string. Argument name.description: string. Description of the argument.required: boolean. Whether the argument is required.
prompt: string. The main body of the prompt.
The prompt body (prompt) is dynamically generated using Python'sstr.format()with named arguments.
As shown in the example, you can use placeholders like{user_name}which will be replaced with the provided argument values.
Example
name: example
description: This is a sample prompt.
arguments:
- name: user_name
description: Name of the user
required: true
prompt: |
Hello, {user_name}!
Please create each YAML file according to this schema.
Registering the MCP Server
To register simple-prompts-mcp as an MCP server, add the following to your configuration file.
Note:
Please use Python 3.11 or later withuv.
{
"mcpServers": {
"simple-prompts-mcp": {
"command": "uvx",
"args": ["simple-prompts-mcp"]
}
}
}
Configuration
| Environment Variable | Purpose | Default Value |
|---|---|---|
PROMPTS_DIR |
Directory to store prompt files | ~/.config/simple-prompts-mcp |
{
"mcpServers": {
"simple-prompts-mcp": {
"command": "uvx",
"args": ["simple-prompts-mcp"],
"env": {
"PROMPTS_DIR": "/full-path/to/prompts/dir"
}
}
}
}
License
This project is licensed under the MIT License. See the LICENSE file for details.
Metadata
Release files for simple-prompts-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| simple_prompts_mcp-0.1.1.tar.gz | 23.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| simple_prompts_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.3 kB
Release files / simple_prompts_mcp-0.1.1.tar.gz
| Download URL | simple_prompts_mcp-0.1.1.tar.gz |
|---|---|
| Size | 23.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d93dc2a8ef8fd56d8869a9f3e60fbc79806d215484e22f226be0d8a0b78af3f
|
|
BLAKE2b-256 checksum How to use checksums |
e73eb467673b484597ea97d7c61c43308e0876fa46627c00199c3e94a33b144b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / simple_prompts_mcp-0.1.1-py3-none-any.whl
| Download URL | simple_prompts_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3613821678bf905ccdb758ae52858302821f0587bb3cef1a6a3c465ad9b14c2c
|
|
BLAKE2b-256 checksum How to use checksums |
cb07ae03d4bfff2deff96c09fc93020ac0b5f9bffbd60576e7b2c01e0856c7f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Security for simple-prompts-mcp 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.