linkedin-pages-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LINKEDIN_VERSION | No | LinkedIn API version header value (default 202606). Bump when LinkedIn sunsets versions. | 202606 |
| LINKEDIN_CLIENT_ID | No | Your LinkedIn app client ID. Required if you want automatic token refresh. | |
| LINKEDIN_ACCESS_TOKEN | Yes | Your 3-legged OAuth member access token for the LinkedIn Community Management API. This is the only hard requirement. | |
| LINKEDIN_CLIENT_SECRET | No | Your LinkedIn app client secret. Required if you want automatic token refresh. | |
| LINKEDIN_REFRESH_TOKEN | No | Your LinkedIn refresh token. Required if you want automatic token refresh. | |
| LINKEDIN_ORGANIZATION_ID | No | Optional 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
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.
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.
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.
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.