
An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.

A Model Context Protocol server giving MCP-compatible AI assistants access to LinkedIn's official API for creating posts, managing events, and interacting with LinkedIn via natural language.
LinkedIn MCP Server is cataloged as an MCP server attributed to souravdasbiswas. A Model Context Protocol server giving MCP-compatible AI assistants access to LinkedIn's official API for creating posts, managing events, and interacting with LinkedIn via natural language. It is categorized under communication social. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for LinkedIn MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
README.md · 382e21a0b06e · 采集于 2026-11-13 10:39:31 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server that provides AI assistants with access to LinkedIn's official API. Create posts, manage events, and interact with LinkedIn - all through natural language via any MCP-compatible client.
Official API only. No scraping, no unofficial endpoints, no account risk.
| Tool | Description |
|---|---|
linkedin_auth_start | Start OAuth 2.0 authentication flow |
linkedin_auth_callback | Complete OAuth with authorization code |
linkedin_auth_logout | Revoke token and log out |
linkedin_get_my_profile | Get your LinkedIn profile (name, headline, photo, email) |
linkedin_get_my_email | Get your email address |
linkedin_get_auth_status | Check authentication status |
linkedin_get_rate_limits | View API rate limit usage |
linkedin_create_post | Create text, article, or image posts |
linkedin_delete_post | Delete your posts |
linkedin_create_comment | Comment on posts |
linkedin_react_to_post | React to posts (like, celebrate, support, love, insightful, funny) |
linkedin_upload_image | Upload images for posts |
linkedin_list_my_posts | List posts created through this server with URNs for reference |
linkedin_create_event | Create LinkedIn events |
linkedin_get_event | Get event details |
http://localhost:3000/callbackImportant: The redirect URL must match exactly - including the protocol (
http://), port (:3000), and path (/callback). No trailing slash.
Verify: After enabling, go back to the Auth tab. Under OAuth 2.0 scopes, you should see:
openid,profile,w_member_social.
git clone https://github.com/souravdasbiswas/linkedin-mcp-server.git
cd linkedin-mcp-server
npm install
npm run build
For Claude Code (recommended):
claude mcp add linkedin \
-e LINKEDIN_CLIENT_ID=your_client_id \
-e LINKEDIN_CLIENT_SECRET=your_client_secret \
-- node /path/to/linkedin-mcp-server/dist/index.js
Or add manually to ~/.claude.json:
{
"mcpServers": {
"linkedin": {
"command": "node",
"args": ["/path/to/linkedin-mcp-server/dist/index.js"],
"env": {
"LINKEDIN_CLIENT_ID": "your_client_id",
"LINKEDIN_CLIENT_SECRET": "your_client_secret"
}
}
}
}
For Claude Desktop, add to claude_desktop_config.json:
{
"mcpServers": {
"linkedin": {
"command": "node",
"args": ["/path/to/linkedin-mcp-server/dist/index.js"],
"env": {
"LINKEDIN_CLIENT_ID": "your_client_id",
"LINKEDIN_CLIENT_SECRET": "your_client_secret"
}
}
}
}
Replace your_client_id and your_client_secret with the values from Step 2.
Once connected, tell your AI assistant:
"Authenticate with LinkedIn"
The assistant will generate an OAuth URL. Here's what happens:
http://localhost:3000/callback?code=XXX&state=YYYcode and state parameters and completes authenticationAfter the first authentication, your session persists across server restarts (token is valid for 60 days). You only need to re-authenticate when the token expires.
Example prompts:
| Variable | Required | Default | Description |
|---|---|---|---|
LINKEDIN_CLIENT_ID | Yes | - | LinkedIn app client ID |
LINKEDIN_CLIENT_SECRET | Yes | - | LinkedIn app client secret |
LINKEDIN_REDIRECT_URI | No | http://localhost:3000/callback | OAuth redirect URI |
LINKEDIN_MCP_DATA_DIR | No | ~/.linkedin-mcp | Directory for token storage |
LINKEDIN_API_BASE_URL | No | https://api.linkedin.com | API base URL (override for testing) |
LINKEDIN_AUTH_BASE_URL | No | https://www.linkedin.com/oauth/v2 | Auth base URL |
# Install dependencies
npm install
# Type check
npm run typecheck
# Run tests
npm test
# Run tests in watch mode
npm run test:watch
# Run with coverage
npm run test:coverage
# Lint
npm run lint
# Dev mode (tsx, no build needed)
npm run dev
Tests run entirely against a mock LinkedIn API server - no real API calls are made.
| Layer | What It Tests | Files |
|---|---|---|
| Unit tests | Auth, PKCE, token store, rate limiter, errors, capabilities | tests/unit/ |
| Integration tests | Full MCP protocol flow via in-memory transport | tests/integration/ |
| Contract tests | Request/response shapes match LinkedIn API spec | tests/contract/ |
src/
index.ts # Entry point, stdio transport
server.ts # MCP server wiring
auth/
oauth2.ts # OAuth 2.0 flow + token exchange
token-store.ts # SQLite token persistence + session auto-restore
pkce.ts # PKCE challenge generation (available for public clients)
tools.ts # Auth MCP tools
client/
api-client.ts # HTTP client with retry
rate-limiter.ts # Adaptive rate limiting
version-manager.ts # LinkedIn API versioning
errors.ts # Structured error types
post-history.ts # Local post tracking (SQLite)
capabilities/
detector.ts # Scope-based capability detection
modules/
profile/tools.ts # Profile reading tools
posting/tools.ts # Post creation/management tools
events/tools.ts # Event management tools
types/
linkedin.ts # LinkedIn API type definitions
config.ts # Server configuration types
These are LinkedIn API restrictions, not server limitations:
r_member_social scope is closedIf your LinkedIn app has Community Management API or Advertising API approval, the server's capability detection will automatically enable additional modules when you authenticate with the corresponding scopes. The modular architecture supports adding new API modules without modifying the core server.
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for LinkedIn MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/linkedin-mcp-server-souravdasbiswas)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.
Pidgeon provides an MCP server and an email inbox API that gives AI agents their own addresses for sending, awaiting, and replying to email.

A Telegram CLI with background sync that can run an optional MCP server for a personal account using MTProto, not the bot API.