# DEV.to MCP

> DEV.to MCP manages your entire developer portfolio directly through your AI agent. You can publish new articles using Markdown, fetch the latest tech posts, find existing content by ID or path, and manage drafts without switching windows. It handles all publishing, updating, and community insights for your dev.to account.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Tags:** blogging, technical-writing, community, articles, dev-to

## Description

Need to write a technical deep dive but hate context-switching? This MCP lets you use your AI agent as an extension of your editor, managing your DEV.to presence through natural conversation. You can draft articles in Markdown right where you work, then tell the agent to publish them or save them as drafts for later review. The system handles fetching content details—like retrieving all published posts or checking out specific user profiles—so you never have to copy a URL and paste it into another tab again. When connected via Vinkius, your AI acts less like an assistant and more like a dedicated publishing team member. You can manage everything from drafting new content to updating old articles, all in one place.

## Tools

### create_article
Publishes a brand new article to your DEV.to account.

### create_listing
Creates a classified or ad listing on the platform.

### create_page
Generates a custom admin page for your site.

### create_reaction
Adds a reaction to an article or comment.

### delete_page
Removes a custom administrative page.

### get_article_by_id
Retrieves the full text and details of an article using its unique ID.

### get_article_by_path
Fetches an article's content based on the username and slug path.

### get_articles
Lists all articles that have been published to the platform.

### get_comment_by_id
Retrieves a specific comment using its ID.

### get_comments
Fetches all comments associated with a given article or podcast episode.

### get_followed_tags
Lists the tags that your user account is currently following.

### get_latest_articles
Retrieves a list of recently published articles across DEV.to.

### get_listing
Gets the full details for a specific ad listing by its ID.

### get_listings_by_category
Retrieves a list of ad listings that match a specific category filter.

### get_listings
Lists all published classified or advertisement listings on the site.

### get_me
Gets the basic profile details for your authenticated user account.

### get_my_all_articles
Retrieves both published and unpublished articles associated with your personal account.

### get_my_articles
Gets a list of all articles, regardless of publication status, for the user.

### get_my_published_articles
Retrieves only the articles you have already published.

### get_my_unpublished_articles
Shows drafts or unpublished articles that are currently in your account.

### get_organization_articles
Lists articles published under an entire organizational account.

### get_organization
Gets details about a specific organization using its username.

### get_organization_users
Retrieves a list of users who belong to a specified organization.

### get_page
Gets the details for a specific custom administrative page (admin only).

### get_pages
Lists all existing custom pages across the site (admin only).

### get_podcast_episodes
Retrieves a list of podcast episodes published to DEV.to.

### get_profile_image
Gets the profile picture URL for any user or organization account.

### get_reading_list
Fetches your personalized reading list from the platform.

### get_tags
Retrieves a comprehensive list of all available tags used on DEV.to.

### get_user
Gets profile details for any user by their ID or username.

### get_videos
Finds articles that specifically include embedded video content.

### suspend_user
Suspends a user account (admin only).

### toggle_reaction
Adds or removes a reaction to an article or comment.

### unpublish_article
Changes the status of an article so it is no longer visible publicly (admin only).

### unpublish_user
Removes all articles and comments from a user account (admin only).

### update_article
Modifies the content or metadata of an existing article.

### update_listing
Edits details on a classified ad listing that was previously created.

### update_page
Updates the content of an existing custom administrative page (admin only).

## Prompt Examples

**Prompt:** 
```
List the latest articles on DEV.to about 'typescript' and 'mcp'.
```

**Response:** 
```
I've found several recent articles. The top ones are 'Building MCP Servers with TypeScript' and 'Advanced Type Safety in MCP'. Would you like to see the details for any of these?
```

**Prompt:** 
```
Create a new draft article titled 'My First MCP Guide' with a short introduction.
```

**Response:** 
```
I've created the draft for you. The article 'My First MCP Guide' is now saved in your DEV.to account with ID 1829304. You can find it in your unpublished articles.
```

**Prompt:** 
```
Show me all my published articles so I can check their status.
```

**Response:** 
```
Fetching your portfolio... You have 3 published articles: 'Understanding Webhooks', 'API Design Patterns', and 'The Future of MCP'. Which one would you like to inspect or update?
```

## Capabilities

### Drafting and Publishing Articles
Write full-length posts using Markdown and push them live or save them as private drafts.

### Retrieving Content Details
Pull specific articles by ID, check content via username/slug path, or pull a list of all published pieces.

### Managing User Profiles and Data
Get details for your own user account, other users, and entire organizations associated with the platform.

### Curating Community Insights
Fetch lists of tags or pull the most recent articles to keep track of tech trends on the site.

### Updating Existing Content
Modify published posts, update associated tags, or change custom pages when necessary.

## Use Cases

### A DevRel team needs to update 10 old guides.
Instead of logging into DEV.to ten times and finding the correct article ID, the agent uses `get_my_published_articles` to list all content. Then, it cycles through that list using `update_article` to change outdated tags or fix minor copy errors across the board.

### A consultant needs to share a new mini-tutorial immediately.
The agent first runs `get_latest_articles` to see what's currently trending. The consultant then uses that context to draft content and calls `create_article`, publishing the snippet in minutes without needing manual API access.

### A user wants to audit their entire dev.to history.
The agent executes a single call, `get_my_all_articles`, which pulls every piece of content—both visible and saved drafts—into one conversational output for review.

### An admin needs to check if an account is compliant.
The admin uses `get_organization` to pull organizational details, then checks the user list with `get_organization_users`, giving them a full roster without needing platform navigation.

## Benefits

- Stop manually switching between your editor and the browser. You can use your agent to draft articles in Markdown and publish them directly without ever leaving your workflow.
- Need to track what you wrote last month? Instead of searching archives, prompt the MCP to fetch all published or all unpublished articles for your account using `get_my_all_articles`.
- Managing a team's content is easier than copy-pasting. You can pull organizational details and get article lists from an entire organization via `get_organization_articles`, making cross-team oversight simple.
- The MCP handles both articles and listings. If you need to create a technical guide, use `create_article`; if you're promoting a product or service, use `create_listing`—it covers both types of content.
- You can manage community activity by fetching the latest posts using `get_latest_articles` or checking user details with `get_user`, helping you stay current on tech trends.

## How It Works

The bottom line is that you treat the entire publishing workflow—from drafting code snippets to updating user profiles—as one continuous conversation.

1. Subscribe to the MCP and enter your specific DEV.to API key.
2. Connect this MCP to your preferred client (Claude, Cursor, etc.) through Vinkius.
3. Use natural language prompts in your agent to perform actions like 'Publish a new article about X' or 'Show me my unpublished drafts'.

## Frequently Asked Questions

**How do I list all articles published by my organization using get_organization_articles?**
The agent uses `get_organization_articles` and returns a filtered list of posts. This lets you see exactly what content belongs to the company profile, regardless of who wrote it.

**Can I update my own bio or profile using get_user?**
The MCP provides `get_me` for your current details, but making changes requires specific tools like `update_article`. For general info retrieval, the agent handles it.

**How do I check if an article exists by its URL path using get_article_by_path?**
You provide the username and slug to the agent. It then runs `get_article_by_path` and pulls back all the content details, confirming if it's live or archived.

**What is the difference between get_my_published_articles and get_my_all_articles?**
Use `get_my_published_articles` when you only care about content visible to the public. Use `get_my_all_articles` if you need a full inventory, including all private drafts.

**How do I confirm that my account connection is working using get_me?**
It fetches your current user profile details. Running this confirms the MCP is properly authenticated against the correct DEV.to account, letting you know everything is set up before publishing or editing anything.

**Where do I access my private drafts using get_my_unpublished_articles?**
This function pulls a list of all articles you've written that haven't gone live yet. Use it to review drafts, make final edits, or hit publish when your technical content is ready for the community.

**How do I view all active classifieds and ads using get_listings?**
This tool retrieves a list of published listings on DEV.to, which are separate from blog articles. You can check what's currently advertised or listed in your organization’s marketplace section.

**Can I remove an article that needs moderation using unpublish_article?**
Yes, this action immediately takes published articles offline. Use it when you need to pause a post for review or if the content contains outdated information before deciding whether to delete it entirely.

**Can I create a draft without publishing it immediately?**
Yes! When using the `create_article` tool, simply set the `published` parameter to `false`. The article will be saved as a draft in your account.

**How do I find my own articles that I haven't published yet?**
You can use the `get_my_unpublished_articles` tool. It will return a list of all your drafts currently stored on DEV.to.

**Is it possible to update the tags or content of an existing post?**
Absolutely. Use the `update_article` tool with the specific article `id`. You can modify the title, body, tags, and other metadata fields.