Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to the EveryInfra MCP server

Vendor MCP
Open markdown

The EveryInfra MCP connector routes your AI agent's tool calls to EveryInfra's own MCP server through Scalekit. Each user connects their own EveryInfra access token once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 12 tools.

Tools
12
What they doRead · write · destructive
7 · 1 · 47 read1 write4 destructive
Users sign in with

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the EveryInfra MCP connection

    In AgentKit > Connections, create an EveryInfra MCP connection. The name you give it is the connection_name your code passes. See Configure connections.

    Console steps with screenshots

    Register your EveryInfra API key with Scalekit so it can authenticate requests to the EveryInfra MCP server on behalf of your users. EveryInfra MCP uses API key authentication.

    1. Get an EveryInfra API key

      • Sign in to the EveryInfra console. The first time you sign in, EveryInfra creates a key for you and shows it in a Full API Key dialog.

      • Copy the key. It starts with ei_.

      • Click Copy key, then Close and clear.

        EveryInfra Full API Key dialog showing the new key, the balance notice, and the Copy key button

    2. Create a connection in Scalekit

      • In the Scalekit dashboard, go to AgentKit → Connections → Create Connection.
      • Search for EveryInfra MCP and click Create.
      • Note the Connection name — use this as connection_name in your code (e.g., everyinframcp).
    3. Add a connected account

      Connected accounts link a specific user identifier in your system to an EveryInfra API key. Add one in the dashboard to test. In production, each user adds their own through the authorization link: they enter their credentials on the page it opens.

      In the dashboard, to test

      • Open the connection and click the Connected Accounts tab → Add account.
      • Fill in Your User’s ID and API Key, then click Save.

      From your backend, if your app already has the credentials

      For example, when users enter them on a settings page in your app:

      import { ConnectorStatus } from '@scalekit-sdk/node'
      const authorizationDetails = {
      details: {
      case: 'staticAuth',
      value: { details: { token: 'ei_...' } },
      },
      };
      let { connectedAccount } = await scalekit.actions.upsertConnectedAccount({
      connectionName: 'everyinframcp',
      identifier: 'user_123',
      authorizationDetails,
      });
      // Make sure the account is ACTIVE before the first tool call.
      if (connectedAccount?.status !== ConnectorStatus.ACTIVE) {
      ({ connectedAccount } = await scalekit.actions.upsertConnectedAccount({
      connectionName: 'everyinframcp',
      identifier: 'user_123',
      authorizationDetails,
      }));
      }
  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'everyinframcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize EveryInfra MCP:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'everyinframcp_everyinfra_get_account',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user opens the link once and enters their EveryInfra MCP server credentials there. If your app already has a user's credentials, add the account from your backend instead, as the console steps above show. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • everyinframcp_everyinfra_get_accountRead the account behind this API key.Read-only

    Check account balance and limits

    Read the account behind this API key. Free, read-only, any key works. Returns: - balance: total_usd, paid_usd, bonus_usd and bonus_expiring (amount_usd, expires_at) - discount: this month's top-ups (month_topup_usd), the rate in effect and next (rate, threshold_usd, gap_usd = how much more to top up this month for it) - rate_limit: requests_per_minute for all keys combined, key_requests_per_minute, and any rate package with its expires_at - key: this key's id, name, prefix, created_at and expires_at - usage_24h: calls, succeeded, failed and spent_usd in the last 24 hours (this_key: the same for this key) Check the balance before a batch of paid calls; every paid call's billing also carries balance_after_usd.

    Inputs

    This tool takes no inputs.

  • everyinframcp_everyinfra_get_jobRead a job submitted with everyinfra_call_api(mode=async).Read-only

    Get an async job

    Read a job submitted with everyinfra_call_api(mode=async). Free; it does not count against the per-minute limit. While status is submitting / running / finalizing, check again later; succeeded: the rows are in results (paged actions also return next_page_token); failed: see error.reason and error.charged; submit_unknown: the submission is still being confirmed — do not resubmit, follow next_action. Only jobs submitted with the same API key are visible.

    Inputs

    job_idstringrequired
    The job_id returned by an async everyinfra_call_api
  • everyinframcp_everyinfra_get_ticketRead one support ticket: its status, what happens next, and its latest 100 messages, including support's replies.Read-only

    Check a support ticket

    Read one support ticket: its status, what happens next, and its latest 100 messages, including support's replies. Use it after everyinfra_create_ticket to check progress, or when the user asks whether support has answered. Pass ticket_id as a plain integer (the number shown as #N, without the #). The key that opened a ticket can always read it; reading the account's other tickets (opened in the console or with other keys) needs the account read permission "support:read" on this key. Any other number returns ticket_not_found. Free; the same result as GET /api/v1/support/tickets/{ticket_id}.

    Inputs

    ticket_idintegerrequired
    The ticket_id everyinfra_create_ticket returned (#N in the console and emails)
  • everyinframcp_everyinfra_list_capabilitiesList EveryInfra's data platforms and capabilities (106 platforms / 573 capabilities: search, detail, comments, profiles and more).Read-only

    List data capabilities

    List EveryInfra's data platforms and capabilities (106 platforms / 573 capabilities: search, detail, comments, profiles and more). Use it before everyinfra_call_api to get the platform/action, required and optional params, the per-call row limit (max_limit, or page_size for page-based actions) and the price. Pass a platform to also get allowed values, returned fields and what they mean. Free. Data collection only — for AI chat use everyinfra_chat.

    Inputs

    platformstring
    Optional; only this platform's capabilities, e.g. xiaohongshu / twitter / tiktok
  • everyinframcp_everyinfra_list_captcha_typesList the 52 CAPTCHA and bot-challenge types EveryInfra solves.Read-only

    List CAPTCHA types

    List the 52 CAPTCHA and bot-challenge types EveryInfra solves. **Call it before everyinfra_solve_captcha** to get three things: the type name, the required/optional params, and **the shape of the solution** (token / cookie / text / number / fields / points / boxes / tokens / indices — a string to submit, coordinates to click yourself, or grid cells to click: each is used differently). Free.

    Inputs

    typestring
    Optional; only this type, e.g. turnstile / recaptcha_v2 / cloudflare_challenge
  • everyinframcp_everyinfra_list_requestsThe account's call records, newest first: request_id, capability, status code, latency, rows returned, whether it was charged, and the amount.Read-only

    Calls and refunds

    The account's call records, newest first: request_id, capability, status code, latency, rows returned, whether it was charged, and the amount. Pass request_id (the request_id / X-Request-Id of any call) to look up one call, including its charge's final state (charged, refunded or partly refunded) and any async job it started. failed_only=true lists failures only. Needs the account read permission "requests:read" on this key: keys not limited to product lines have the three read permissions by default; for a key limited to product lines, the account owner turns it on in the console (API Keys → permissions). Free.

    Inputs

    failed_onlyboolean
    List failed calls only, default false
    limitinteger
    Rows, default 20
    offsetinteger
    Rows to skip, default 0
    request_idstring
    Look up one call; the other params are ignored when given
  • everyinframcp_everyinfra_create_ticketOpen a ticket with EveryInfra's human support team and get back the ticket number and a link the account owner can open.Write

    Contact human support

    Open a ticket with EveryInfra's human support team and get back the ticket number and a link the account owner can open. Use it when calls keep failing or return wrong or missing data, for top-up, charge or refund questions, or to ask for a new platform, capability or field. Put one line in subject; in description say what you called (platform/action or endpoint), when (UTC), the error code and message and what you expected, and pass that call's request_id (and job_id for an async job); write other IDs with a label such as job_id: job_..., because a bare long ID reads as a secret. Never include API keys or passwords. Ask the user first and open it only if they agree. Errors whose fault is request or account need a fixed request or the user, not a ticket; an error's support field carries a ready draft. Any key on the account works and nothing is charged. Retrying the same request returns the same ticket, and the same capability and error code within 24 hours goes into that ticket. Human support is online 24/7, with a first reply within 10 minutes on average. Replies arrive in the ticket and the account owner also gets an email. Check progress and read support's replies with everyinfra_get_ticket (REST: GET /api/v1/support/tickets/{ticket_id}) using the same key, or at the returned link.

    Inputs

    descriptionstringrequired
    What you called, when (UTC), the error code and message, what you expected; no API keys or passwords
    subjectstringrequired
    One line, e.g. "douyin/comments returns 503 since 10:20 UTC"
    categorystring
    Optional: incident (looks like an outage), integration (a call returns an error; parameters, auth, SDK or MCP setup), product (questions about data, platforms and fields, or asking for new ones), billing (top-ups, charges, refunds), order (resources such as proxies or numbers), generalone of generalproductintegrationbillingorderincident
    contact_emailstring
    Optional extra address for support to reach you; reply emails still go to the account's verified email
    idempotency_keystring
    Optional; keep it when retrying. Without it, the same subject and description sent again within 24 hours return the same ticket
    job_idstring
    The job_id of the async job this ticket is about
    request_idstring
    The request_id (X-Request-Id) of the call this ticket is about