MCP service for AI-assisted reasoning and editing on long-form fiction projects
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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>"
}
}
}
}需要的环境变量
WRITING_SYNC_DIR
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。