Skip to content

MCP Prompts & Structured JSON Output

Choose a tag to compare

@rawveg rawveg released this 05 May 03:05
· 45 commits to main since this release
bec45ec

New Feature


Prompt support for better LLM utility.

MCP prompts are ready-made templates that make it easier to use your server's tools. They guide you through common tasks, help you find features, and save time by providing clear starting points. With prompts, you don't need to figure out how to structure your requests - you can simply fill in the blanks and get started quickly. Learn more in the MCP Specification

Article Prompts

✅ - get_article_prompt
✅ - list_my_articles_prompt
✅ - create_article_prompt
✅ - update_article_prompt
✅ - delete_article_prompt
✅ - get_article_by_id_prompt
✅ - search_articles_prompt
✅ - analyze_article

User Prompts

✅ - get_user_profile_prompt
✅ - analyze_user_profile
✅ - analyze_user_profile_by_id

The prompts are located within the prompts/ folder and included in the main server.py to preserve separation of concerns and reduce clutter in the main script.


Breaking Change

Endpoints that previously returned pure Markdown output have been modified to return structured JSON instead. This is much better and cleaner and allows for easier integration into automated flows without having to post-process the data.


What's Changed

  • Add prompt generation functions for Dev.to API article and user operations - fixed tool output format to structured JSON for easier programmatic utility. by @rawveg in #10
  • 8 feature prompts tool by @rawveg in #11
  • Add optional params and improve prompt formatting for article managem… by @rawveg in #13

Full Changelog: v1.1.2...v1.1.3