{"id":37643,"date":"2025-06-22T09:24:01","date_gmt":"2025-06-22T01:24:01","guid":{"rendered":"https:\/\/www.1ai.net\/?p=37643"},"modified":"2025-06-17T12:28:23","modified_gmt":"2025-06-17T04:28:23","slug":"%e6%89%a3%e5%ad%90coze%e5%ae%9e%e6%88%98mcp%e6%95%99%e7%a8%8b%ef%bc%8c%e4%b8%80%e9%94%ae%e7%94%9f%e6%88%90%e5%85%ac%e4%bc%97%e5%8f%b7%e6%96%87%e7%ab%a0%e3%80%81%e8%87%aa%e5%8a%a8%e6%8e%92%e7%89%88","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/37643.html","title":{"rendered":"Buckle Coze real-world MCP tutorial, one-click generation of public articles, automatic layout, automatic publishing"},"content":{"rendered":"<p>In the last few days I've seen an automated generation<a href=\"https:\/\/www.1ai.net\/en\/tag\/%e5%85%ac%e4%bc%97%e5%8f%b7\" title=\"_Other Organiser\" target=\"_blank\" >Public Account<\/a>writing<a href=\"https:\/\/www.1ai.net\/en\/tag\/%e5%b7%a5%e4%bd%9c%e6%b5%81\" title=\"_Other Organiser\" target=\"_blank\" >Workflow<\/a>The feeling is very practical value, hurry up to introduce to you, they are also as notes to keep, good memory as bad pen ah, haha, not much to say, on the dry goods.<\/p>\n<p><strong>Overall Introduction<\/strong><\/p>\n<p>This mcp service, divided into three parts, consists of three workflows:<\/p>\n<p>I. Article generation workflow<\/p>\n<p>II. Article layout workflow<\/p>\n<p>Third, the article is automatically published to the public workflow<\/p>\n<p><strong>Workflow Details<\/strong><\/p>\n<p>I. Article generation workflow<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37644\" title=\"719e5a93j00sxzg3i001gd000u000acm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/719e5a93j00sxzg3i001gd000u000acm.jpg\" alt=\"719e5a93j00sxzg3i001gd000u000acm\" width=\"1080\" height=\"372\" \/><\/p>\n<p>Article generation workflow is actually relatively simple, is the use of large models of the ability to generate, given a topic, and Prompt settings, large models to generate, specific Prompt is as follows:<\/p>\n<p>You are a master at writing an in-depth article based on a topic provided by a user that<\/p>\n<p>and the typography is perfect. the article is microsoft style.<\/p>\n<p>This is something you can optimize on your own, or you can add some crawlers and online networking features to get the information and then write the article to add some real corpus to the article<\/p>\n<p>II. Article layout workflow<\/p>\n<p>Article layout is relatively complex a little bit, the core is to generate html article content format, public support for some html tags<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37645\" title=\"d8772d81j00sxzg3i0026d000u000bvm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/d8772d81j00sxzg3i0026d000u000bvm.jpg\" alt=\"d8772d81j00sxzg3i0026d000u000bvm\" width=\"1080\" height=\"427\" \/><\/p>\n<p>First input node, input the output content of the previous workflow, the articulation of this through the back of the release of the mcp service to do, do not worry about it here first.<\/p>\n<p>The large model part of the use of deepseek-v3-0324 model, this model generates a good effect, the length of the article is long enough, there is a point of attention here, you need to set the length of the large model generation<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37646\" title=\"6eb4c556j00sxzg3i001zd000j800hem\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/6eb4c556j00sxzg3i001zd000j800hem.jpg\" alt=\"6eb4c556j00sxzg3i001zd000j800hem\" width=\"692\" height=\"626\" \/><\/p>\n<p>Other settings are defaulted and you can explore them as well<\/p>\n<p>The large model section also requires a cue word section, as follows<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37647\" title=\"e8e9af63j00sxzg3h0021d0008u0096m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/e8e9af63j00sxzg3h0021d0008u0096m.jpg\" alt=\"e8e9af63j00sxzg3h0021d0008u0096m\" width=\"318\" height=\"330\" \/><\/p>\n<p>System prompts and user prompts, just follow my design!<\/p>\n<p>After the big model to add a code node, mainly to return the dictionary format text, this simple<\/p>\n<p>Third, the article is automatically published to the public workflow<\/p>\n<p>And finally the workflow for posting to the public<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37648\" title=\"ad453d28j00sxzg3i003dd000u0009gm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/ad453d28j00sxzg3i003dd000u0009gm.jpg\" alt=\"ad453d28j00sxzg3i003dd000u0009gm\" width=\"1080\" height=\"340\" \/><\/p>\n<p>First of all, the nodes needed for public release require three plug-ins, and the roles of these three plug-ins are described below:<\/p>\n<ul>\n<li><strong>get_access_token<\/strong>: Public authorization interface, you need to use its own appid and appsecret to obtain authorization, to provide credentials for subsequent interface calls.<\/li>\n<li><strong>add_material<\/strong>: Used to upload permanent material such as public cover images, publish with the uploaded material information.<\/li>\n<li><strong>add_draft<\/strong>: Deposit the content of the article into the public draft box for subsequent changes to be posted.<\/li>\n<\/ul>\n<p>Exactly how to find it is as follows<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37649\" title=\"f1ce61afj00sxzg3i003bd000ey00i6m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/f1ce61afj00sxzg3i003bd000ey00i6m.jpg\" alt=\"f1ce61afj00sxzg3i003bd000ey00i6m\" width=\"538\" height=\"654\" \/><\/p>\n<p>Clicking on these three will bring up three nodes on the page<\/p>\n<p>After getting the nodes right, you need to configure each node<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37650\" title=\"abddaa2ej00sxzg3h001od0009y00e7m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/abddaa2ej00sxzg3h001od0009y00e7m.jpg\" alt=\"abddaa2ej00sxzg3h001od0009y00e7m\" width=\"358\" height=\"511\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37651\" title=\"b272f984j00sxzg3h001qd000a900enm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/b272f984j00sxzg3h001qd000a900enm.jpg\" alt=\"b272f984j00sxzg3h001qd000a900enm\" width=\"369\" height=\"527\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37652\" title=\"5da36a53j00sxzg3i002hd000a100ifm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/5da36a53j00sxzg3i002hd000a100ifm.jpg\" alt=\"5da36a53j00sxzg3i002hd000a100ifm\" width=\"361\" height=\"663\" \/><\/p>\n<h5>\u00a0 \u00a0 \u00a0How to view appid, appsecret, and set up whitelisted IPs<\/h5>\n<p>The necessary conditions to use the public number are, appid, appsecret, these two parameters are used in the previous workflow, and the other is the IP whitelist setting, which must be set in order to publish through other people's plugins. After logging into the public number to find the following location can be obtained and configured<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37653\" title=\"2612d143j00sxzg3j002jd000oc00knm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/2612d143j00sxzg3j002jd000oc00knm.jpg\" alt=\"2612d143j00sxzg3j002jd000oc00knm\" width=\"876\" height=\"743\" \/><\/p>\n<p>Data flow at each node<\/p>\n<p>1. The starting input is the output of the previous workflow<\/p>\n<p>2, the big model part needs to be based on the input, summarize the title, the latter needs to be<\/p>\n<p>Here you need to set the prompt as follows<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37654\" title=\"857fb923j00sxzg3i002kd0009g00llm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/857fb923j00sxzg3i002kd0009g00llm.jpg\" alt=\"857fb923j00sxzg3i002kd0009g00llm\" width=\"340\" height=\"777\" \/><\/p>\n<p>3, to generate a cover picture, used here <a href=\"https:\/\/www.1ai.net\/en\/tag\/%e6%89%a3%e5%ad%90\" title=\"[Sees articles with [button] labels]\" target=\"_blank\" >button<\/a>plugin, as follows, just follow me on these<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37655\" title=\"697bcd1bj00sxzg3i001zd0009u00lhm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/697bcd1bj00sxzg3i001zd0009u00lhm.jpg\" alt=\"697bcd1bj00sxzg3i001zd0009u00lhm\" width=\"354\" height=\"773\" \/><\/p>\n<p>4, the next is the public configuration part, in accordance with the above written configuration on it!<\/p>\n<p>Here the entire mcp involved in the workflow have, the next release, pay attention to each of the test before releasing, do not get it wrong!<\/p>\n<p>Published as mcp service plugin<\/p>\n<p>Click on publish to go post it!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37656\" title=\"3169ec35j00sxzg3h0010d000b700asm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/3169ec35j00sxzg3h0010d000b700asm.jpg\" alt=\"3169ec35j00sxzg3h0010d000b700asm\" width=\"403\" height=\"388\" \/><\/p>\n<p>Note the following configuration when publishing<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37657\" title=\"3c4bf874j00sxzg3j0040d000u000jhm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/3c4bf874j00sxzg3j0040d000u000jhm.jpg\" alt=\"3c4bf874j00sxzg3j0040d000u000jhm\" width=\"1080\" height=\"701\" \/><\/p>\n<p>Then click Modify Configuration.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37658\" title=\"1b9b1f57j00sxzg3j003nd000u000jem\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/1b9b1f57j00sxzg3j003nd000u000jem.jpg\" alt=\"1b9b1f57j00sxzg3j003nd000u000jem\" width=\"1080\" height=\"698\" \/><\/p>\n<p>Note that by selecting all of these workflows and then confirming them, the following will appear if the publish is successful<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37659\" title=\"ca3e519aj00sxzg3i001nd000i700g2m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/ca3e519aj00sxzg3i001nd000i700g2m.jpg\" alt=\"ca3e519aj00sxzg3i001nd000i700g2m\" width=\"655\" height=\"578\" \/><\/p>\n<p>test use<\/p>\n<p>1. Enter the button space to use<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37660\" title=\"cc88ad7bj00sxzg3i0037d000c200oim\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/cc88ad7bj00sxzg3i0037d000c200oim.jpg\" alt=\"cc88ad7bj00sxzg3i0037d000c200oim\" width=\"434\" height=\"882\" \/><\/p>\n<p>2. Click [Quick Start]<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37661\" title=\"d5dd4474j00sxzg3i001vd000if00d0m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/d5dd4474j00sxzg3i001vd000if00d0m.jpg\" alt=\"d5dd4474j00sxzg3i001vd000if00d0m\" width=\"663\" height=\"468\" \/><\/p>\n<p>3. Increase expansion<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37662\" title=\"61f03c5bj00sxzg7a0007d000u0003vp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/61f03c5bj00sxzg7a0007d000u0003vp.jpg\" alt=\"61f03c5bj00sxzg7a0007d000u0003vp\" width=\"1080\" height=\"139\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37663\" title=\"8cc2c2f6j00sxzg720008d000hy009qp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/8cc2c2f6j00sxzg720008d000hy009qp.jpg\" alt=\"8cc2c2f6j00sxzg720008d000hy009qp\" width=\"646\" height=\"350\" \/><\/p>\n<p>4. Use<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37664\" title=\"5073b37dj00sxzg3i006gd000u000e6m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/06\/5073b37dj00sxzg3i006gd000u000e6m.jpg\" alt=\"5073b37dj00sxzg3i006gd000u000e6m\" width=\"1080\" height=\"510\" \/><\/p>\n<p>That's all it takes, and once it's generated, go to the public drafts box and see what's there, and you can go ahead and publish it.<\/p>","protected":false},"excerpt":{"rendered":"<p>seeing a work stream that automatically generates public articles, it feels very useful to introduce to you that you are not as good as a writer. this mcp service, which is divided into three parts, consists of three streams: first, the workstream of article generation, second, the workstream of article layout, three, the workstream of article release automatically to the public domain, first, the workstream of article generation, the workstream of article generation, which is actually simpler, using the ability of large models to generate a subject, and prompt set, big models generated, and the specific prompt is as follows:<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149,144],"tags":[726,6948,1240,5145,2445],"collection":[],"class_list":["post-37643","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","category-baike","tag-coze","tag-mcp","tag-1240","tag-5145","tag-2445"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/37643","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/comments?post=37643"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/37643\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=37643"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=37643"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=37643"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=37643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}