Sitecore Design

A modular MCP server that enforces copywriting rules on UI text via a copywriter agent over HTTP.
  • typescript

0

GitHub Stars

typescript

Language

4 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs

You run a Copywriter MCP server that automatically enforces predefined copywriting rules on UI text. It processes copy as UI elements are generated or when users inquire about UI text, helping you maintain consistent, compliant wording across your application. It is designed for HTTP transport and is pre-configured for deployment on modern hosting like Vercel.

How to use

You use the copywriter MCP server by connecting it to your MCP client. When UI copy is generated, the server processes the text through a modular set of rules to apply branding, tone, capitalization, and other copywriting preferences. You can also trigger the tool explicitly by asking questions about UI text. Provide the raw text you want rewritten and, optionally, the context where it will appear (for example, a button label or an error message). The result is the text after applying all configured copywriting rules.

How to install

Prerequisites you need before installing this MCP server are Node.js and npm. Ensure you have a recent LTS version of Node.js installed on your system.

  1. Install dependencies for the project.
npm install
  1. Add your copywriting rules by editing the copywriter rules file. You will define a list of functions that take a string and return a transformed string. This is where you customize tone, capitalization, style, and other policies.

  2. Start the development server to run locally. The MCP server will be available at a local endpoint for testing.

npm run dev
  1. When you are ready to deploy, you can publish to a hosting platform that supports MCP HTTP endpoints. The server exposes an HTTP endpoint at /api/mcp when running locally, which you will connect to from your MCP client.

Additional setup and deployment

Deployment updates are configured for Vercel with HTTP transport, so you can deploy with the usual Vercel workflow. You can also configure the MCP client to point to your deployed URL once the site is live.

Configuration

Environment configuration lets you tailor how the server runs in different environments. You typically copy an example environment file and populate it with any required values. After configuring, restart the server so the new settings take effect.

To integrate with your MCP client, set the MCP server URL to your deployment endpoint and specify HTTP as the transport method.

Security and notes

Secure access to the MCP endpoint by controlling network access and applying standard security practices for web services. Keep your rule definitions private and versioned, and validate inputs to prevent unexpected transformations.

Troubleshooting

If the copywriter tool does not respond, verify that the server is running, the endpoint URL is reachable, and your rule functions are loaded without syntax errors. Check the logs for any rule processing errors and ensure that the production deployment has the same rules as your local development environment.

Notes

The server provides a copywriter tool that processes text through a modular rules system. Rules are applied in sequence, so the order of your rule definitions matters.

Available tools

copywriter

Copywriter tool that processes UI copy text through predefined rules to ensure consistent, brand-aligned language.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational