DEV Community MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with DEV Community MCP or direct API to list articles, publish posts, update drafts, and review community engagement through natural language.

DEV Community logoDEV Community
Api Key

DEV Community (dev.to) is a social publishing platform for software developers. Use it to share technical articles, grow a developer audience, and join community discussions.

28 Tools

Try DEV Community now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
DEV Community
Try asking
TOOLS

Supported Tools

Every DEV Community action and event your agent gets out of the box.

Create Article

Create a new article on DEV Community.

Get Article By ID

Returns a single published article by its ID, including full body content.

Get Article By Path

Returns a single published article by username and slug path.

Get Comment by ID

Returns a single comment and its descendants (replies) by comment ID.

Get Current User

Tool to get the currently authenticated user's profile information.

Get Listing

Returns a single classified listing by its ID.

Get Organization

Returns a single organization by its username.

Get Profile Image

Returns the profile image URL for a user or organization by username.

Get user

Tool to get a single user by their ID or username.

List Articles

Returns a list of published articles, optionally filtered by tags, username, state, or top articles.

List Comments

Tool to list comments for a specified article or podcast episode on DEV Community.

List Followed Tags

Returns a list of tags followed by the authenticated user.

List Followers

Tool to retrieve a list of users who follow the authenticated user.

List latest DEV Community articles

Tool to retrieve a list of published articles sorted by descending publish date.

List Listings

Returns a list of classified listings for jobs, mentors, products, etc.

List Listings By Category

Returns a list of classified listings filtered by category.

List Organization Articles

Tool to list articles published by a specific organization on DEV.

List organization users on DEV.to

Tool to list users belonging to a specified organization on DEV.

List podcast episodes on DEV.to

Tool to retrieve a list of podcast episodes from DEV.

List DEVTO Reading List

Returns the articles in the authenticated user's reading list.

List Tags

Returns a list of tags with their names, background colors, and text colors.

List User All Articles

Tool to list all articles (both published and unpublished) for the authenticated user.

List User Articles

Tool to list published articles for the authenticated user.

List user's published articles

Returns a list of the authenticated user's published articles only.

List user's unpublished articles

Returns a list of the authenticated user's unpublished (draft) articles.

List Videos

Tool to retrieve a list of articles that contain videos.

Update Article

Update an existing article on DEV Community.

Update Listing

Updates an existing classified listing on DEV Community.

SETUP GUIDE

Connect DEV Community MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK for Python or TypeScript
2

Initialize Client and Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
Import and initialize the Composio client, then create a Tool Router session for DEV Community. You can also use mcp.create() when creating dedicated MCP servers.
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'Find trending JavaScript posts on DEV Community and summarize the top themes'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent (Anthropic Claude or Mastra)
SETUP GUIDE

Connect DEV Community API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute DEV Community Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'List my published DEV Community articles and summarize their tags and reaction counts'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute DEV Community actions with your Agent

Why Use Composio?

AI Native DEV Community Integration

  • Supports both DEV Community MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable article, user, and tag actions
  • Rich coverage for reading posts, publishing content, and querying DEV Community data

Managed Auth

  • Securely store DEV Community API keys instead of hard-coding them in agent code
  • Use auth_configs.create() and connected_accounts.link() to connect each user's DEV account safely
  • Manage, scope, and revoke DEV Community access from one central place

Agent Optimized Design

  • Tools are tuned for AI agents, so article and profile actions are easier for models to call correctly
  • Clear execution logs show what your agent did on DEV Community, when it ran, and which user it acted for
  • Less glue code, fewer brittle API calls, and more time building useful publishing workflows

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access DEV Community
  • Scoped, least privilege access for DEV Community publishing and read actions
  • Full audit trail of agent actions to support review, debugging, and compliance
FAQ

Frequently asked questions

Yes, DEV Community requires you to configure your own API key. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with DEV Community.It takes 30 seconds.

Managed auth, hosted MCP servers, and every DEV Community tool your agent needs.Free to start.

Start building