Use the watermark remover from your AI client
The MCP server sends a text to the same rewrite pipeline as the web tool. It returns the revised text with its fidelity review. You get 100 successful rewrites a month, shared with your website account, with up to 10,000 characters per text.
I use the published SynthID Text method to test this pipeline. Read the results and examples before deciding whether it fits your writing.*
*This service cannot verify Claude or Gemini's private watermark keys and does not guarantee that a detector will accept a text.
Install the MCP server
- Create a key above after signing in with your email.
- Download the latest release. For Claude Desktop, open the MCPB bundle and enter your key in the extension settings.
- For Codex, Claude Code, Cursor or another client that supports local MCP servers, follow the client configuration instructions. The bundle includes its dependencies and requires Node.js 22 or later.
The repository also contains plugins for Codex and Claude Code. Installation from the repository is separate from approval in a client's public directory.
Version 0.1.0 is published in the official MCP Registry as io.github.krllagent/painintheagent-mcp.
Ask for a rewrite
For example, ask your agent to rewrite a draft through Pain in the Agent, preserve the claims and conditions, and show the result with any fidelity notes. The agent calls start_rewrite, saves the run ID, and uses get_rewrite to check progress. Processing can take several minutes.
Keep the client open while it works. If the connection drops, use the same run ID to check for a saved result. Starting a new request starts new work. The server rejects reuse of an ID with different input.
Direct API access
Send your key as an Authorization: Bearer header to https://painintheagent.com. The API reference includes the request format and errors.
GET /api/v1/watermark/limits reads the shared account allowance.POST /api/v1/watermark/run starts a rewrite and streams progress as NDJSON.GET /api/v1/watermark/run?id=UUID retrieves progress or a saved result.
The client supports PAININTHEAGENT_BASE_URL for a local API gateway. It uses the configured endpoint for every request and does not fall back to another provider.
Your text and keys
The service processes and stores submitted text under the same privacy policy as the web tool. Only a hash of each API key is stored on the server. A key can start rewrites and read your account's saved runs; it cannot manage keys. You can revoke it above.