Skip to content

MCP Server#173

Open
romanweis wants to merge 4 commits intousewaypoint:mainfrom
romanweis:feature/mcp-server
Open

MCP Server#173
romanweis wants to merge 4 commits intousewaypoint:mainfrom
romanweis:feature/mcp-server

Conversation

@romanweis
Copy link
Copy Markdown

This pull request introduces a new MCP (Model Context Protocol) server package for building email templates programmatically via LLMs, using the email-builder library. It provides a complete implementation for template CRUD operations, block manipulation, HTML rendering, persistent storage, and resource previews. The changes include new documentation, configuration, and a fully structured codebase for the server.

Major Features and Architecture:

Server and Tooling Implementation

  • Added @usewaypoint/mcp-server package with full MCP server setup, tool registration for template and block operations, and resource handling for HTML previews. (packages/mcp-server/src/server.ts, packages/mcp-server/src/index.ts) [1] [2]

Persistent Template Storage

  • Implemented file-based template storage with in-memory caching, supporting creation, update, deletion, and listing of templates in the user's home directory. (packages/mcp-server/src/services/template-storage.ts)

HTML Rendering and Resource Previews

  • Added server-side HTML rendering for templates and resource endpoints to preview templates via a resource URI. (packages/mcp-server/src/services/renderer.ts, packages/mcp-server/src/resources/template-preview.ts, packages/mcp-server/src/resources/index.ts) [1] [2] [3]

Documentation and Configuration:

Comprehensive Documentation

  • Added detailed README.md for the MCP server package, covering usage, architecture, available tools/resources, and development workflow. (packages/mcp-server/README.md)
  • Added CLAUDE.md to guide usage with Claude Code, including build/test commands, architecture overview, and code style.

Package Setup

  • Added package.json for the MCP server package with dependencies, scripts, and binary configuration. (packages/mcp-server/package.json)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants