Repository navigation
v1.0.0 - Initial Release
π Threads MCP Server v1.0.0 - Initial Release
A production-ready Model Context Protocol server for integrating with the Threads.com API. Built for Claude Desktop and AI assistants.
β¨ Features
- 8 MCP tools for complete Threads.com API coverage
- Profile management and retrieval
- Thread creation with support for text, images, and videos
- Thread replies and conversation management
- Analytics and insights for engagement metrics
- Rate limiting with token bucket algorithm
- In-memory caching with TTL and LRU eviction
- Webhook support with HMAC-SHA256 signature verification
- Enhanced client with integrated utilities
π§ Developer Experience
- Git hooks with Husky for code quality enforcement
- Pre-commit hooks: lint-staged + TypeScript type checking
- Pre-push hooks: tests, coverage, lint, and build verification
- Commit message validation with conventional commits
- Comprehensive documentation for Git workflows
π Security & Testing
- Full TypeScript support with comprehensive type definitions
- 90%+ test coverage with Vitest (135 tests passing)
- Environment variable-based configuration
- Secure token handling
- HMAC-SHA256 webhook signature verification
- Input validation with Zod schemas
- Claude Desktop integration ready
π Documentation & Design
- Comprehensive README with installation guide
- API reference documentation
- Usage examples and sample prompts
- Contributing guidelines
- Threads-styled GitHub Pages website
- llms.txt for AI assistant integration
- Pixel-perfect Threads timeline design
- Dark mode support
- Mobile responsive design
- OG and Twitter card images
- Comprehensive SEO optimization
βοΈ Infrastructure
- ESLint configuration for code quality
- Prettier for code formatting
- GitHub Actions for CI/CD
- Automated GitHub Pages deployment
- Comprehensive .gitignore and .npmignore
π Installation
npm install @pegasusheavy/threads-mcpOr using pnpm:
pnpm add @pegasusheavy/threads-mcpπ Quick Start
Add to your Claude Desktop configuration:
{
"mcpServers": {
"threads": {
"command": "npx",
"args": ["-y", "@pegasusheavy/threads-mcp"],
"env": {
"THREADS_ACCESS_TOKEN": "your_access_token_here",
"THREADS_USER_ID": "your_user_id_here"
}
}
}
}π Links
- π Documentation
- π Changelog
- π API Reference
- π‘ Examples
Made with β€οΈ by Pegasus Heavy Industries LLC