MCP.so
Sign In

mcp-prompts-rs

@sparesparrow

About mcp-prompts-rs

Rust-based server for managing AI prompts using the Model Context Protocol (MCP)

Basic information

Category

Other

License

MIT license

Runtime

rust

Transports

stdio

Publisher

sparesparrow

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-prompts-rs": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "mcp-prompts-rs",
        "."
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is mcp-prompts-rs?

mcp-prompts-rs is a Rust-based server for managing AI prompts using the Model Context Protocol (MCP), an open standard for connecting AI applications to data sources and tools. It provides functionality for storing, retrieving, and managing prompts with template variables, categorization, and multiple storage backends. It is a Rust rewrite of the original mcp-prompts TypeScript implementation.

How to use mcp-prompts-rs?

Install Rust 1.70+, clone the repository, and build with cargo build. Start the server with cargo run or with custom options like --port 3000 --storage filesystem. Integrate with Claude Desktop by adding a server entry in the Claude config pointing to http://localhost:8080.

Key features of mcp-prompts-rs

  • Prompt management with CRUD operations and categorization
  • Template support with variables for runtime customization
  • Storage backends: filesystem and PostgreSQL
  • RESTful API with SSE for real-time updates
  • Implements MCP for integration with AI assistants
  • Docker support and health check endpoints

Use cases of mcp-prompts-rs

  • Store and retrieve AI prompts with categories
  • Customize prompts with template variables
  • Automate software project creation using templates
  • Receive real-time updates via Server-Sent Events
  • Deploy with Docker for consistent environments

FAQ from mcp-prompts-rs

How does mcp-prompts-rs differ from the original mcp-prompts?

It is a Rust rewrite of the TypeScript implementation, providing the same prompt management capabilities with a different language and performance characteristics.

What are the runtime requirements?

Rust 1.70 or higher and optionally PostgreSQL for database storage.

Where are prompts stored?

Prompts can be stored either on the filesystem (default directory) or in a PostgreSQL database, depending on the chosen storage backend.

What API does it expose?

It exposes RESTful endpoints for CRUD operations on prompts (GET /prompts, POST /prompts, etc.) and a Server-Sent Events endpoint (GET /events) for real-time updates.

Can I run it with Docker?

Yes, a Dockerfile is provided; build with docker build -t mcp-prompts-rs . and run with docker run -p 8080:8080 mcp-prompts-rs.

Comments

More Other MCP servers