mcp-declarative-server

johnhenry/mcp-declarative-server

3.2

If you are the rightful owner of mcp-declarative-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCP Declarative Server is a utility module for creating Model Context Protocol (MCP) servers declaratively.

The MCP Declarative Server is designed to facilitate the creation of Model Context Protocol (MCP) servers using a declarative approach. This module allows developers to define server components such as tools, prompts, and resources in a structured manner, making it easier to manage and extend server functionalities. By using this module, developers can focus on defining the logic and behavior of their server without worrying about the underlying infrastructure. The server can be easily connected to a transport layer, enabling seamless communication and interaction with clients. The module supports defining tools and prompts with parameter schemas and handlers, allowing for flexible and dynamic server responses. Additionally, resources can be defined to provide access to various server assets, such as documentation or other files.

Features

  • Declarative Server Creation: Define server components like tools, prompts, and resources in a structured format.
  • Tool and Prompt Definitions: Easily define tools and prompts with parameter schemas and handlers for dynamic responses.
  • Resource Management: Define resources to provide access to server assets such as documentation.
  • Versioning Support: Specify server version for better management and updates.
  • Transport Connectivity: Seamlessly connect the server to a transport layer for client communication.

Tools

  1. greeting

    Generate a greeting message

  2. farewell

    Generate a farewell message

  3. welcome

    Generate a welcome message

  4. docs/readme

    Get document resources