Security Architecture
The Semust MCP Server is designed with a local-first security model. Your API key and data stay on your machine.Local Execution
The server runs as a local process on your machine. No cloud deployment, no external servers.
HTTPS Only
All API communication uses HTTPS encryption. Plaintext HTTP is rejected (except localhost for development).
No Data Storage
The server is stateless — it doesn’t store any data on disk. Each request is fetched fresh from the API.
Key Isolation
Your API key stays in your local environment (.env file or client config). It never leaves your machine.
How Data Flows
- You ask a question in Claude Desktop or Cursor
- The AI client calls the appropriate MCP tool
- The MCP server (running locally) makes an HTTPS request to
api.semust.comwith your API key - Semust API fetches data from your connected sources (Google, Bing, Yandex)
- SEO data is returned to the AI for analysis — the AI sees your SEO data but never your API key
All Semust MCP tools are read-only. They fetch data but never modify your accounts, campaigns, or settings.
API Key Best Practices
HTTPS Enforcement
The server validatesSEMUST_BASE_URL at startup:
https://— Allowed (required for production)http://localhost— Allowed (development only)http://127.0.0.1— Allowed (development only)http://to any other host — Rejected with an error
Network Behavior
- The server communicates with your AI client via stdio (standard input/output) — no network ports are opened
- The only outbound network connection is to
api.semust.comover HTTPS - No inbound connections are accepted
- No data is sent to any third party
