npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mlllm/threads-mcp

v1.0.0

Published

Enhanced Threads (Meta) MCP server with 50+ methods for Claude AI integration.

Readme

mlllm-threads-mcp

Enhanced Threads (Meta) MCP server with 50+ methods for comprehensive Claude AI integration.

This project is a TypeScript-based Node MCP (Model Context Protocol) Server that creates and manages posts on Threads (a social media platform by Meta).

The goal of this project is to have the LLM generate complete social media posts—ready to publish on Threads with images, analytics, conversation management, and advanced features. The MCP server handles visual content retrieval, post orchestration, engagement tracking, and comprehensive Threads API integration.

Project Structure

mlllm-threads-mcp
├── src
│   ├── index.ts                # Basic entry point
│   ├── enhanced-index.ts        # Enhanced entry point with 50+ methods
│   ├── stock-photos.ts         # Unsplash http client
│   ├── threads-api.ts           # Threads API HTTP Client
│   ├── threads-server.ts        # Basic Threads MCP Server
│   ├── enhanced-threads-server.ts  # Enhanced server with analytics & management
│   └── types.ts                # Type definitions
├── package.json              # NPM package configuration
├── tsconfig.json             # TypeScript configuration
└── README.md                 # Project documentation

Quick Start

Prerequisites

  • Obtain the API Key from Unsplash
  • Create an app on Meta Developer platform https://developers.facebook.com/apps
  • Choose Access The Threads API as use case
  • On main dashboard, click Access The Threads API > Settings > Enter Redirect Callback URLS
  • Obtain these keys : Threads App ID , Threads App secret , Redirect Callback URL and save them in the env section of threads-dev in the config file :
**Windows**: `%APPDATA%\Claude\claude_desktop_config.json`  
**macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
  1. Clone the repository:
git clone https://github.com/sergekostenchuk/mlllm-threads-mcp
cd mlllm-threads-mcp
  1. Install dependencies:
npm install
  1. Build:
npm run build
  1. Run:
npm start
  1. Create a Meta Developer account and get your keys

  2. Add this configuration to your Claude Desktop config file:

Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "threads-dev": {
      "command": "node",
      "args": [
        "/Users/path/to/project/build/index.js"
      ],
      "env": {
        "HOST": "https://graph.threads.net",
        "APP_ID": "threads_app_id",
        "APP_SECRET": "threads_app_secret",
        "REDIRECT_URI": "public_url",
        "INITIAL_USER_ID": "threads_user_id",
        "UNSPLASH_ACCESS_KEY":"access_key",
        "PORT": "3000",
      }
    },
}
  1. Restart Claude Desktop

That's it, the tool is officially connected to Claude Desktop! You still need to go through an authorization process to obtain the long lived token but dw, Claude will walk you through it.

  • post_thread: Post a new thread and fetch stock photos from Unsplash

Example Usage

Try asking Claude:

  • "Can you post a thread about cats with photos"

Development

If you want to contribute or run from source:

  1. Clone the repository:
git clone https://github.com/sergekostenchuk/mlllm-threads-mcp
cd mlllm-threads-mcp
  1. Install dependencies:
npm install
  1. Build:
npm run build
  1. Run:
npm start

License

This project is licensed under the MIT License. See the LICENSE file for more details.