Back to Home
masaki39 icon

prompts-mcp

Verified Safe

by masaki39

Overview

Serves Markdown files as Model Context Protocol (MCP) tools or slash commands (prompts) for AI models by parsing them once at startup.

Installation

Run Command
npx -y @masaki39/prompts-mcp@latest

Environment Variables

  • PROMPTS_DIR
  • REGISTER_AS

Security Notes

The server reads Markdown files from a directory specified by `PROMPTS_DIR`. While the parsing logic itself is robust, includes name validation, and does not execute arbitrary code, ensuring that `PROMPTS_DIR` points to a trusted location is crucial to prevent the server from processing or exposing unexpected content. No 'eval' or direct arbitrary code execution from prompt content was identified.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2026-01-14

Tags

MCPMarkdownPromptsAI ToolsSlash Commands