Skip to content

v0.2.1 - Examples and Documentation

Choose a tag to compare

@KeshavVarad KeshavVarad released this 04 Nov 18:10
· 33 commits to main since this release

Added

Examples

  • Knowledge Base Example (examples/knowledge_base/): Comprehensive example demonstrating all three MCP primitives working together
    • 3 Tools: search_knowledge, add_article, list_categories
    • 3 Prompts: research_prompt, summary_report_prompt, document_prompt
    • 4 Resources: stats, config, articles/{id}, category/{name}
    • Shows practical usage of tools, prompts, and resources in a real application
    • Includes argument/parameter completion examples
    • Demonstrates subscribable resources

Documentation

  • Added comprehensive Prompts section to README

    • Basic prompts with examples
    • Prompts with argument completion
    • Dynamic completion functions
    • Async prompts
    • When to use prompts
  • Added comprehensive Resources section to README

    • Direct resources with examples
    • Resource templates with parameters
    • Subscribable resources with notifications
    • Async resources
    • URI schemes and conventions
    • When to use resources
  • Updated features list to highlight:

    • Full MCP specification support
    • Argument completion
    • Resource subscriptions
    • Cross-primitive middleware

Changed

  • Enhanced feature descriptions to emphasize all three primitives

Full Changelog: https://github.com/KeshavVarad/NextMCP/blob/main/CHANGELOG.md