Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This file provides guidance to GitHub Copilot when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to GitHub Copilot when working with code in this repository.
# Build the project npm run build # Development with hot reloading (builds and starts server with watch mode) npm run dev # Start the production server npm start # Code quality npm run lint # Check for linting issues npm run lint:fix # Fix auto-fixable linting issues npm run format # Format code with Prettier npm run format:check # Check code formatting
This is a Model Context Protocol (MCP) server that provides access to the dev.to public API. The architecture follows a simple two-layer pattern:
- Main MCP server entry point that:src/index.ts
- API client class that:src/devto-api.ts
https://dev.to/apiThe server exposes these tools to MCP clients:
get_articles - List articles with filtering (username, tag, top, pagination, state)get_article - Get specific article by ID or pathget_user - Get user info by ID or usernameget_tags - Get popular tags with paginationget_comments - Get comments for an article by IDsearch_articles - Search articles with query and field filters@modelcontextprotocol/sdk (not bundled)@ points to src/ directorydist/ directory# syntax_@typescript-eslint/no-explicit-any set to warn (used for MCP argument flexibility)content format with type: 'text' and JSON stringified data