[{"data":1,"prerenderedAt":2044},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fmcp":3},{"id":4,"title":5,"body":6,"description":2034,"extension":2035,"meta":2036,"navigation":2037,"order":2038,"path":2039,"seo":2040,"seoTitle":2041,"stem":2042,"__hash__":2043},"docs\u002Fdocs\u002Fmcp.md","MCP server",{"type":7,"value":8,"toc":2025},"minimark",[9,13,25,88,95,103,108,158,161,165,181,298,305,309,320,380,384,391,461,465,1479,1497,1514,1525,1529,1536,1708,1724,1728,1731,1787,1994,2021],[10,11,5],"h1",{"id":12},"mcp-server",[14,15,16,17,24],"p",{},"Pogton Connect runs a hosted ",[18,19,23],"a",{"href":20,"rel":21},"https:\u002F\u002Fmodelcontextprotocol.io",[22],"nofollow","Model Context Protocol"," server. Connect an AI assistant to it and the assistant can list your users' accounts, check posts against each platform's rules, schedule and publish them, and read comments and analytics.",[26,27,28,41],"table",{},[29,30,31],"thead",{},[32,33,34,38],"tr",{},[35,36,37],"th",{},"Setting",[35,39,40],{},"Value",[42,43,44,56,64,78],"tbody",{},[32,45,46,50],{},[47,48,49],"td",{},"URL",[47,51,52],{},[53,54,55],"code",{},"https:\u002F\u002Fpogton.com\u002Fapi\u002Fmcp",[32,57,58,61],{},[47,59,60],{},"Transport",[47,62,63],{},"Streamable HTTP (JSON responses, no sessions)",[32,65,66,69],{},[47,67,68],{},"Protocol versions",[47,70,71,74,75],{},[53,72,73],{},"2025-06-18",", ",[53,76,77],{},"2025-03-26",[32,79,80,83],{},[47,81,82],{},"Auth",[47,84,85],{},[53,86,87],{},"Authorization: Bearer \u003CAPI key>",[14,89,90,91,94],{},"The server uses the same API keys, rate limit (300 requests per minute per key, shared with the REST API) and test-mode rules as the REST API. Tools return the same JSON as the matching endpoints. Posts created through it have ",[53,92,93],{},"\"source\": \"mcp\"",".",[14,96,97,98,102],{},"Start with a ",[18,99,101],{"href":100},"\u002Fdocs\u002Fsandbox","test key",": the assistant then only sees sandbox accounts and nothing is published for real. Switch to a live key when you trust the setup. An assistant with a live key can publish for every user of your organization, so keep the key out of shared configs.",[104,105,107],"h2",{"id":106},"claude-code","Claude Code",[109,110,115],"pre",{"className":111,"code":112,"language":113,"meta":114,"style":114},"language-bash shiki shiki-themes github-light github-dark","claude mcp add --transport http pogton https:\u002F\u002Fpogton.com\u002Fapi\u002Fmcp \\\n  --header \"Authorization: Bearer pk_test_...\"\n","bash","",[53,116,117,149],{"__ignoreMap":114},[118,119,122,126,130,133,137,140,143,146],"span",{"class":120,"line":121},"line",1,[118,123,125],{"class":124},"sScJk","claude",[118,127,129],{"class":128},"sZZnC"," mcp",[118,131,132],{"class":128}," add",[118,134,136],{"class":135},"sj4cs"," --transport",[118,138,139],{"class":128}," http",[118,141,142],{"class":128}," pogton",[118,144,145],{"class":128}," https:\u002F\u002Fpogton.com\u002Fapi\u002Fmcp",[118,147,148],{"class":135}," \\\n",[118,150,152,155],{"class":120,"line":151},2,[118,153,154],{"class":135},"  --header",[118,156,157],{"class":128}," \"Authorization: Bearer pk_test_...\"\n",[14,159,160],{},"Then ask, for example: \"List the accounts for user_123 and draft a LinkedIn post about our spring launch.\"",[104,162,164],{"id":163},"claude-desktop","Claude Desktop",[14,166,167,168,175,176,180],{},"Claude Desktop starts local servers from its config file, so use ",[18,169,172],{"href":170,"rel":171},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fmcp-remote",[22],[53,173,174],{},"mcp-remote"," to reach the hosted server. Open ",[177,178,179],"strong",{},"Settings → Developer → Edit Config"," and add:",[109,182,186],{"className":183,"code":184,"language":185,"meta":114,"style":114},"language-json shiki shiki-themes github-light github-dark","{\n  \"mcpServers\": {\n    \"pogton\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mcp-remote\", \"https:\u002F\u002Fpogton.com\u002Fapi\u002Fmcp\", \"--header\", \"Authorization:${POGTON_AUTH}\"],\n      \"env\": { \"POGTON_AUTH\": \"Bearer pk_test_...\" }\n    }\n  }\n}\n","json",[53,187,188,194,202,210,225,260,280,286,292],{"__ignoreMap":114},[118,189,190],{"class":120,"line":121},[118,191,193],{"class":192},"sVt8B","{\n",[118,195,196,199],{"class":120,"line":151},[118,197,198],{"class":135},"  \"mcpServers\"",[118,200,201],{"class":192},": {\n",[118,203,205,208],{"class":120,"line":204},3,[118,206,207],{"class":135},"    \"pogton\"",[118,209,201],{"class":192},[118,211,213,216,219,222],{"class":120,"line":212},4,[118,214,215],{"class":135},"      \"command\"",[118,217,218],{"class":192},": ",[118,220,221],{"class":128},"\"npx\"",[118,223,224],{"class":192},",\n",[118,226,228,231,234,237,239,242,244,247,249,252,254,257],{"class":120,"line":227},5,[118,229,230],{"class":135},"      \"args\"",[118,232,233],{"class":192},": [",[118,235,236],{"class":128},"\"-y\"",[118,238,74],{"class":192},[118,240,241],{"class":128},"\"mcp-remote\"",[118,243,74],{"class":192},[118,245,246],{"class":128},"\"https:\u002F\u002Fpogton.com\u002Fapi\u002Fmcp\"",[118,248,74],{"class":192},[118,250,251],{"class":128},"\"--header\"",[118,253,74],{"class":192},[118,255,256],{"class":128},"\"Authorization:${POGTON_AUTH}\"",[118,258,259],{"class":192},"],\n",[118,261,263,266,269,272,274,277],{"class":120,"line":262},6,[118,264,265],{"class":135},"      \"env\"",[118,267,268],{"class":192},": { ",[118,270,271],{"class":135},"\"POGTON_AUTH\"",[118,273,218],{"class":192},[118,275,276],{"class":128},"\"Bearer pk_test_...\"",[118,278,279],{"class":192}," }\n",[118,281,283],{"class":120,"line":282},7,[118,284,285],{"class":192},"    }\n",[118,287,289],{"class":120,"line":288},8,[118,290,291],{"class":192},"  }\n",[118,293,295],{"class":120,"line":294},9,[118,296,297],{"class":192},"}\n",[14,299,300,301,304],{},"The header value sits in ",[53,302,303],{},"env"," because some systems split arguments at spaces. Restart Claude Desktop afterwards. It needs Node.js 18 or later.",[104,306,308],{"id":307},"cursor","Cursor",[14,310,311,312,315,316,319],{},"In ",[53,313,314],{},"~\u002F.cursor\u002Fmcp.json",", or ",[53,317,318],{},".cursor\u002Fmcp.json"," in a project:",[109,321,323],{"className":183,"code":322,"language":185,"meta":114,"style":114},"{\n  \"mcpServers\": {\n    \"pogton\": {\n      \"url\": \"https:\u002F\u002Fpogton.com\u002Fapi\u002Fmcp\",\n      \"headers\": { \"Authorization\": \"Bearer pk_test_...\" }\n    }\n  }\n}\n",[53,324,325,329,335,341,352,368,372,376],{"__ignoreMap":114},[118,326,327],{"class":120,"line":121},[118,328,193],{"class":192},[118,330,331,333],{"class":120,"line":151},[118,332,198],{"class":135},[118,334,201],{"class":192},[118,336,337,339],{"class":120,"line":204},[118,338,207],{"class":135},[118,340,201],{"class":192},[118,342,343,346,348,350],{"class":120,"line":212},[118,344,345],{"class":135},"      \"url\"",[118,347,218],{"class":192},[118,349,246],{"class":128},[118,351,224],{"class":192},[118,353,354,357,359,362,364,366],{"class":120,"line":227},[118,355,356],{"class":135},"      \"headers\"",[118,358,268],{"class":192},[118,360,361],{"class":135},"\"Authorization\"",[118,363,218],{"class":192},[118,365,276],{"class":128},[118,367,279],{"class":192},[118,369,370],{"class":120,"line":262},[118,371,285],{"class":192},[118,373,374],{"class":120,"line":282},[118,375,291],{"class":192},[118,377,378],{"class":120,"line":288},[118,379,297],{"class":192},[104,381,383],{"id":382},"other-clients","Other clients",[14,385,386,387,390],{},"Any client that supports Streamable HTTP with custom headers works. In VS Code, ",[53,388,389],{},".vscode\u002Fmcp.json",":",[109,392,394],{"className":183,"code":393,"language":185,"meta":114,"style":114},"{\n  \"servers\": {\n    \"pogton\": {\n      \"type\": \"http\",\n      \"url\": \"https:\u002F\u002Fpogton.com\u002Fapi\u002Fmcp\",\n      \"headers\": { \"Authorization\": \"Bearer pk_test_...\" }\n    }\n  }\n}\n",[53,395,396,400,407,413,425,435,449,453,457],{"__ignoreMap":114},[118,397,398],{"class":120,"line":121},[118,399,193],{"class":192},[118,401,402,405],{"class":120,"line":151},[118,403,404],{"class":135},"  \"servers\"",[118,406,201],{"class":192},[118,408,409,411],{"class":120,"line":204},[118,410,207],{"class":135},[118,412,201],{"class":192},[118,414,415,418,420,423],{"class":120,"line":212},[118,416,417],{"class":135},"      \"type\"",[118,419,218],{"class":192},[118,421,422],{"class":128},"\"http\"",[118,424,224],{"class":192},[118,426,427,429,431,433],{"class":120,"line":227},[118,428,345],{"class":135},[118,430,218],{"class":192},[118,432,246],{"class":128},[118,434,224],{"class":192},[118,436,437,439,441,443,445,447],{"class":120,"line":262},[118,438,356],{"class":135},[118,440,268],{"class":192},[118,442,361],{"class":135},[118,444,218],{"class":192},[118,446,276],{"class":128},[118,448,279],{"class":192},[118,450,451],{"class":120,"line":282},[118,452,285],{"class":192},[118,454,455],{"class":120,"line":288},[118,456,291],{"class":192},[118,458,459],{"class":120,"line":294},[118,460,297],{"class":192},[104,462,464],{"id":463},"tools","Tools",[26,466,467,480],{},[29,468,469],{},[32,470,471,474,477],{},[35,472,473],{},"Tool",[35,475,476],{},"What it does",[35,478,479],{},"REST equivalent",[42,481,482,497,512,527,542,557,572,587,602,617,632,647,662,677,692,707,722,736,751,766,781,796,811,826,841,856,871,886,901,916,931,946,961,976,991,1006,1021,1036,1051,1066,1081,1096,1111,1126,1141,1156,1179,1194,1209,1224,1239,1254,1269,1284,1299,1314,1329,1344,1359,1374,1389,1404,1419,1434,1449,1464],{},[32,483,484,489,492],{},[47,485,486],{},[53,487,488],{},"list_platforms",[47,490,491],{},"Limits, formats and option schemas per platform",[47,493,494],{},[53,495,496],{},"GET \u002Fplatforms",[32,498,499,504,507],{},[47,500,501],{},[53,502,503],{},"list_users",[47,505,506],{},"Your users and their connected platforms",[47,508,509],{},[53,510,511],{},"GET \u002Fusers",[32,513,514,519,522],{},[47,515,516],{},[53,517,518],{},"get_user",[47,520,521],{},"One user with their accounts",[47,523,524],{},[53,525,526],{},"GET \u002Fusers\u002F{id}",[32,528,529,534,537],{},[47,530,531],{},[53,532,533],{},"list_accounts",[47,535,536],{},"A user's connected accounts",[47,538,539],{},[53,540,541],{},"GET \u002Faccounts",[32,543,544,549,552],{},[47,545,546],{},[53,547,548],{},"get_account",[47,550,551],{},"One account",[47,553,554],{},[53,555,556],{},"GET \u002Faccounts\u002F{id}",[32,558,559,564,567],{},[47,560,561],{},[53,562,563],{},"create_connect_link",[47,565,566],{},"A link for a user to connect or reconnect accounts",[47,568,569],{},[53,570,571],{},"POST \u002Fconnect-link",[32,573,574,579,582],{},[47,575,576],{},[53,577,578],{},"validate_post",[47,580,581],{},"Check a post against every target platform",[47,583,584],{},[53,585,586],{},"POST \u002Fposts\u002Fvalidate",[32,588,589,594,597],{},[47,590,591],{},[53,592,593],{},"create_post",[47,595,596],{},"Publish now, schedule, queue or save a draft",[47,598,599],{},[53,600,601],{},"POST \u002Fposts",[32,603,604,609,612],{},[47,605,606],{},[53,607,608],{},"list_posts",[47,610,611],{},"Posts, by status or user",[47,613,614],{},[53,615,616],{},"GET \u002Fposts",[32,618,619,624,627],{},[47,620,621],{},[53,622,623],{},"get_post",[47,625,626],{},"One post with per-account results",[47,628,629],{},[53,630,631],{},"GET \u002Fposts\u002F{id}",[32,633,634,639,642],{},[47,635,636],{},[53,637,638],{},"update_post",[47,640,641],{},"Edit a draft or scheduled post",[47,643,644],{},[53,645,646],{},"PATCH \u002Fposts\u002F{id}",[32,648,649,654,657],{},[47,650,651],{},[53,652,653],{},"publish_post",[47,655,656],{},"Publish a draft or scheduled post now",[47,658,659],{},[53,660,661],{},"POST \u002Fposts\u002F{id}\u002Fpublish",[32,663,664,669,672],{},[47,665,666],{},[53,667,668],{},"retry_post",[47,670,671],{},"Retry failed targets",[47,673,674],{},[53,675,676],{},"POST \u002Fposts\u002F{id}\u002Fretry",[32,678,679,684,687],{},[47,680,681],{},[53,682,683],{},"delete_post",[47,685,686],{},"Cancel, or delete from the platforms",[47,688,689],{},[53,690,691],{},"DELETE \u002Fposts\u002F{id}",[32,693,694,699,702],{},[47,695,696],{},[53,697,698],{},"list_comments",[47,700,701],{},"Comments on a published post",[47,703,704],{},[53,705,706],{},"GET \u002Fposts\u002F{id}\u002Fcomments",[32,708,709,714,717],{},[47,710,711],{},[53,712,713],{},"create_comment",[47,715,716],{},"Comment on a published post",[47,718,719],{},[53,720,721],{},"POST \u002Fposts\u002F{id}\u002Fcomments",[32,723,724,729,732],{},[47,725,726],{},[53,727,728],{},"reply_to_comment",[47,730,731],{},"Reply to one comment",[47,733,734],{},[53,735,721],{},[32,737,738,743,746],{},[47,739,740],{},[53,741,742],{},"delete_comment",[47,744,745],{},"Delete a comment",[47,747,748],{},[53,749,750],{},"DELETE \u002Fposts\u002F{id}\u002Fcomments\u002F{commentId}",[32,752,753,758,761],{},[47,754,755],{},[53,756,757],{},"hide_comment",[47,759,760],{},"Hide or un-hide a comment",[47,762,763],{},[53,764,765],{},"POST \u002Fposts\u002F{id}\u002Fcomments\u002F{commentId}\u002Fhide",[32,767,768,773,776],{},[47,769,770],{},[53,771,772],{},"list_reviews",[47,774,775],{},"Reviews of a Google Business Profile location",[47,777,778],{},[53,779,780],{},"GET \u002Faccounts\u002F{id}\u002Freviews",[32,782,783,788,791],{},[47,784,785],{},[53,786,787],{},"reply_to_review",[47,789,790],{},"Reply to a review",[47,792,793],{},[53,794,795],{},"POST \u002Faccounts\u002F{id}\u002Freviews\u002F{reviewId}\u002Freply",[32,797,798,803,806],{},[47,799,800],{},[53,801,802],{},"get_post_analytics",[47,804,805],{},"Post metrics per account",[47,807,808],{},[53,809,810],{},"GET \u002Fanalytics\u002Fposts\u002F{id}",[32,812,813,818,821],{},[47,814,815],{},[53,816,817],{},"get_account_analytics",[47,819,820],{},"Current account metrics",[47,822,823],{},[53,824,825],{},"GET \u002Fanalytics\u002Faccounts\u002F{id}",[32,827,828,833,836],{},[47,829,830],{},[53,831,832],{},"get_account_history",[47,834,835],{},"Daily metric history",[47,837,838],{},[53,839,840],{},"GET \u002Fanalytics\u002Faccounts\u002F{id}\u002Fhistory",[32,842,843,848,851],{},[47,844,845],{},[53,846,847],{},"list_post_history",[47,849,850],{},"The account's existing posts, including ones published outside Pogton",[47,852,853],{},[53,854,855],{},"GET \u002Faccounts\u002F{id}\u002Fhistory",[32,857,858,863,866],{},[47,859,860],{},[53,861,862],{},"get_queue",[47,864,865],{},"A user's queue schedule and next free slot",[47,867,868],{},[53,869,870],{},"GET \u002Fqueue",[32,872,873,878,881],{},[47,874,875],{},[53,876,877],{},"set_queue",[47,879,880],{},"Set the weekly queue slots",[47,882,883],{},[53,884,885],{},"PUT \u002Fqueue",[32,887,888,893,896],{},[47,889,890],{},[53,891,892],{},"list_resources",[47,894,895],{},"Boards, playlists and other option lists",[47,897,898],{},[53,899,900],{},"GET \u002Faccounts\u002F{id}\u002Fresources\u002F{kind}",[32,902,903,908,911],{},[47,904,905],{},[53,906,907],{},"create_upload_url",[47,909,910],{},"Step 1 of uploading a file",[47,912,913],{},[53,914,915],{},"POST \u002Fmedia\u002Fupload-url",[32,917,918,923,926],{},[47,919,920],{},[53,921,922],{},"register_media",[47,924,925],{},"Step 2: get the file's public URL",[47,927,928],{},[53,929,930],{},"POST \u002Fmedia",[32,932,933,938,941],{},[47,934,935],{},[53,936,937],{},"get_media",[47,939,940],{},"One uploaded file",[47,942,943],{},[53,944,945],{},"GET \u002Fmedia\u002F{id}",[32,947,948,953,956],{},[47,949,950],{},[53,951,952],{},"delete_media",[47,954,955],{},"Delete an uploaded file",[47,957,958],{},[53,959,960],{},"DELETE \u002Fmedia\u002F{id}",[32,962,963,968,971],{},[47,964,965],{},[53,966,967],{},"list_webhooks",[47,969,970],{},"Registered webhook endpoints",[47,972,973],{},[53,974,975],{},"GET \u002Fwebhooks",[32,977,978,983,986],{},[47,979,980],{},[53,981,982],{},"create_sandbox_account",[47,984,985],{},"A sandbox account (test keys only)",[47,987,988],{},[53,989,990],{},"POST \u002Fsandbox\u002Faccounts",[32,992,993,998,1001],{},[47,994,995],{},[53,996,997],{},"list_conversations",[47,999,1000],{},"DM conversations of an account",[47,1002,1003],{},[53,1004,1005],{},"GET \u002Faccounts\u002F{id}\u002Fconversations",[32,1007,1008,1013,1016],{},[47,1009,1010],{},[53,1011,1012],{},"list_messages",[47,1014,1015],{},"Messages in a DM conversation",[47,1017,1018],{},[53,1019,1020],{},"GET \u002Faccounts\u002F{id}\u002Fconversations\u002F{conversationId}\u002Fmessages",[32,1022,1023,1028,1031],{},[47,1024,1025],{},[53,1026,1027],{},"send_message",[47,1029,1030],{},"Reply in a DM conversation",[47,1032,1033],{},[53,1034,1035],{},"POST \u002Faccounts\u002F{id}\u002Fconversations\u002F{conversationId}\u002Fmessages",[32,1037,1038,1043,1046],{},[47,1039,1040],{},[53,1041,1042],{},"send_direct_message",[47,1044,1045],{},"DM a person by their platform ID",[47,1047,1048],{},[53,1049,1050],{},"POST \u002Faccounts\u002F{id}\u002Fmessages",[32,1052,1053,1058,1061],{},[47,1054,1055],{},[53,1056,1057],{},"mark_conversation_read",[47,1059,1060],{},"Mark a DM conversation read",[47,1062,1063],{},[53,1064,1065],{},"POST \u002Faccounts\u002F{id}\u002Fconversations\u002F{conversationId}\u002Fread",[32,1067,1068,1073,1076],{},[47,1069,1070],{},[53,1071,1072],{},"list_comment_automations",[47,1074,1075],{},"Comment-to-DM rules",[47,1077,1078],{},[53,1079,1080],{},"GET \u002Fcomment-automations",[32,1082,1083,1088,1091],{},[47,1084,1085],{},[53,1086,1087],{},"get_comment_automation",[47,1089,1090],{},"One comment-to-DM rule",[47,1092,1093],{},[53,1094,1095],{},"GET \u002Fcomment-automations\u002F{id}",[32,1097,1098,1103,1106],{},[47,1099,1100],{},[53,1101,1102],{},"create_comment_automation",[47,1104,1105],{},"Send a DM when someone comments a keyword",[47,1107,1108],{},[53,1109,1110],{},"POST \u002Fcomment-automations",[32,1112,1113,1118,1121],{},[47,1114,1115],{},[53,1116,1117],{},"update_comment_automation",[47,1119,1120],{},"Change or pause a rule",[47,1122,1123],{},[53,1124,1125],{},"PATCH \u002Fcomment-automations\u002F{id}",[32,1127,1128,1133,1136],{},[47,1129,1130],{},[53,1131,1132],{},"delete_comment_automation",[47,1134,1135],{},"Delete a rule",[47,1137,1138],{},[53,1139,1140],{},"DELETE \u002Fcomment-automations\u002F{id}",[32,1142,1143,1148,1151],{},[47,1144,1145],{},[53,1146,1147],{},"create_posts_batch",[47,1149,1150],{},"Create up to 50 posts in one call",[47,1152,1153],{},[53,1154,1155],{},"POST \u002Fposts\u002Fbatch",[32,1157,1158,1163,1174],{},[47,1159,1160],{},[53,1161,1162],{},"schedule_post",[47,1164,1165,1166,1169,1170,1173],{},"Schedule a post (",[53,1167,1168],{},"scheduled_at"," or ",[53,1171,1172],{},"queue"," required)",[47,1175,1176],{},[53,1177,1178],{},"POST \u002Fposts\u002Fschedule",[32,1180,1181,1186,1189],{},[47,1182,1183],{},[53,1184,1185],{},"delete_user",[47,1187,1188],{},"Delete a user with their accounts and tokens",[47,1190,1191],{},[53,1192,1193],{},"DELETE \u002Fusers\u002F{id}",[32,1195,1196,1201,1204],{},[47,1197,1198],{},[53,1199,1200],{},"disconnect_account",[47,1202,1203],{},"Disconnect an account",[47,1205,1206],{},[53,1207,1208],{},"DELETE \u002Faccounts\u002F{id}",[32,1210,1211,1216,1219],{},[47,1212,1213],{},[53,1214,1215],{},"start_headless_connect",[47,1217,1218],{},"Start OAuth for your own account picker",[47,1220,1221],{},[53,1222,1223],{},"POST \u002Fconnect\u002Fauthorize",[32,1225,1226,1231,1234],{},[47,1227,1228],{},[53,1229,1230],{},"get_connect_session",[47,1232,1233],{},"Accounts the user can connect after OAuth",[47,1235,1236],{},[53,1237,1238],{},"GET \u002Fconnect\u002Fsessions\u002F{token}",[32,1240,1241,1246,1249],{},[47,1242,1243],{},[53,1244,1245],{},"select_connect_accounts",[47,1247,1248],{},"Connect the chosen accounts",[47,1250,1251],{},[53,1252,1253],{},"POST \u002Fconnect\u002Fsessions\u002F{token}\u002Fselect",[32,1255,1256,1261,1264],{},[47,1257,1258],{},[53,1259,1260],{},"get_webhook",[47,1262,1263],{},"One webhook endpoint",[47,1265,1266],{},[53,1267,1268],{},"GET \u002Fwebhooks\u002F{id}",[32,1270,1271,1276,1279],{},[47,1272,1273],{},[53,1274,1275],{},"create_webhook",[47,1277,1278],{},"Register a webhook endpoint",[47,1280,1281],{},[53,1282,1283],{},"POST \u002Fwebhooks",[32,1285,1286,1291,1294],{},[47,1287,1288],{},[53,1289,1290],{},"update_webhook",[47,1292,1293],{},"Change URL, events or enabled state",[47,1295,1296],{},[53,1297,1298],{},"PATCH \u002Fwebhooks\u002F{id}",[32,1300,1301,1306,1309],{},[47,1302,1303],{},[53,1304,1305],{},"delete_webhook",[47,1307,1308],{},"Delete a webhook endpoint",[47,1310,1311],{},[53,1312,1313],{},"DELETE \u002Fwebhooks\u002F{id}",[32,1315,1316,1321,1324],{},[47,1317,1318],{},[53,1319,1320],{},"test_webhook",[47,1322,1323],{},"Send a signed test event",[47,1325,1326],{},[53,1327,1328],{},"POST \u002Fwebhooks\u002F{id}\u002Ftest",[32,1330,1331,1336,1339],{},[47,1332,1333],{},[53,1334,1335],{},"rotate_webhook_secret",[47,1337,1338],{},"Replace the signing secret",[47,1340,1341],{},[53,1342,1343],{},"POST \u002Fwebhooks\u002F{id}\u002Frotate-secret",[32,1345,1346,1351,1354],{},[47,1347,1348],{},[53,1349,1350],{},"list_webhook_deliveries",[47,1352,1353],{},"Delivery attempts of an endpoint",[47,1355,1356],{},[53,1357,1358],{},"GET \u002Fwebhooks\u002F{id}\u002Fdeliveries",[32,1360,1361,1366,1369],{},[47,1362,1363],{},[53,1364,1365],{},"get_webhook_delivery",[47,1367,1368],{},"One delivery with request and response",[47,1370,1371],{},[53,1372,1373],{},"GET \u002Fwebhooks\u002F{id}\u002Fdeliveries\u002F{deliveryId}",[32,1375,1376,1381,1384],{},[47,1377,1378],{},[53,1379,1380],{},"redeliver_webhook",[47,1382,1383],{},"Send an event again",[47,1385,1386],{},[53,1387,1388],{},"POST \u002Fwebhooks\u002F{id}\u002Fdeliveries\u002F{deliveryId}\u002Fredeliver",[32,1390,1391,1396,1399],{},[47,1392,1393],{},[53,1394,1395],{},"set_platform_credentials",[47,1397,1398],{},"Use your own OAuth app",[47,1400,1401],{},[53,1402,1403],{},"PUT \u002Fplatform-credentials\u002F{platform}",[32,1405,1406,1411,1414],{},[47,1407,1408],{},[53,1409,1410],{},"delete_platform_credentials",[47,1412,1413],{},"Go back to Pogton's OAuth app",[47,1415,1416],{},[53,1417,1418],{},"DELETE \u002Fplatform-credentials\u002F{platform}",[32,1420,1421,1426,1429],{},[47,1422,1423],{},[53,1424,1425],{},"list_api_keys",[47,1427,1428],{},"Your API keys, without secrets",[47,1430,1431],{},[53,1432,1433],{},"GET \u002Fapi-keys",[32,1435,1436,1441,1444],{},[47,1437,1438],{},[53,1439,1440],{},"create_api_key",[47,1442,1443],{},"Create a key (test keys only create test keys)",[47,1445,1446],{},[53,1447,1448],{},"POST \u002Fapi-keys",[32,1450,1451,1456,1459],{},[47,1452,1453],{},[53,1454,1455],{},"revoke_api_key",[47,1457,1458],{},"Revoke a key",[47,1460,1461],{},[53,1462,1463],{},"DELETE \u002Fapi-keys\u002F{id}",[32,1465,1466,1471,1474],{},[47,1467,1468],{},[53,1469,1470],{},"roll_api_key",[47,1472,1473],{},"Replace a key, optionally with a grace period",[47,1475,1476],{},[53,1477,1478],{},"POST \u002Fapi-keys\u002F{id}\u002Froll",[14,1480,1481,1482,1485,1486,74,1488,74,1490,1492,1493,1496],{},"Input schemas are generated from the same validation as the REST API, including each platform's ",[53,1483,1484],{},"platform_options",". Tools are annotated as read-only or destructive, so clients can ask before running ",[53,1487,683],{},[53,1489,1185],{},[53,1491,1455],{}," and the other destructive tools. Every v1 endpoint except ",[53,1494,1495],{},"GET \u002Fopenapi.json"," has a tool.",[14,1498,1499,1500,74,1502,74,1504,74,1506,1508,1509,1513],{},"Tools that create secrets (",[53,1501,1275],{},[53,1503,1335],{},[53,1505,1440],{},[53,1507,1470],{},") return them in the tool result, so the secret ends up in the assistant's context. Use the REST API or the dashboard if that is not acceptable. API key tools follow the ",[18,1510,1512],{"href":1511},"\u002Fdocs\u002Fapi-keys#rules","same rules"," as the REST API: a test key can't create, revoke or roll live keys.",[14,1515,1516,1517,1519,1520,1522,1523,94],{},"Uploading needs a client that can send files, such as Claude Code: ",[53,1518,907],{}," returns a URL to POST the bytes to, and ",[53,1521,922],{}," turns the result into a public URL. Media that is already online can go straight into ",[53,1524,593],{},[104,1526,1528],{"id":1527},"errors","Errors",[14,1530,1531,1532,1535],{},"API errors come back as tool results with ",[53,1533,1534],{},"isError: true",", so the assistant can read them and fix the request:",[109,1537,1539],{"className":183,"code":1538,"language":185,"meta":114,"style":114},"{\n  \"content\": [{ \"type\": \"text\", \"text\": \"{\\\"error\\\":{\\\"code\\\":\\\"validation_failed\\\",\\\"message\\\":\\\"The post does not meet the rules of one or more platforms\\\",\\\"details\\\":[...],\\\"status\\\":422}}\" }],\n  \"structuredContent\": { \"error\": { \"code\": \"validation_failed\", \"message\": \"The post does not meet the rules of one or more platforms\", \"details\": [\"...\"], \"status\": 422 } },\n  \"isError\": true\n}\n",[53,1540,1541,1545,1640,1694,1704],{"__ignoreMap":114},[118,1542,1543],{"class":120,"line":121},[118,1544,193],{"class":192},[118,1546,1547,1550,1553,1556,1558,1561,1563,1565,1567,1570,1573,1576,1578,1581,1583,1585,1587,1589,1591,1594,1596,1599,1601,1604,1606,1608,1610,1613,1615,1617,1619,1622,1624,1627,1629,1632,1634,1637],{"class":120,"line":151},[118,1548,1549],{"class":135},"  \"content\"",[118,1551,1552],{"class":192},": [{ ",[118,1554,1555],{"class":135},"\"type\"",[118,1557,218],{"class":192},[118,1559,1560],{"class":128},"\"text\"",[118,1562,74],{"class":192},[118,1564,1560],{"class":135},[118,1566,218],{"class":192},[118,1568,1569],{"class":128},"\"{",[118,1571,1572],{"class":135},"\\\"",[118,1574,1575],{"class":128},"error",[118,1577,1572],{"class":135},[118,1579,1580],{"class":128},":{",[118,1582,1572],{"class":135},[118,1584,53],{"class":128},[118,1586,1572],{"class":135},[118,1588,390],{"class":128},[118,1590,1572],{"class":135},[118,1592,1593],{"class":128},"validation_failed",[118,1595,1572],{"class":135},[118,1597,1598],{"class":128},",",[118,1600,1572],{"class":135},[118,1602,1603],{"class":128},"message",[118,1605,1572],{"class":135},[118,1607,390],{"class":128},[118,1609,1572],{"class":135},[118,1611,1612],{"class":128},"The post does not meet the rules of one or more platforms",[118,1614,1572],{"class":135},[118,1616,1598],{"class":128},[118,1618,1572],{"class":135},[118,1620,1621],{"class":128},"details",[118,1623,1572],{"class":135},[118,1625,1626],{"class":128},":[...],",[118,1628,1572],{"class":135},[118,1630,1631],{"class":128},"status",[118,1633,1572],{"class":135},[118,1635,1636],{"class":128},":422}}\"",[118,1638,1639],{"class":192}," }],\n",[118,1641,1642,1645,1647,1650,1652,1655,1657,1660,1662,1665,1667,1670,1672,1675,1677,1680,1683,1686,1688,1691],{"class":120,"line":204},[118,1643,1644],{"class":135},"  \"structuredContent\"",[118,1646,268],{"class":192},[118,1648,1649],{"class":135},"\"error\"",[118,1651,268],{"class":192},[118,1653,1654],{"class":135},"\"code\"",[118,1656,218],{"class":192},[118,1658,1659],{"class":128},"\"validation_failed\"",[118,1661,74],{"class":192},[118,1663,1664],{"class":135},"\"message\"",[118,1666,218],{"class":192},[118,1668,1669],{"class":128},"\"The post does not meet the rules of one or more platforms\"",[118,1671,74],{"class":192},[118,1673,1674],{"class":135},"\"details\"",[118,1676,233],{"class":192},[118,1678,1679],{"class":128},"\"...\"",[118,1681,1682],{"class":192},"], ",[118,1684,1685],{"class":135},"\"status\"",[118,1687,218],{"class":192},[118,1689,1690],{"class":135},"422",[118,1692,1693],{"class":192}," } },\n",[118,1695,1696,1699,1701],{"class":120,"line":212},[118,1697,1698],{"class":135},"  \"isError\"",[118,1700,218],{"class":192},[118,1702,1703],{"class":135},"true\n",[118,1705,1706],{"class":120,"line":227},[118,1707,297],{"class":192},[14,1709,1710,1711,1715,1716,1719,1720,1723],{},"The codes are the same as the ",[18,1712,1714],{"href":1713},"\u002Fdocs\u002Fauthentication#error-codes","REST API's",". An invalid or missing key returns HTTP ",[53,1717,1718],{},"401"," and a rate-limited request HTTP ",[53,1721,1722],{},"429",", before any tool runs.",[104,1725,1727],{"id":1726},"try-it-with-curl","Try it with curl",[14,1729,1730],{},"The server is plain JSON over HTTP, so you can call it directly:",[109,1732,1734],{"className":111,"code":1733,"language":113,"meta":114,"style":114},"curl -X POST https:\u002F\u002Fpogton.com\u002Fapi\u002Fmcp \\\n  -H \"Authorization: Bearer pk_test_...\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"Accept: application\u002Fjson, text\u002Fevent-stream\" \\\n  -d '{ \"jsonrpc\": \"2.0\", \"id\": 1, \"method\": \"tools\u002Fcall\", \"params\": { \"name\": \"list_users\", \"arguments\": { \"limit\": 5 } } }'\n",[53,1735,1736,1751,1761,1770,1779],{"__ignoreMap":114},[118,1737,1738,1741,1744,1747,1749],{"class":120,"line":121},[118,1739,1740],{"class":124},"curl",[118,1742,1743],{"class":135}," -X",[118,1745,1746],{"class":128}," POST",[118,1748,145],{"class":128},[118,1750,148],{"class":135},[118,1752,1753,1756,1759],{"class":120,"line":151},[118,1754,1755],{"class":135},"  -H",[118,1757,1758],{"class":128}," \"Authorization: Bearer pk_test_...\"",[118,1760,148],{"class":135},[118,1762,1763,1765,1768],{"class":120,"line":204},[118,1764,1755],{"class":135},[118,1766,1767],{"class":128}," \"Content-Type: application\u002Fjson\"",[118,1769,148],{"class":135},[118,1771,1772,1774,1777],{"class":120,"line":212},[118,1773,1755],{"class":135},[118,1775,1776],{"class":128}," \"Accept: application\u002Fjson, text\u002Fevent-stream\"",[118,1778,148],{"class":135},[118,1780,1781,1784],{"class":120,"line":227},[118,1782,1783],{"class":135},"  -d",[118,1785,1786],{"class":128}," '{ \"jsonrpc\": \"2.0\", \"id\": 1, \"method\": \"tools\u002Fcall\", \"params\": { \"name\": \"list_users\", \"arguments\": { \"limit\": 5 } } }'\n",[109,1788,1790],{"className":183,"code":1789,"language":185,"meta":114,"style":114},"{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"result\": {\n    \"content\": [{ \"type\": \"text\", \"text\": \"{\\\"data\\\":[{\\\"user_id\\\":\\\"user_123\\\",\\\"account_count\\\":2,...}],\\\"next_cursor\\\":null,\\\"has_more\\\":false}\" }],\n    \"structuredContent\": { \"data\": [{ \"user_id\": \"user_123\", \"account_count\": 2, \"platforms\": [\"linkedin\", \"instagram\"], \"created_at\": \"2026-10-21T09:00:00.000Z\" }], \"next_cursor\": null, \"has_more\": false }\n  }\n}\n",[53,1791,1792,1796,1808,1820,1827,1908,1986,1990],{"__ignoreMap":114},[118,1793,1794],{"class":120,"line":121},[118,1795,193],{"class":192},[118,1797,1798,1801,1803,1806],{"class":120,"line":151},[118,1799,1800],{"class":135},"  \"jsonrpc\"",[118,1802,218],{"class":192},[118,1804,1805],{"class":128},"\"2.0\"",[118,1807,224],{"class":192},[118,1809,1810,1813,1815,1818],{"class":120,"line":204},[118,1811,1812],{"class":135},"  \"id\"",[118,1814,218],{"class":192},[118,1816,1817],{"class":135},"1",[118,1819,224],{"class":192},[118,1821,1822,1825],{"class":120,"line":212},[118,1823,1824],{"class":135},"  \"result\"",[118,1826,201],{"class":192},[118,1828,1829,1832,1834,1836,1838,1840,1842,1844,1846,1848,1850,1853,1855,1858,1860,1863,1865,1867,1869,1872,1874,1876,1878,1881,1883,1886,1888,1891,1893,1896,1898,1901,1903,1906],{"class":120,"line":227},[118,1830,1831],{"class":135},"    \"content\"",[118,1833,1552],{"class":192},[118,1835,1555],{"class":135},[118,1837,218],{"class":192},[118,1839,1560],{"class":128},[118,1841,74],{"class":192},[118,1843,1560],{"class":135},[118,1845,218],{"class":192},[118,1847,1569],{"class":128},[118,1849,1572],{"class":135},[118,1851,1852],{"class":128},"data",[118,1854,1572],{"class":135},[118,1856,1857],{"class":128},":[{",[118,1859,1572],{"class":135},[118,1861,1862],{"class":128},"user_id",[118,1864,1572],{"class":135},[118,1866,390],{"class":128},[118,1868,1572],{"class":135},[118,1870,1871],{"class":128},"user_123",[118,1873,1572],{"class":135},[118,1875,1598],{"class":128},[118,1877,1572],{"class":135},[118,1879,1880],{"class":128},"account_count",[118,1882,1572],{"class":135},[118,1884,1885],{"class":128},":2,...}],",[118,1887,1572],{"class":135},[118,1889,1890],{"class":128},"next_cursor",[118,1892,1572],{"class":135},[118,1894,1895],{"class":128},":null,",[118,1897,1572],{"class":135},[118,1899,1900],{"class":128},"has_more",[118,1902,1572],{"class":135},[118,1904,1905],{"class":128},":false}\"",[118,1907,1639],{"class":192},[118,1909,1910,1913,1915,1918,1920,1923,1925,1928,1930,1933,1935,1938,1940,1943,1945,1948,1950,1953,1955,1958,1960,1963,1966,1969,1971,1974,1976,1979,1981,1984],{"class":120,"line":262},[118,1911,1912],{"class":135},"    \"structuredContent\"",[118,1914,268],{"class":192},[118,1916,1917],{"class":135},"\"data\"",[118,1919,1552],{"class":192},[118,1921,1922],{"class":135},"\"user_id\"",[118,1924,218],{"class":192},[118,1926,1927],{"class":128},"\"user_123\"",[118,1929,74],{"class":192},[118,1931,1932],{"class":135},"\"account_count\"",[118,1934,218],{"class":192},[118,1936,1937],{"class":135},"2",[118,1939,74],{"class":192},[118,1941,1942],{"class":135},"\"platforms\"",[118,1944,233],{"class":192},[118,1946,1947],{"class":128},"\"linkedin\"",[118,1949,74],{"class":192},[118,1951,1952],{"class":128},"\"instagram\"",[118,1954,1682],{"class":192},[118,1956,1957],{"class":135},"\"created_at\"",[118,1959,218],{"class":192},[118,1961,1962],{"class":128},"\"2026-10-21T09:00:00.000Z\"",[118,1964,1965],{"class":192}," }], ",[118,1967,1968],{"class":135},"\"next_cursor\"",[118,1970,218],{"class":192},[118,1972,1973],{"class":135},"null",[118,1975,74],{"class":192},[118,1977,1978],{"class":135},"\"has_more\"",[118,1980,218],{"class":192},[118,1982,1983],{"class":135},"false",[118,1985,279],{"class":192},[118,1987,1988],{"class":120,"line":282},[118,1989,291],{"class":192},[118,1991,1992],{"class":120,"line":288},[118,1993,297],{"class":192},[14,1995,1996,1997,74,2000,74,2003,2006,2007,2010,2011,2006,2014,2017,2018,94],{},"The server is stateless: it answers ",[53,1998,1999],{},"initialize",[53,2001,2002],{},"ping",[53,2004,2005],{},"tools\u002Flist"," and ",[53,2008,2009],{},"tools\u002Fcall"," on any request, issues no session ID, and answers ",[53,2012,2013],{},"GET",[53,2015,2016],{},"DELETE"," with ",[53,2019,2020],{},"405",[2022,2023,2024],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}",{"title":114,"searchDepth":151,"depth":151,"links":2026},[2027,2028,2029,2030,2031,2032,2033],{"id":106,"depth":151,"text":107},{"id":163,"depth":151,"text":164},{"id":307,"depth":151,"text":308},{"id":382,"depth":151,"text":383},{"id":463,"depth":151,"text":464},{"id":1527,"depth":151,"text":1528},{"id":1726,"depth":151,"text":1727},"Connect Claude Desktop, Claude Code, Cursor and other MCP clients to Pogton Connect with an API key, and let an assistant draft, schedule and publish posts.","md",{},true,13,"\u002Fdocs\u002Fmcp",{"title":5,"description":2034},"MCP Server: Use the Connect API from Claude and Cursor","docs\u002Fmcp","NiRWD1jCFhtqj5TyxlAXi2CgdzrJWmYqvMU3sGMWeZo",1794240385815]