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

@gtm-api/linkedin-mcp

v1.3.1

Published

Managed LinkedIn MCP server for AI agents. Stdio launcher for the hosted gtm-api endpoint: search, connect, message and enrich on LinkedIn accounts you own. 160+ typed actions behind three MCP tools.

Readme

@gtm-api/linkedin-mcp

Launcher for gtm-api: LinkedIn MCP Server, the managed LinkedIn MCP server for AI agents. It bridges a stdio MCP client (Claude Desktop, Cursor, anything that spawns a command) to the hosted streamable-http endpoint at https://mcp.gtm-api.com/mcp via mcp-remote. No server logic runs locally; every tool executes on the hosted server, where account safety is enforced: warm-up, server-side daily limits, preview-then-confirm on outward actions. 20,000+ LinkedIn accounts run on that stack, and under 1% of them have ever been restricted. The method is written up at gtm-api.com/safe-linkedin-automation.

The server exposes three MCP tools (list_toolsets, get_toolset_tools, call_tool) that give an agent progressive access to 160+ typed LinkedIn actions: messaging, connection requests, content, enrichment, search, account health and infrastructure.

Setup

Add the server to your MCP client. There is no key to paste: on first run a browser opens, you sign in and approve access, and the tokens are cached under ~/.mcp-auth.

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "gtm-api": {
      "command": "npx",
      "args": ["-y", "@gtm-api/linkedin-mcp"]
    }
  }
}

Claude Code:

claude mcp add gtm-api -- npx -y @gtm-api/linkedin-mcp

Sign up at app.gtm-api.com (forever free plan, no card) and connect a LinkedIn account you own, either before or during the consent step.

If your client speaks streamable-http itself, skip this launcher and point it straight at https://mcp.gtm-api.com/mcp. It will run the same OAuth flow. The launcher is for clients that can only spawn a command.

Authentication

Two ways in; pick one.

OAuth (default). With no environment set, your client discovers the flow on its own: the first call returns a WWW-Authenticate challenge naming the server's metadata document, mcp-remote registers itself with the authorization server (dynamic client registration, so nothing has to be pre-registered with us) and opens the consent page in a browser. Tokens are cached under ~/.mcp-auth. Best for anything with a human at the keyboard.

API key. Set GTM_API_KEY to a key from the app (Settings, API keys) and the launcher sends it as the bearer on every call: no browser, no consent screen. Best for headless machines, CI and servers where a browser round-trip is not an option. A rejected key fails fast at startup with the reason instead of looping.

{
  "mcpServers": {
    "gtm-api": {
      "command": "npx",
      "args": ["-y", "@gtm-api/linkedin-mcp"],
      "env": { "GTM_API_KEY": "gtm_live_..." }
    }
  }
}

Version notes: launchers up to 1.1.0 required GTM_API_KEY but the endpoint rejected keys back then, so they failed on the first call; 1.2.x ignored the variable and did OAuth only. Key auth works from 1.3.0 on, and requires nothing else in the config.

Environment variables

| Variable | Required | Meaning | |---|---|---| | GTM_MCP_URL | no | Endpoint override, defaults to https://mcp.gtm-api.com/mcp | | GTM_API_KEY | no | Authenticate with this gtm_live_... key instead of OAuth |

Extra CLI arguments pass through to mcp-remote, so its flags are available: --debug to write detailed logs to ~/.mcp-auth, --host to change the callback hostname, --allow-http for a plain-http endpoint override.

Links