PiR2 Academy Instagram Publisher MCP
Local MCP server for preparing previews and publishing single image posts to Instagram after explicit user confirmation, with OAuth and safety safeguards.
README
PiR2 Academy — Instagram Publisher
MCP แบบ local สำหรับคลาส Advanced Claude Cowork ใช้เตรียม preview และโพสต์ภาพหนึ่งภาพไป Instagram หลังผู้เรียนยืนยันอย่างชัดเจน
Safety contract
- รองรับ JPEG/PNG หนึ่งภาพต่อ post ใน core workshop
- ต้องสร้าง preview ก่อนทุกครั้ง
- โพสต์ได้เมื่อผู้เรียนตอบ
ยืนยันโพสต์หรือConfirm postเท่านั้น - token อยู่ใน credential vault ของ macOS/Windows และไม่อยู่ในไฟล์ MCPB
- Meta App Secret อยู่ที่ OAuth Broker เท่านั้น
- retry จะไม่สร้าง post ซ้ำโดยอัตโนมัติ
Development
Requires Node.js 20 or newer.
npm ci
npm run check
Learner flow
- ติดตั้งไฟล์
.mcpbใน Claude Desktop - ใช้
connect_instagramเพื่อ OAuth กับ Instagram Professional account ของตัวเอง - ให้ Canva official MCP export ภาพ JPEG/PNG หนึ่งภาพแบบ standard quality
- ใช้
prepare_instagram_postเพื่อดู account, ภาพ และ caption ใน preview - ตรวจให้เรียบร้อย แล้วตอบ
ยืนยันโพสต์หรือConfirm post publish_instagram_postจะโพสต์ intent นั้นได้เพียงครั้งเดียวและคืน Media ID
Tools ที่ติดตั้ง:
instagram_auth_statusconnect_instagramprepare_instagram_postpublish_instagram_post
Supported core lab
- Instagram Professional account (Business หรือ Creator)
- JPEG/PNG หนึ่งภาพ ขนาดไม่เกิน 8 MB
- caption ไม่เกิน 2,200 ตัวอักษร
- macOS ARM64/Intel และ Windows ARM64/x64
ไม่รวม carousel, video, Reel, Story, schedule, analytics และ comments ใน core lab
ไฟล์ export ต้องเป็น HTTPS URL ที่ Meta เข้าถึงได้และยังไม่หมดอายุ
Publisher ตรวจ signed Canva export ด้วย ranged GET เพราะ URL ของ Canva ผูกกับ HTTP method และใช้ HEAD แทนไม่ได้
OAuth ใช้ PiR2 Academy broker ที่ https://meta-oauth.zie-agent.cloud/instagram เพื่อเก็บ Meta App Secret ไว้ฝั่ง server; access token ของผู้เรียนถูกส่งกลับแบบ PKCE-bound และเก็บใน credential vault ของเครื่องเท่านั้น
Built for PiR2 Academy — Advanced Claude Cowork.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.