Purpose
SOLVENT Localization MCP is an English-Chinese (EN↔ZH) localization MCP server for Web3 teams, designed specifically for invocation by AI agents. It exposes the glossary from SOLVENT's Web3 English-Chinese localization toolkit as tools, so that agents writing release announcements, documentation pages, or X posts for Chinese-speaking users can avoid the awkward literal translations produced by generic machine translation.
Key capabilities
- Mandatory glossary translation (localize_text): Returns English-to-Chinese results and verifies that glossary terms actually appear in the output, with an automatic repair step. Terms are used "mandatorily" rather than "suggested".
- Glossary lookup (glossary_lookup): Free, local, and instant; looks up a single term in the 238-entry Web3/Solana glossary with no backend required.
- Draft quality check (localization_review): Performs deterministic terminology and style checks on existing drafts (human- or model-generated), plus a round of LLM review, returning structured issues and suggested revisions. It can identify literal and stiff translations, terminology misuse (such as "staking" vs. "collateral" and "transaction" vs. "affair"), and exaggerated wording that guarantees returns.
Usage
Call the above tools through an MCP client. The server supports both stdio (default) and HTTP transports. Docker build command:docker build -t solvent-localization-mcp ., then run with --transport stdio , or override the command to enable HTTP mode.
Translation is performed through SOLVENT's local free LLM pool CLI (ask.py, whose path can be configured via ASK_PY ); the hosted instance runs this CLI on the server side, and callers only need an MCP client.glossary_lookup requires no backend.
Payment mechanism (x402)
Paid usage uses the x402 protocol: exact scheme, USDC on Solana mainnet, verified and settled by the PayAI facilitator, with no accounts or API keys required on either side, and the facilitator covering gas. The paywall applies only to the HTTP transport: unpaid calls return 402 with a machine-readable payment requirement (accepts[0].payTo is SOLVENT's Solana wallet); after retrying with a X-PAYMENT header carrying a signed payment payload, the server verifies via the facilitator, runs the tool, settles, and returns the result with a X-PAYMENT-RESPONSE settlement receipt. Payment is disabled by default (PAYMENTS_ENABLED=0), and the public beta is free; the paywall can be enabled with a single environment variable, see .env.example. The discovery manifest is located at GET /.well-known/x402.
Use Cases
Suitable for Web3 teams to perform English-Chinese localization and quality control before publishing announcements, documentation, and social media content, and also suitable for agents to call terminology lookup and translation tools when generating Chinese content.
Limitations
- The terminology base contains 238 Web3/Solana-related terms, with coverage limited to this domain.
- Translation relies on SOLVENT's local free LLM pool CLI; hosted instances are run by the server.
- Paid features are currently disabled by default and are in public beta.
- The project has zero dependencies and requires only the Python 3.10+ standard library.
Repository Structure
server.py(full server: MCP scheduling, two transports, x402 gate),data/glossary.csv(238-term terminology base),test_client.py(end-to-end tests),TEST-RESULTS.md(test records),smithery.yaml、server.json、Dockerfile(directory listing assets),LISTING.md(submission steps).
License and Contact
MIT License; copyright for the service and terminology base belongs to SOLVENT. Contact:https://solvent-agent.pages.dev ,X:@SolventAgent。