diff --git a/CHANGELOG.md b/CHANGELOG.md index 434ea2f..f338134 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,37 +5,39 @@ All notable changes to the MCP Send Email project will be documented in this fil The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + ## [1.1.0] - 2025-07-08 ### Added + - List audiences tool for Resend - Removed React Email dependencies since it's not used in the project - Updated Resend to latest version - Add biome for formatting - -## [Unreleased] - -- Improved instructions in README -- Removed test email address from example email.md - -### Added - CC and BCC support for email recipients - Full request/response logging for improved debugging - New "Features" section in README documentation - Usage examples for CC/BCC in email.md ### Fixed + - Sender email handling with Resend's API - Type definitions for email request object ### Changed + +- Improved instructions in README +- Removed test email address from example email.md - Enhanced console logging for easier troubleshooting - Updated documentation with Resend's email verification requirements ## [1.0.0] - 2025-02-24 + ### Added + - Initial release - Basic email sending functionality - HTML email support - Email scheduling capability -- Reply-to addressing \ No newline at end of file +- Reply-to addressing diff --git a/index.ts b/index.ts index fd61ac5..e5ab667 100644 --- a/index.ts +++ b/index.ts @@ -3,6 +3,7 @@ import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js' import minimist from 'minimist'; import { Resend } from 'resend'; import { z } from 'zod'; +import packageJson from './package.json' with { type: 'json' }; // Parse command line arguments const argv = minimist(process.argv.slice(2)); @@ -37,7 +38,7 @@ const resend = new Resend(apiKey); // Create server instance const server = new McpServer({ name: 'email-sending-service', - version: '1.0.0', + version: packageJson.version, }); server.tool( diff --git a/package-lock.json b/package-lock.json index 8e0ff29..f9bb11a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "send-email", - "version": "1.0.0", + "version": "1.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "send-email", - "version": "1.0.0", + "version": "1.1.0", "license": "ISC", "dependencies": { "@modelcontextprotocol/sdk": "^1.5.0", diff --git a/package.json b/package.json index f23d902..5b4a606 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "send-email", - "version": "1.0.0", + "version": "1.1.0", "main": "index.js", "keywords": [], "author": "", diff --git a/tsconfig.json b/tsconfig.json index 7a220e2..89b4d40 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,9 @@ { "compilerOptions": { "target": "ES2022", - "module": "Node16", - "moduleResolution": "Node16", + "module": "nodenext", + "moduleResolution": "nodenext", + "resolveJsonModule": true, "jsx": "react-jsx", "outDir": "./build", "rootDir": ".",