Dev.To + LinkedIn Integration
FreeNot checkedAutomates posting articles to Dev.to and sharing posts on LinkedIn via command-line, cron jobs, or Copilot sessions.
About
Automates posting articles to Dev.to and sharing posts on LinkedIn via command-line, cron jobs, or Copilot sessions.
README
Simple MCPs (Model Context Protocol) for automating posts to Dev.to (Forem) and LinkedIn via command-line, cron jobs, or Copilot sessions.
Features
- 📝 Post articles to Dev.to (Forem API v1)
- 💬 Read comments from Dev.to articles
- 🔗 Share posts on LinkedIn (UGC API)
- ⚙️ Works with cron jobs and Copilot sessions
- 🐍 Node.js & Python scripts
Setup
1. Clone & Install
git clone https://github.com/YOUR_USERNAME/mcp-devto-linkedin.git
cd mcp-devto-linkedin
# Node setup
npm install
# Python setup
pip install -r requirements.txt
2. Get API Keys & Tokens
Dev.to (Forem)
- Go to https://dev.to/settings/account
- Scroll to "DEV Community API Keys"
- Generate and copy your API key
- Go to https://www.linkedin.com/developers/apps
- Create or select your app
- Under "Auth", copy your Access Token
- Get your Person URN (typically shown in your profile or auth response as
urn:li:person:XXXXXXXXX)
3. Configure .env
cp .env.example .env
Edit .env and add your credentials:
FOREM_API_KEY=your_devto_api_key
LINKEDIN_ACCESS_TOKEN=your_linkedin_access_token
LINKEDIN_PERSON_URN=urn:li:person:YOUR_ID
Usage
Node.js
Post to Dev.to:
node scripts/forem-post.js --title "My Article" --body "# Hello\nContent here" --tags "javascript,mcp"
Read Dev.to comments:
node scripts/forem-read-comments.js --article-id 12345
Post to LinkedIn:
node scripts/linkedin-post.js --text "Check out my new article!" --visibility PUBLIC
Python
Post to Dev.to:
python scripts/forem_post.py --title "My Article" --body "# Hello\nContent" --tags "python,api"
Read Dev.to comments:
python scripts/forem_read_comments.py --article-id 12345
Post to LinkedIn:
python scripts/linkedin_post.py --text "Great article published!" --visibility PUBLIC
Cron Job Examples
Daily post to Dev.to
0 9 * * * cd /path/to/mcp-devto-linkedin && node scripts/forem-post.js --title "Daily Update $(date +\%Y-\%m-\%d)" --body "Today's updates..." --tags "daily,update"
Weekly LinkedIn share
0 10 * * MON cd /path/to/mcp-devto-linkedin && python scripts/linkedin_post.py --text "Happy Monday! Sharing insights..." --visibility PUBLIC
Copilot Integration
Use these scripts in Copilot sessions by referencing environment variables and scripts:
export FOREM_API_KEY="..."
export LINKEDIN_ACCESS_TOKEN="..."
export LINKEDIN_PERSON_URN="..."
node /path/to/mcp-devto-linkedin/scripts/forem-post.js --title "..." --body "..."
API Documentation
- Dev.to (Forem) API: https://developers.forem.com/api
- LinkedIn UGC API: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin
License
MIT
Installing Dev.To + LinkedIn Integration
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/VshlK/mcp-devto-linkedinFAQ
Is Dev.To + LinkedIn Integration MCP free?
Yes, Dev.To + LinkedIn Integration MCP is free — one-click install via Unyly at no cost.
Does Dev.To + LinkedIn Integration need an API key?
No, Dev.To + LinkedIn Integration runs without API keys or environment variables.
Is Dev.To + LinkedIn Integration hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Dev.To + LinkedIn Integration in Claude Desktop, Claude Code or Cursor?
Open Dev.To + LinkedIn Integration on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Dev.To + LinkedIn Integration with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
