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 | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lanternrow/linkedin-pages-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server