MCP Dev.to + LinkedIn Integration
Allows posting articles and reading comments on Dev.to via the Forem API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Dev.to + LinkedIn IntegrationPost my latest article to Dev.to and LinkedIn"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Dev.to + LinkedIn Integration
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
Related MCP server: LinkedIn Poster
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.txt2. Get API Keys & Tokens
Dev.to (Forem)
Scroll to "DEV Community API Keys"
Generate and copy your API key
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 .envEdit .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_IDUsage
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 12345Post to LinkedIn:
node scripts/linkedin-post.js --text "Check out my new article!" --visibility PUBLICPython
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 12345Post to LinkedIn:
python scripts/linkedin_post.py --text "Great article published!" --visibility PUBLICCron 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 PUBLICCopilot 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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/VshlK/mcp-devto-linkedin'
If you have feedback or need assistance with the MCP directory API, please join our Discord server