kevinuehara/mcp-articles-example
If you are the rightful owner of mcp-articles-example and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
This project is a Model Context Protocol (MCP) server designed to manage tasks and interact with Dev.To articles using TypeScript and Zod for robust validation.
📋 Dev.To Articles MCP Server
🎯 What is this project?
This is a complete MCP (Model Context Protocol) server that implements a articles of dev.to with robust validation using TypeScript and Zod. The server integrates directly with Cursor, allowing you search articles on dev.to.
🌟 Why use MCP?
The Model Context Protocol is a protocol developed by Anthropic that allows AI assistants to connect with external tools and resources in a standardized way. With this project, you can:
- 🤖 Natural Conversation with Cursor about articles on dev.to
- 🔧 Execute tasks directly through chat
- 📊 Receive Insights smart data about published data
- 🛡️ Ensure data validation robust of all data
Usage Examples
Ask on Cursors:
- "Give me 3 articles about typescript"
- "Give me articles of user kevin-uehara"
How It Works
get-articles
- Fetches articles passing parameter tag and quantity from Dev.TO API
- Returns structured data that AI agents can format beautifully
get-articles-by-user-name
- Fetches articles passing parameter username from Dev.TO API
- Returns structured data that AI agents can format beautifully
🏗️ Project Architecture
The project is organized with three main files
src/
├── types.ts # 📝 Zod Types
├── service.ts # 🖥️ Integration with dev.to
└── main.ts # 🚀 Entry Point of MCP
Dependencies
@modelcontextprotocol/sdk- MCP server frameworkzod- Schema validation
API Used
- Dev.To API - Free API of Dev.TO articles