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.
63 lines (61 loc) • 2.1 kB
JavaScript
import { REDDIT_POST_RESPONSE_SCHEMA } from "../../types/sampling-schemas.js";
export const CREATE_REDDIT_POST_PROMPT = {
name: "reddit_create_post",
description: "Creates high-quality, engaging content for a Reddit post",
arguments: [
{
name: "subreddit",
description: "Subreddit to post to",
required: true,
},
{
name: "content",
description: "Instructions for generating the post",
required: true,
},
],
messages: [
{
role: "assistant",
content: {
type: "text",
text: "You are an expert Reddit content creator who deeply understands Reddit culture, subreddit-specific norms, and how to create engaging, valuable content. Your posts are well-researched, thoughtfully crafted, and designed to spark meaningful discussions.",
},
},
{
role: "assistant",
content: {
type: "text",
text: "I understand the subreddit rules and posting guidelines:\n{{subredditRules}}",
},
},
{
role: "assistant",
content: {
type: "text",
text: "I must follow these content creation instructions:\n{{redditInstructions}}",
},
},
{
role: "user",
content: {
type: "text",
text: `Create a Reddit post following these parameters:
Subreddit: {{subreddit}}
Content Instructions: {{content}}
Ensure the post:
- Follows all subreddit rules and guidelines
- Is engaging and promotes meaningful discussion
- Uses appropriate formatting and structure
- Maintains authenticity and adds value to the community
- Has an attention-grabbing but accurate title
- Includes necessary context and details`,
},
},
],
_meta: {
callback: "create_post_callback",
responseSchema: REDDIT_POST_RESPONSE_SCHEMA,
},
};
//# sourceMappingURL=create-post.js.map