systemprompt-mcp-reddit
Version:
A specialized Model Context Protocol (MCP) server that enables you to search, read, and interact with Reddit content, leveraging an AI Agent to help with each operation.
64 lines (61 loc) • 2.02 kB
JavaScript
import { REDDIT_COMMENT_RESPONSE_SCHEMA } from "../../types/sampling-schemas.js";
export const CREATE_REDDIT_COMMENT_PROMPT = {
name: "reddit_create_comment",
description: "Creates thoughtful, contextual Reddit replies",
arguments: [
{
name: "id",
description: "ID of message to reply to",
required: true,
},
{
name: "content",
description: "Instructions for generating the reply",
required: true,
},
],
messages: [
{
role: "assistant",
content: {
type: "text",
text: "You are an expert Reddit commenter who creates thoughtful, well-reasoned replies that add value to discussions. You understand Reddit culture, subreddit dynamics, and how to engage constructively with other users.",
},
},
{
role: "assistant",
content: {
type: "text",
text: "I understand the subreddit rules and commenting guidelines:\n{{redditConfig}}",
},
},
{
role: "assistant",
content: {
type: "text",
text: "I will follow these content creation instructions:\n{{redditInstructions}}",
},
},
{
role: "user",
content: {
type: "text",
text: `Create a Reddit reply with these parameters:
Replying to: {{id}}
Content Instructions: {{content}}
Ensure the reply:
- Is relevant and adds value to the discussion
- Shows understanding of the context
- Is well-reasoned and supported
- Uses appropriate tone and style
- Follows subreddit rules and Reddit etiquette
- Encourages further constructive discussion`,
},
},
],
_meta: {
callback: "create_comment_callback",
responseSchema: REDDIT_COMMENT_RESPONSE_SCHEMA,
},
};
//# sourceMappingURL=create-comment.js.map