Skip to main content
Glama
lanternrow

linkedin-pages-mcp

by lanternrow

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LINKEDIN_VERSIONNoLinkedIn API version header value (default 202606). Bump when LinkedIn sunsets versions.202606
LINKEDIN_CLIENT_IDNoYour LinkedIn app client ID. Required if you want automatic token refresh.
LINKEDIN_ACCESS_TOKENYesYour 3-legged OAuth member access token for the LinkedIn Community Management API. This is the only hard requirement.
LINKEDIN_CLIENT_SECRETNoYour LinkedIn app client secret. Required if you want automatic token refresh.
LINKEDIN_REFRESH_TOKENNoYour LinkedIn refresh token. Required if you want automatic token refresh.
LINKEDIN_ORGANIZATION_IDNoOptional organization ID to pre-select a specific Company Page.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_connectionA

Verify the LinkedIn API token works and list the Company Pages the authenticated member administers. Lightweight call to confirm credentials + access.

list_organizationsA

List the Company Pages (organizations) the authenticated member can manage, with their URNs/ids. Use these ids with the analytics tools.

get_organizationA

Get a Company Page's profile (name, vanity, description) plus its total follower count.

get_follower_statisticsA

Follower analytics for a Company Page. Lifetime mode (omit start/end) returns demographic breakdowns by seniority, function, industry, company size, and geography. Time-bound mode returns organic/paid follower gains per bucket.

get_page_statisticsA

Page view analytics for a Company Page: views and unique visitors, split by section (overview/careers/jobs/life) and device (desktop/mobile), plus visitor demographics. Lifetime or time-bound (DAY/MONTH).

get_share_statisticsA

Organic post/share analytics for a Company Page: impressions, unique impressions, clicks, reactions, comments, shares, and engagement rate. Aggregate (omit start/end) or time-bound. Sponsored activity is excluded.

list_postsA

List an organization's posts (content + metadata: text, timestamps, lifecycle, distribution). Take a returned post id and pass it to per-post share statistics for engagement.

refresh_tokenA

Mint a fresh LinkedIn access token (and refresh token) from the configured refresh credentials. Returns the new values to persist into your .env. Requires LINKEDIN_CLIENT_ID, LINKEDIN_CLIENT_SECRET, and LINKEDIN_REFRESH_TOKEN.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 8 tools

Disambiguation5/5

Every tool targets a distinct resource or action: connection check, organization listing/details, three separate analytics endpoints (followers, page views, shares), post listing, and token refresh. No two tools could be easily confused.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (check_connection, list_organizations, get_organization, get_follower_statistics, etc.) using lowercase with underscores. The verbs are clear and consistent with the action performed.

Tool Count5/5

With 8 tools, the set is well-scoped for a LinkedIn Pages API server covering authentication, organization management, and analytics. Each tool earns its place without unnecessary duplication or bloat.

Completeness4/5

The analytics and read-only surfaces are well covered (followers, page views, shares, posts, org details), but there are minor gaps such as no ability to create or update posts or modify organization settings. However, for an analytics-focused server, these are not critical.

Maintenance

ActivityInactive
ResponsivenessNo issues