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.

已驗證STDIO僅桌面媒體與設計AI 與機器學習

概覽

AI 產生的概覽

給 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 指向閘道。改寫需訂閱月費方案,並需連線至託管服務。
安裝前請注意
改寫會消耗付費月費方案的字元額度(每月 5 美元 10 萬字元,單篇最多 1 萬字元);只有成功且內容有變動的結果才計費,待處理的請求會先保留字元。API 金鑰屬機密,應放在用戶端的密鑰設定或環境變數中,不要寫進對話或版本控制。送出的文字會傳到託管服務及其模型供應商,並依隱私政策儲存,請勿提交機密或敏感個人資料。此用戶端無法驗證廠商浮水印金鑰,AI 寫作訊號僅為實驗性觀察,不能當作作者身分的證明。關閉用戶端可能中斷執行中的任務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Pain in the Agent,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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:

toml
[mcp_servers.painintheagent]command = "node"args = ["/absolute/path/painintheagent-mcp/dist/index.cjs"]env_vars = ["PAININTHEAGENT_API_KEY", "PAININTHEAGENT_BASE_URL"]startup_timeout_sec = 15tool_timeout_sec = 40

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:

text
/plugin marketplace add krllagent/painintheagent-mcp/plugin install painintheagent-mcp@painintheagent

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

ToolWhat it does
start_rewriteStarts a watermark-removing rewrite and promptly returns a run_id. Uses characters from the plan. slop_removal is accepted and has no effect.
start_humanizeHumanizes the text and removes its watermark by replacing the wording throughout, with before-and-after AI scores. Uses characters from the plan.
start_watermark_comparisonCompares source_text and candidate_text for meaning changes. Free within the daily check limit. Does not detect vendor watermarks.
start_ai_detectionScores at least 80 words with a trained AI detector (0–100) and highlights AI-writing patterns. Free within the daily check limit.
get_resultReads progress or the saved result for any text tool without starting model work.
get_rewriteReturns progress, a saved result with fidelity notes, or an error for that ID. It starts no model work.
get_limitsReads the account's character allowance, the per-text limit and when the paid month ends.

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

sh
npm ci --ignore-scriptsnpm run buildnpm testnode scripts/package.mjs

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
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

3
  1. v0.3.2最新Oct 21, 2026
  2. v0.3.1Oct 21, 2026
  3. v0.2.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分