Skip to main content
Glama

n8n-workflow-builder-mcp

by ifmelate
reddit.json11.7 kB
{ "nodeType": "n8n-nodes-base.reddit", "displayName": "Reddit", "description": "Consume the Reddit API", "version": 1, "properties": [ { "name": "postId", "displayName": "Post ID", "type": "string", "default": "", "description": "ID of the post to write the comment to. Found in the post URL: <code>/r/[subreddit_name]/comments/[post_id]/[post_title]</code>", "placeholder": "l0me7x", "required": true, "displayOptions": { "show": { "resource": [ "postComment" ], "operation": [ "create" ] } } }, { "name": "commentText", "displayName": "Comment Text", "type": "string", "default": "", "description": "Text of the comment. Markdown supported.", "required": true, "displayOptions": { "show": { "resource": [ "postComment" ], "operation": [ "create" ] } } }, { "name": "subreddit", "displayName": "Subreddit", "type": "string", "default": "", "description": "The name of subreddit where the post is", "required": true, "displayOptions": { "show": { "resource": [ "postComment" ], "operation": [ "getAll" ] } } }, { "name": "returnAll", "displayName": "Return All", "type": "boolean", "default": false, "description": "Whether to return all results or only up to a given limit", "displayOptions": { "show": { "resource": [ "postComment" ], "operation": [ "getAll" ] } } }, { "name": "limit", "displayName": "Limit", "type": "number", "default": 100, "description": "Max number of results to return", "typeOptions": { "minValue": 1, "maxValue": 100 }, "displayOptions": { "show": { "resource": [ "postComment" ], "operation": [ "getAll" ], "returnAll": [ false ] } } }, { "name": "commentId", "displayName": "Comment ID", "type": "string", "default": "", "description": "ID of the comment to remove. Found in the comment URL:<code>/r/[subreddit_name]/comments/[post_id]/[post_title]/[comment_id]</code>", "placeholder": "gla7fmt", "required": true, "displayOptions": { "show": { "resource": [ "postComment" ], "operation": [ "delete" ] } } }, { "name": "replyText", "displayName": "Reply Text", "type": "string", "default": "", "description": "Text of the reply. Markdown supported.", "required": true, "displayOptions": { "show": { "resource": [ "postComment" ], "operation": [ "reply" ] } } }, { "name": "operation", "displayName": "Operation", "type": "options", "default": "create", "description": "Create a top-level comment in a post", "options": [ { "name": "Create", "value": "create", "description": "Create a top-level comment in a post" }, { "name": "Get Many", "value": "getAll", "description": "Retrieve many comments in a post" }, { "name": "Delete", "value": "delete", "description": "Remove a comment from a post" }, { "name": "Reply", "value": "reply", "description": "Write a reply to a comment in a post" } ], "displayOptions": { "show": { "resource": [ "postComment" ] } } }, { "name": "kind", "displayName": "Kind", "type": "options", "default": "self", "description": "The kind of the post to create", "options": [ { "name": "Text Post", "value": "self" }, { "name": "Link Post", "value": "link" }, { "name": "Image Post", "value": "image" } ], "displayOptions": { "show": { "resource": [ "post" ], "operation": [ "create" ] } } }, { "name": "title", "displayName": "Title", "type": "string", "default": "", "description": "Title of the post, up to 300 characters long", "required": true, "displayOptions": { "show": { "resource": [ "post" ], "operation": [ "create" ] } } }, { "name": "url", "displayName": "URL", "type": "string", "default": "", "description": "URL of the post", "required": true, "displayOptions": { "show": { "resource": [ "post" ], "operation": [ "create" ], "kind": [ "link", "image" ] } } }, { "name": "text", "displayName": "Text", "type": "string", "default": "", "description": "Text of the post. Markdown supported.", "required": true, "displayOptions": { "show": { "resource": [ "post" ], "operation": [ "create" ], "kind": [ "self" ] } } }, { "name": "resubmit", "displayName": "Resubmit", "type": "boolean", "default": false, "description": "Whether the URL will be posted even if it was already posted to the subreddit before. Otherwise, the re-posting will trigger an error.", "displayOptions": { "show": { "resource": [ "post" ], "operation": [ "create" ], "kind": [ "link", "image" ] } } }, { "name": "filters", "displayName": "Filters", "type": "collection", "default": {}, "description": "Category of the posts to retrieve", "placeholder": "Add Field", "displayOptions": { "show": { "resource": [ "post" ], "operation": [ "getAll" ] } } }, { "name": "location", "displayName": "Location", "type": "options", "default": "subreddit", "description": "Location where to search for posts", "options": [ { "name": "All Reddit", "value": "allReddit", "description": "Search for posts in all of Reddit" }, { "name": "Subreddit", "value": "subreddit", "description": "Search for posts in a specific subreddit" } ], "displayOptions": { "show": { "resource": [ "post" ], "operation": [ "search" ] } } }, { "name": "keyword", "displayName": "Keyword", "type": "string", "default": "", "description": "The keyword for the search", "required": true, "displayOptions": { "show": { "resource": [ "post" ], "operation": [ "search" ] } } }, { "name": "additionalFields", "displayName": "Additional Fields", "type": "collection", "default": {}, "description": "The category to sort results by", "placeholder": "Add Field", "displayOptions": { "show": { "resource": [ "post" ], "operation": [ "search" ] } } }, { "name": "details", "displayName": "Details", "type": "options", "default": "identity", "description": "Details of my account to retrieve", "required": true, "options": [ { "name": "Blocked Users", "value": "blockedUsers", "description": "Return the blocked users of the logged-in user" }, { "name": "Friends", "value": "friends", "description": "Return the friends of the logged-in user" }, { "name": "Identity", "value": "identity", "description": "Return the identity of the logged-in user" }, { "name": "Karma", "value": "karma", "description": "Return the subreddit karma for the logged-in user" }, { "name": "Preferences", "value": "prefs", "description": "Return the settings preferences of the logged-in user" }, { "name": "Saved", "value": "saved", "description": "Return the saved posts for the user" }, { "name": "Trophies", "value": "trophies", "description": "Return the trophies of the logged-in user" } ], "displayOptions": { "show": { "resource": [ "profile" ], "operation": [ "get" ] } } }, { "name": "content", "displayName": "Content", "type": "options", "default": "about", "description": "Subreddit content to retrieve", "required": true, "options": [ { "name": "About", "value": "about" }, { "name": "Rules", "value": "rules" } ], "displayOptions": { "show": { "resource": [ "subreddit" ], "operation": [ "get" ] } } }, { "name": "username", "displayName": "Username", "type": "string", "default": "", "description": "Reddit ID of the user to retrieve", "required": true, "displayOptions": { "show": { "resource": [ "user" ], "operation": [ "get" ] } } }, { "name": "resource", "displayName": "Resource", "type": "options", "default": "post", "options": [ { "name": "Post", "value": "post" }, { "name": "Post Comment", "value": "postComment" }, { "name": "Profile", "value": "profile" }, { "name": "Subreddit", "value": "subreddit" }, { "name": "User", "value": "user" } ] } ], "credentialsConfig": [ { "name": "redditOAuth2Api", "required": true }, { "name": "resource", "required": false } ], "io": { "inputs": [ "Main" ], "outputs": [ "Main" ], "outputNames": [], "hints": {} }, "wiring": { "role": "generic", "requires": [], "optional": [], "consumedBy": [], "consumes": [ "Main" ], "produces": [ "Main" ] } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ifmelate/n8n-workflow-builder-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server