EraseText MCP Server
EraseText API
Official docs, OpenAPI spec, Python SDK, and agent tools for EraseText — a specialised AI text remover for photos and graphics. It erases lettering and the glow, stroke, and shadow that came with it, then rebuilds the plate underneath.
This repository is the public developer surface. The product itself lives at erasetext.com. Canonical HTTP docs: erasetext.com/docs/api.
Try it
Editor (free to erase; full-res download uses credits): erasetext.com/upload
HTTP API:
https://api.erasetext.com/v1MCP:
https://api.erasetext.com/mcpFirst API key includes a 50-credit trial, no card.
Create a key under Account → Developer.
curl -X POST \
-H "X-Api-Key: et_…" \
-F "image_file=@photo.jpg" \
"https://api.erasetext.com/v1/erase" \
-o out.webpOmit the mask to detect and erase all text. White pixels (channel >127) in a mask mark what to erase.
Python SDK
pip install erasetext
# optional agent extras
pip install 'erasetext[langchain]'
pip install 'erasetext[llamaindex]'from erasetext import EraseText
client = EraseText() # reads ERASETEXT_API_KEY
image = client.erase(image_path="photo.jpg")
Path("out.webp").write_bytes(image)erase() spends 1 credit on success. Failures and account() are free.
Do not send size or engine — both are retired and return 400.
MCP
Remote Streamable HTTP. Same key, same billing as the HTTP API.
{
"mcpServers": {
"erasetext": {
"url": "https://api.erasetext.com/mcp",
"headers": { "X-Api-Key": "et_…" }
}
}
}Tools: erase_text (1 credit on success), get_account (free).
Registry file in this repo:
server.json
LangChain
from erasetext.langchain import EraseTextToolkit
tools = EraseTextToolkit().get_tools()
# tools: erase_text, get_erasetext_accountRequires pip install 'erasetext[langchain]'.
LlamaIndex
from erasetext.llamaindex import EraseTextToolSpec
tools = EraseTextToolSpec().to_tool_list()Requires pip install 'erasetext[llamaindex]'.
Specs
File | What |
HTTP OpenAPI 3.1 | |
MCP Registry record (remote Streamable HTTP) | |
Machine-readable product + API summary | |
Same spec, hosted next to the product |
Links
Product: https://erasetext.com
API docs: https://erasetext.com/docs/api/
Developers / prepaid credits: https://erasetext.com/g/developers/
Operated by Morling, LLC. The SDK and specs in this repository are MIT; the hosted erase service is a commercial product.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jaweii/erasetext-api'
If you have feedback or need assistance with the MCP directory API, please join our Discord server