semust logo

MCP Platform

Configuration

Add your MCP key and register the MCP server with your client.

The MCP server needs one environment variable, your key, and reads two optional ones. You add them to your client's configuration file, and the server reads them to connect to the Semust API.

Environment variables

Environment

SEMUST_API_KEYstringrequired

Your Semust MCP key (it starts with smk_), created under Settings → MCP Setup. An older account API key also works here, but only for the data tools — the social media tools need an MCP key.

SEMUST_BASE_URLstringdefault: https://api.semust.com/v1/mcp

API base URL. You should not need to change this.

SEMUST_MCP_TOOLSETSstringdefault: all

Load only some tool families, comma-separated: gsc, ga, gads, rank, aiRank, indexing, ym, bing, metrik, changes, competitor, social. Example: gsc,rank,aiRank. list_projects is always loaded. A misspelt name loads every tool and prints a warning. Ready-made configs per family: github.com/Semust-com.

Basic configuration

macOS / Linux

{
  "mcpServers": {
    "semust": {
      "command": "python3",
      "args": ["/Users/you/semust-mcp/semust_mcp.py"],
      "env": {
        "SEMUST_API_KEY": "your-api-key-here",
        "SEMUST_BASE_URL": "https://api.semust.com/v1/mcp"
      }
    }
  }
}

Windows

{
  "mcpServers": {
    "semust": {
      "command": "python",
      "args": ["C:\\Users\\you\\semust-mcp\\semust_mcp.py"],
      "env": {
        "SEMUST_API_KEY": "your-api-key-here",
        "SEMUST_BASE_URL": "https://api.semust.com/v1/mcp"
      }
    }
  }
}

Path and Python

Use the block for your operating system — the Python command and the path format differ. The path in args must be absolute: Claude Desktop does not expand ~, so ~/semust-mcp/... will fail with a file-not-found error.

On macOS and Linux there is no python command, only python3. Run which python3 if you need its full path (usually /usr/bin/python3, or /opt/homebrew/bin/python3 with Homebrew). On Windows use double backslashes, and if python is not recognised give the full path to python.exe.

Auto-approving tools

The data tools are read-only. To avoid approving each call, add tool names to the alwaysAllow list:

"alwaysAllow": [
  "list_projects",
  "get_keywords", "get_pages", "get_performance",
  "rank_get_keywords", "rank_get_overview",
  "ga_get_overview", "gads_get_campaigns",
  "social_get_accounts", "social_list_posts", "social_get_post"
]

Remove the field entirely if you would rather approve every call individually.

Never auto-approve the posting tools

The social media tools that create, change, publish or delete posts — social_create_post, social_update_post, social_delete_post, social_retry_post and social_import_media — must stay out of alwaysAllow, so Claude asks you before each one. Only social_get_accounts, social_list_posts and social_get_post are read-only. See Social media.

Security

Your API key never leaves your machine. Claude only sees the SEO data that comes back, never your credentials. See Security for detail.

Last updated: 2026-11-13