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

contentstudio-mcp

v1.1.0

Published

ContentStudio MCP server (Node + TypeScript) that calls existing Laravel API endpoints.

Readme

ContentStudio MCP (Node + TypeScript)

A Node.js MCP server that mirrors your Laravel MCP tools and calls your existing API over HTTP with X-API-Key.

Default API base: https://api-prod.contentstudio.io (override with CONTENTSTUDIO_BASE_URL).

Tools

  • ping
  • validate_token
  • fetch_workspaces
  • fetch_social_accounts
  • fetch_posts
  • create_post
  • delete_post
  • help

Quick Start

  1. Copy .env.example to .env (optional) and set:
    • CONTENTSTUDIO_BASE_URL (default https://api-prod.contentstudio.io if not set)
    • API key: EITHER provide auth_key with each tool call OR set CONTENTSTUDIO_API_KEY in your MCP client env. If set in env, tools use it automatically.
  2. Install deps: npm install
  3. Dev (stdio): npm run dev
  4. Build & start: npm run build && npm start

Global usage (recommended)

After publishing to npm (see below), users can install or invoke the server globally:

  • Global install:

    • npm i -g contentstudio-mcp
    • Then, in your MCP client config, use: { "mcpServers": { "contentstudio-node": { "command": "contentstudio-mcp", "env": { "CONTENTSTUDIO_API_KEY": "" } } } }
  • Or with npx (no global install):

    • command: "bash"
    • args: ["-lc", "npx -y contentstudio-mcp"]

Windsurf MCP config

{ "mcpServers": { "contentstudio-node": { "command": "bash", "args": ["-lc", "cd /var/www/html/contentstudio-mcp && node --loader ts-node/esm src/index.ts"] } } }

Prod alternative (compiled JS): { "mcpServers": { "contentstudio-node": { "command": "bash", "args": ["-lc", "cd /var/www/html/contentstudio-mcp && node dist/index.js"] } } }

API Mapping

  • validate_token → GET /api/v1/me
  • fetch_workspaces → GET /api/v1/workspaces?page=&per_page=
  • fetch_social_accounts → GET /api/v1/workspaces/{workspace_id}/accounts?platform=&page=&per_page=
  • fetch_posts → GET /api/v1/workspaces/{workspace_id}/posts (date_from/date_to/status[] supported)
  • create_post → POST /api/v1/workspaces/{workspace_id}/posts
  • delete_post → DELETE /api/v1/workspaces/{workspace_id}/posts/{post_id}

Notes

  • API key can be supplied per-call as auth_key, OR globally via env CONTENTSTUDIO_API_KEY in your MCP client config.
  • Base URL comes from env CONTENTSTUDIO_BASE_URL (default: https://api-prod.contentstudio.io).
  • create_post: publish_type supports scheduled or draft. Use scheduled_at with scheduled, and you may also include scheduled_at with draft.
  • create_post: video must be a direct URL string (e.g., https://...).