Skip to main content
Glama
nickbaumann98

Release Notes MCP Server

configure_template

Set up a custom template for generating release notes, allowing you to define the structure and format for your project's changelog.

Instructions

Configure a custom template for release notes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
templateYes

Implementation Reference

  • Handler logic for the 'configure_template' tool: parses input arguments, stores the custom template in a global 'templates' object, and returns a JSON success message.
    case 'configure_template': { const args = ConfigureTemplateSchema.parse(request.params.arguments); templates[args.name] = args.template; return { content: [ { type: 'text', text: JSON.stringify({ message: `Template '${args.name}' configured successfully` }), }, ], }; }
  • Zod schema defining the input for 'configure_template': requires 'name' (string) and 'template' (string).
    export const ConfigureTemplateSchema = z.object({ name: z.string(), template: z.string() });
  • Tool registration in the ListTools handler: specifies name, description, and converts schema to JSON schema.
    { name: 'configure_template', description: 'Configure a custom template for release notes', inputSchema: zodToJsonSchema(ConfigureTemplateSchema), },
  • Global object storing configured templates, used by both 'configure_template' and 'generate_release_notes' tools.
    const templates: Record<string, string> = {};

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nickbaumann98/release-notes-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server