- Home
- MCP servers
- Better Writer
Better Writer
- typescript
3
GitHub Stars
typescript
Language
6 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{
"mcpServers": {
"oil-oil-better-writer-mcp": {
"command": "npx",
"args": [
"-y",
"better-writer-mcp"
],
"env": {
"LLM_BACKEND": "gemini",
"GEMINI_API_KEY": "AIzaSy...",
"OPENROUTER_KEY": "your-api-key-here"
}
}
}
}Better Writer MCP is a lightweight server that coordinates the Better Writer writing aid with external LLM backends, enabling you to generate fluent Chinese content through a standardized MCP flow. It lets you pick a backend, supply an API key, and then request high-quality writing outputs that can leverage联网 data and custom rules.
How to use
You interact with the Better Writer MCP server through an MCP client. Start the server, then connect your client to the local MCP endpoint. You can use it in two modes: (1) OpenRouter as the default backend for broader model options and web search, or (2) Gemini for Google’s official API. When configured, simply tell the client what you want to write, and the MCP server will orchestrate the writing process, applying your rules and returning a finished text.
How to install
Prerequisites: you need Node.js and npm installed on your machine. You also need an MCP client capable of discovering and connecting to your MCP server.
Step 1 — Install dependencies and prepare the server. Open a terminal and run the following commands sequentially.
# Install locally in a project workspace
npm install -g better-writer-mcp
# Alternatively, use a local project setup
mkdir -p apps/bw-mcp
cd apps/bw-mcp
npm init -y
npm install -D better-writer-mcp
# Start the MCP server (this assumes a standard npm script is available)
npm run start
Additional sections
Configuration and environment variables are shown in the dedicated MCP configuration blocks below. You can adapt these to your environment and the backend you choose.
OpenRouter backend configuration is the default and supports multiple models. Gemini is available via Google’s API and requires a Gemini API key.
{
"better_writer": {
"command": "npx",
"args": ["-y", "better-writer-mcp"],
"env": {
"OPENROUTER_KEY": "your-api-key-here"
}
}
}
Configuration for Gemini backend
{
"better_writer": {
"command": "npx",
"args": ["-y", "better-writer-mcp"],
"env": {
"LLM_BACKEND": "gemini",
"GEMINI_API_KEY": "your-gemini-api-key-here"
}
}
}
OpenRouter vs Gemini comparison
If you need联网搜索最新资料, choose OpenRouter. For API stability and cost control, Gemini is a solid option. You can switch back and forth by changing the environment variables and the backend flag in the configuration.
Available tools
better_writer
Core MCP tool that coordinates writing tasks with the chosen backend, applying custom rules and returning fluent Chinese content.