Pain in the Agent MCP Server
Remove text watermarks, humanize and check AI writing with your Pain in the Agent account.
Pain in the Agent scores 66 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 7 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "krllagent-painintheagent-mcp": { "command": "npx", "args": [ "-y", "https://github.com/krllagent/painintheagent-mcp/releases/download/v0.3.2/painintheagent-mcp-0.3.2.mcpb" ] } }}
Environment variables
This server does not declare environment variables.
Tools7Tool docs quality grade C
All capabilitiesget_limitstoolReads the account's character allowance, the per-text limit and when the paid month ends.
get_resulttoolReads progress or the saved result for any text tool without starting model work.
get_rewritetoolReturns progress, a saved result with fidelity notes, or an error for that ID. It starts no model work.
Scores at least 80 words with a trained AI detector (0–100) and highlights AI-writing patterns. Free within the daily check limit.
start_humanizetoolHumanizes the text and removes its watermark by replacing the wording throughout, with before-and-after AI scores. Uses characters from the plan.
start_rewritetoolStarts a watermark-removing rewrite and promptly returns a runid. Uses characters from the plan. slopremoval is accepted and has no effect.
Compares sourcetext and candidatetext for meaning changes. Free within the daily check limit. Does not detect vendor watermarks.
About
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.
Pay per run without an account
An agent with its own wallet can pay for a single run in USDC over x402, on Base or Solana. No account, email or subscription is needed. Send the text to POST https://painintheagent.com/api/x402/humanize or POST https://painintheagent.com/api/x402/remove-watermark. The first answer is 402 with the price for that text: $0.10 per started 1,000 characters, from 100 to 10,000 characters. MPP clients can pay the same price on Base with the evm method. Repeat the request with the signed payment and you get a receipt with status_url and result_token. The payment is taken only after a changed result is ready, so a failed or unchanged run costs nothing. This MCP client does not make payments itself: it uses an account API key. The paid routes are described in openapi.json and on the integrations page.
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:
[mcp_servers.painintheagent]
command = "node"
args = ["/absolute/path/painintheagent-mcp/dist/index.cjs"]
env_vars = ["PAININTHEAGENT_API_KEY", "PAININTHEAGENT_BASE_URL"]
startup_timeout_sec = 15
tool_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:
/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
| Tool | What it does |
|---|---|
start_rewrite | Starts a watermark-removing rewrite and promptly returns a run_id. Uses characters from the plan. slop_removal is accepted and has no effect. |
start_humanize | Humanizes the text and removes its watermark by replacing the wording throughout, with before-and-after AI scores. Uses characters from the plan. |
start_watermark_comparison | Compares source_text and candidate_text for meaning changes. Free within the daily check limit. Does not detect vendor watermarks. |
start_ai_detection | Scores at least 80 words with a trained AI detector (0–100) and highlights AI-writing patterns. Free within the daily check limit. |
get_result | Reads progress or the saved result for any text tool without starting model work. |
get_rewrite | Returns progress, a saved result with fidelity notes, or an error for that ID. It starts no model work. |
get_limits | Reads 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
npm ci --ignore-scripts
npm run build
npm test
node 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.
Frequently asked questions
What is Pain in the Agent MCP Server?
Remove text watermarks, humanize and check AI writing with your Pain in the Agent account.
How do I install Pain in the Agent MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Pain in the Agent MCP Server runs locally from the MCP bundle https://github.com/krllagent/painintheagent-mcp/releases/download/v0.3.2/painintheagent-mcp-0.3.2.mcpb with the command npx -y https://github.com/krllagent/painintheagent-mcp/releases/download/v0.3.2/painintheagent-mcp-0.3.2.mcpb.
Is Pain in the Agent MCP Server free and open source?
Yes. Pain in the Agent MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Pain in the Agent MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Pain in the Agent MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Pain in the Agent MCP Server provide?
Pain in the Agent MCP Server provides 7 tools, including get_limits, get_result, get_rewrite, and start_ai_detection. See the full tool list for descriptions and parameters.
How is Pain in the Agent MCP Server's trust score calculated?
Pain in the Agent MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.