What is Instagram MCP Server?
A Model Context Protocol (MCP) server that fetches Instagram posts by leveraging an existing Chrome login session. It is designed for developers who need to programmatically retrieve Instagram content with type-safe, modular architecture.
How to use Instagram MCP Server?
Install dependencies with npm install, build with npm run build, then run with CHROME_USER_DATA_DIR=/path/to/chrome/profile npm start. Use the get_instagram_posts tool to fetch posts by providing a username and optional parameters like limit and save directory.
Key features of Instagram MCP Server
- Modular architecture with clear separation of concerns
- Type-safe implementation using TypeScript
- Configurable through environment variables
- Automatic media downloading and metadata generation
- SEO-friendly description generation
- Standardized error handling with JSON-RPC 2.0 compliance
Use cases of Instagram MCP Server
- Fetch recent posts from an Instagram profile for analysis
- Automate media downloading and metadata generation for content curation
- Integrate Instagram post retrieval into AI assistants or automation workflows
- Build type-safe tools that need Instagram data without manual scraping
评论