
Pain in the Agent
io.github.krllagent由 GitHub 账号 krllagent 发布v0.3.2更新于 Nov 5, 2026
Remove text watermarks, humanize and check AI writing with your Pain in the Agent account.
概览
面向 AI 客户端的文本工具:去除文本水印、人性化改写、对比版本并检测 AI 写作,需使用付费的 Pain in the Agent 账户。
- 可以做什么
- 对提交的文本启动去水印改写与人性化改写,并给出改写前后的 AI 评分
- 对比原文与候选文本,检查语义是否改变
- 对至少 80 词的文本进行 AI 检测评分并标出 AI 写作特征
- 按 ID 查询任意任务的进度或已保存的结果
- 读取账户的字符额度、单篇上限与付费月份到期时间
- 适用场景
- 适合希望助手在聊天客户端内直接改写或人性化草稿、检查改写是否保留原意、或获取 AI 写作评分的场景。已购买或准备购买 Pain in the Agent 套餐以使用付费改写的用户更合适。
- 运行要求
- 以本地 stdio 进程在用户机器上运行(仅桌面端),可通过 MCPB 包或 Node.js 22 以上的源码检出安装。需要 Pain in the Agent 账户与 API 密钥,通过 PAININTHEAGENT_API_KEY 提供;可选 PAININTHEAGENT_BASE_URL 指向网关。改写需订阅月度套餐,并需访问托管服务的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Pain in the Agent,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Pain in the Agent MCP
Use the Pain in the Agent text tools from an AI client: remove text watermarks, humanize drafts, compare versions or check AI writing. Rewrites use the characters of your account's monthly plan: $5 a month for 100,000 characters, up to 10,000 per text, shared with the website and the remote MCP. Only a successful changed result is charged. Comparisons and AI checks are free and limited to 100 a day; without a plan they take texts of up to 1,000 characters, with it up to 10,000. The website's free tries (3 per browser) do not apply to the API or this client.
The research and examples describe tests of rewrite methods against reference SynthID Text watermarks. Those measurements are separate from the live tool workflow. This client cannot verify Claude or Gemini's private watermark keys. AI writing signals are experimental style observations, not proof of authorship.
Installation
First subscribe and create an API key while signed in; rewrites need the monthly plan on that account. Keep the key in your client's secret settings or environment, outside conversations and source control. You do not need an OpenRouter or OpenAI key.
Claude Desktop
Download the .mcpb file from the latest release, open it in Claude Desktop, and enter the service key in its API key setting. The MCPB bundle contains its Node dependencies. It uses Node.js 22 or later.
Codex
Clone this repository or extract a release. The committed dist/index.cjs is ready to run without npm install. Add this to your Codex MCP configuration, replacing the example absolute path with your checkout:
Set PAININTHEAGENT_API_KEY in the environment that starts Codex. Omit PAININTHEAGENT_BASE_URL for the public service. Restart the client after changing its environment.
A Codex plugin is also included at plugins/painintheagent-mcp/, with a repository marketplace at .agents/plugins/marketplace.json. To add this source, run codex plugin marketplace add krllagent/painintheagent-mcp and select Pain in the Agent from that source in the app. The generated catalog is named personal; it is a repository source, separate from OpenAI's public plugin directory. The plugin forwards the same two environment variables.
Claude Code
Set PAININTHEAGENT_API_KEY in the environment that starts Claude Code. Then use:
The plugin includes a rewrite skill and the MCP server. A local checkout can also be loaded with claude --plugin-dir /absolute/path/painintheagent-mcp/claude-plugins/painintheagent-mcp.
Cursor and other local MCP clients
Configure a stdio server with command node and one argument, the absolute path to dist/index.cjs. Supply PAININTHEAGENT_API_KEY through your client's environment or secret setting. Clients have different environment-variable substitution syntax, so use the format your client documents. The MCPB and source release contain the same server.
Tools
Ask your agent to use the tool you need and show its source notes or quoted style evidence. Keep the client open while it works; deep rewriting can take several minutes. The local MCP process holds the streaming connection. Closing it can interrupt the run. The separate remote MCP endpoint at https://painintheagent.com/mcp supports OAuth and continues queued jobs after disconnecting.
Save the request ID. If the stream fails, use get_result with that same ID. The earlier get_rewrite name still works. The client never automatically retries a POST. Reusing an ID with the same operation and input retrieves that run; a different operation, candidate or option is rejected. Failed runs use no characters. Pending requests reserve their characters until they finish or reach the server's deadline, and their IDs cannot start fresh work.
Privacy and gateways
Only supplied text is sent. This client does not read your files, save prose to disk, or emit telemetry. The hosted service sends prose to its model provider and stores source text and results as described in the privacy policy. Your MCP host may retain tool inputs and outputs under its own settings. Do not submit secrets or confidential personal data.
The client reads PAININTHEAGENT_API_KEY and optional PAININTHEAGENT_BASE_URL. The default base URL is https://painintheagent.com. A configured gateway receives every request; there is no credential or endpoint fallback. HTTP is accepted only for localhost gateways. Authentication uses a bearer header, and redirects are rejected.
Development
The tests use fictional text and a local fake HTTP service. They cover endpoint selection, failed authentication, request reuse, dropped streams, and a fresh bundled installation speaking MCP over stdio. They do not call a paid model or claim to be live-provider validation.
See the API reference and distribution status. The client is MIT-licensed. The hosted service and research have their own terms and evidence.
来源:README.md,提交 3b6c420
工具
0版本历史
3- v0.3.2最新Oct 21, 2026
- v0.3.1Oct 21, 2026
- v0.2.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分