mcp-prompts-rs logo

mcp-prompts-rs

by sparesparrow

mcp-prompts-rs is a Rust-based server for managing AI prompts using the Model Context Protocol (MCP). It provides functionality for storing, retrieving, and managing AI prompts with support for template variables, categorization, and multiple storage backends.

View on GitHub

Last updated: N/A

What is mcp-prompts-rs?

mcp-prompts-rs is a Rust implementation of a prompt management server that adheres to the Model Context Protocol (MCP), an open standard for connecting AI applications to data sources and tools. It's a rewrite of the original TypeScript implementation.

How to use mcp-prompts-rs?

First, clone the repository and build the project using cargo build. Then, run the server using cargo run, optionally specifying custom configurations like port, storage backend, and database URL. Integrate with AI assistants like Claude by adding the server URL to the assistant's configuration.

Key features of mcp-prompts-rs

  • Prompt Management

  • Template Support

  • Storage Backends (filesystem, PostgreSQL)

  • RESTful API with SSE

  • MCP Integration

  • Project Orchestration

Use cases of mcp-prompts-rs

  • Managing AI prompts for various applications

  • Integrating with AI assistants like Claude

  • Automating software project creation using templates

  • Storing and retrieving prompts with categorization

  • Customizing prompts at runtime with variables

FAQ from mcp-prompts-rs

What is the Model Context Protocol (MCP)?

MCP is an open standard for connecting AI applications to data sources and tools.

What storage backends are supported?

The server supports file system and PostgreSQL storage options.

How do I integrate with Claude?

Add the server URL to the Claude Desktop configuration under the 'mcp' settings.

What are the available API endpoints?

The API includes endpoints for managing prompts (GET, POST, PUT, DELETE) and an SSE endpoint for real-time updates.

How do I run the server with Docker?

Build the Docker image using docker build -t mcp-prompts-rs . and run it with docker run -p 8080:8080 mcp-prompts-rs.