MCP service for AI-assisted reasoning and editing on long-form fiction projects
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add writing --env WRITING_SYNC_DIR='<WRITING_SYNC_DIR>' -- npx -y @hanna84/mcp-writing~/.codex/config.toml
[mcp_servers.writing]
command = "npx"
args = ["-y", "@hanna84/mcp-writing"]
env = { WRITING_SYNC_DIR = "<WRITING_SYNC_DIR>" }
# codex mcp add writing --env WRITING_SYNC_DIR='<WRITING_SYNC_DIR>' -- npx -y @hanna84/mcp-writing~/.cursor/mcp.json
{
"mcpServers": {
"writing": {
"command": "npx",
"args": [
"-y",
"@hanna84/mcp-writing"
],
"env": {
"WRITING_SYNC_DIR": "<WRITING_SYNC_DIR>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"writing": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hanna84/mcp-writing"
],
"env": {
"WRITING_SYNC_DIR": "<WRITING_SYNC_DIR>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"writing": {
"command": "npx",
"args": [
"-y",
"@hanna84/mcp-writing"
],
"env": {
"WRITING_SYNC_DIR": "<WRITING_SYNC_DIR>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"writing": {
"command": "npx",
"args": [
"-y",
"@hanna84/mcp-writing"
],
"env": {
"WRITING_SYNC_DIR": "<WRITING_SYNC_DIR>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"writing": {
"command": "npx",
"args": [
"-y",
"@hanna84/mcp-writing"
],
"env": {
"WRITING_SYNC_DIR": "<WRITING_SYNC_DIR>"
}
}
}
}Environment variables
WRITING_SYNC_DIR
Replace the placeholders with your own credentials and keep them out of version control.