Home / Getting started with Labrika MCP

Getting started with Labrika MCP

Getting started with Labrika MCP. Parameters, short request examples and result checks in Labrika.

On this page

Connect Labrika to your AI assistant

MCP connects Labrika to your AI assistant. Ask it to read reports, work with tasks and prepare new runs. Available actions depend on the projects and permissions you select for the connection.

Before you begin

You need a Labrika account with access to the required projects and an AI client that supports remote MCP servers with OAuth. Adding a server may depend on the client's plan or administrator permissions.

MCP server address

Use the international Labrika server at labrika.com. Keep /mcp at the end of the MCP server URL.

  • https://labrika.com/mcp

Where to get your Client ID and Client Secret

If your AI client requests OAuth credentials, open My connections in Labrika’s MCP settings and the application registration form.

  1. In “Name”, enter a recognizable name, such as My AI assistant.
  2. In the redirect URI field, paste the exact address from your chosen AI client’s settings. The address must match completely.
  3. Select “The app stores a secret on its server” only if your chosen client needs a Client Secret. Leave it unchecked for a client that uses only a Client ID. Click “Register app”.
  4. In the “OAuth client credentials” section that appears, copy the Client ID using its copy icon. If you enabled a secret, copy the Client Secret in the same way.

Save the secret in secure storage before closing this section; you cannot view it again afterwards. Enter your own application’s credentials in the AI client settings.

Part of the Labrika form: application registration and “OAuth client credentials” with Client ID, Client Secret and copy icons.

Part of Labrika’s interface after application registration, showing Client ID, Client Secret and their copy icons.

The illustration shows the option with a secret. The redirect URI field is outside the image; fill it in as described above. Do not copy the credential values from the illustration.

Connect

  1. Add a remote MCP server in your AI client using the selected address and choose OAuth. If credentials are requested, enter the Client ID and, when needed, Client Secret from Labrika.
  2. In the Labrika authorization window, check the account and application. Select the required projects and actions, then grant access. Write permissions allow the assistant to make the corresponding changes; select them deliberately.
  3. Return to the AI client, select the Labrika connection and send one of the short requests below.

Your first request

Show my Labrika projects.

What can this connection do?

Check the result

The connection works when the assistant shows authorized tools or accessible projects. If a project or action is missing, authorize the connection again with the required access. If access is already granted, refresh the client's tool list.

Paid actions

A quote and a paid run are separate steps. The assistant shows a quote and a Labrika link; review the settings and payment option, then select Confirm and start. Ask for the status afterwards. Ordinary changes use the permissions you granted; this paid approval step does not apply to every operation.

Revoke access

To revoke access, open My connections in Labrika and revoke the connection. Data already sent may remain in the AI client's history.

Back to contents

Quick start

Start with a short request. Replace example.com with your domain. The assistant will ask for missing details; you do not need to type tool names or identifiers into the chat.

  1. Name the project and the task.
  2. Provide the settings the assistant asks for.
  3. For a paid operation, review the quote and confirm the launch in Labrika.
  4. Ask for the result or status of the existing job.

If an object is missing, check connection permissions and selected projects in Labrika. Do not replace its identifier with one from another object.

Example requests

Show my remaining limits.

What are example.com's rankings?

Show the latest summary report for example.com.

Which pages changed in the latest check?

Find 80 keywords for example.com.

Find 30 prompts for example.com.

How much does an AI Visibility check cost?

How much is a 500-page audit of example.com?

How to check the result

Check the existing job using its identifier. A pending or intermediate status is not a finished report; read any error before attempting another launch.

If has_more=true, continue with next_cursor as cursor and unchanged filters, even if the current page is empty. An empty first page does not prove that no data exists.

Show the amount with the currency returned by the tool. Money, audit limits, ranking limits and AI credits are separate balances; do not add them together or invent a currency.

Back to contents

Connections

Tool reference (4)

Your client can call the tools authorized for its connection. For a list with has_more set to true, pass the returned next_cursor as cursor with the same filters.

labrika_action_get

Check the confirmation or launch result by action_id. Use include_report_progress to see the latest audit or ranking check for the site after launch. For an existing site, enable the corresponding progress tool.

Required parameters
action_id
Optional parameters
include_report_progress

Example requests

I approved the run. What's its status?

Show progress of the approved audit.

Before the request
Use the action_id from an action already prepared. Showing progress also requires access to the corresponding audit or ranking progress tool.
Result
The approval state and launch result. include_report_progress requests available progress; this call does not start an operation.

labrika_action_execute

Compatibility alias for checking an action by action_id. Use labrika_action_get for status. The user starts the action on the Labrika confirmation page.

Required parameters
action_id

Example requests

Check the state of this action.

Has the approval been accepted?

Before the request
The action has already been prepared and its action_id is known. This name is retained for compatibility.
Result
The action state only. Use labrika_action_get for new integrations; the user approves the launch in Labrika.

labrika_connection_info

Show the current connection mode and tools granted to this client.

To add permissions, reconnect and select the new options in Labrika. If labrika_connection_info already returns the tool, refresh the client's tool catalogue.

Example requests

What can this connection access?

Which Labrika tools are connected?

Before the request
Connect Labrika and finish authorization in your chosen AI client.
Result
The connection mode and authorized tools. Knowing a tool's name does not grant permission to call it.

labrika_report_sites_list

Lists the names, domains and site_uuid values of projects selected for this connection. Use site_uuid with the authorized MainReport and SERM tools.

Optional parameters
limit, cursor, serm_only, serm_configured, owned_only, report_type, last_run_after, last_run_before

Use RFC 3339 dates with a time zone. last_run_after includes its boundary. last_run_before excludes its boundary and includes never-run sites when there is no lower bound. report_type defaults to site_audit and also accepts keyword_rankings_refresh. Pass next_cursor with the same filters for the next page.

Set serm_only: true to find sites with an accessible published SERM report. Use site_uuid and report_id to open it. Continue to the next page if has_more is true, even if the current page is empty.

Example requests

Show my Labrika projects.

Which sites can this chat access?

Before the request
Select projects when authorizing the connection. SERM filters require the corresponding permissions.
Result
Names, domains and site_uuid values of accessible projects. Use these IDs for reports; continue pagination when has_more=true, even if a page is empty.

Back to contents

Balance and limits

Tool reference (1)

Start with a short request. Replace example.com with your domain. The assistant will ask for missing details; you do not need to type tool names or identifiers into the chat.

Your client can call the tools authorized for its connection. For a list with has_more set to true, pass the returned next_cursor as cursor with the same filters.

labrika_account_balances_get

Example requests

Show my remaining limits.

How much money is on my balance?

Read the account balance and remaining limits.

account-balances:read

Before use

labrika_connection_info → account-balances:read

How to check the result

Show the amount with the currency returned by the tool. Money, audit limits, ranking limits and AI credits are separate balances; do not add them together or invent a currency.

currency

Back to contents