Skip to content

Use this page to find authentication requirements and connection instructions for the Aembit MCP Server.

Before connecting any client, ensure you have:

  • Feature enabled: Your Aembit administrator must enable the MCP Server for your Aembit Tenant: Aembit Tenants serve as isolated, dedicated environments within Aembit that provide complete separation of administrative domains and security configurations.Learn more. If the feature isn’t enabled, you receive a 403 error when attempting to connect.
  • API Token: Generate or retrieve your API Token from the Aembit Admin UI:
    1. Log in to the Aembit Admin UI.
    2. Navigate to your Profile page.
    3. Generate or copy your API Token.
  • MCP Service URL: Find your MCP Service URL in the Aembit Admin UI Profile screen.

Your MCP Service URL follows this pattern:

Terminal window
https://<tenantId>.mcp.useast2.aembit.io/mcp

Replace <tenantId> with your tenant identifier (visible in your Admin UI Profile screen).

All connections require a Bearer token in the Authorization header:

Terminal window
Authorization: Bearer <apiToken>

Resource set scoping Optional

Section titled “Resource set scoping ”

By default, queries use your default resource set. To scope queries to a different resource set, include:

Terminal window
X-Aembit-ResourceSet: <resourceSetId>

Resource sets provide separation of concerns, allowing you to segment event data access by team, environment, or project. Learn more about Resource Sets.

Select your AI tool to get connection instructions:

The following sections help resolve common connection, authentication, and query issues:

Server not detected or not appearing:

  • Verify your configuration file exists in the correct location.
  • Check that the JSON syntax is valid (no trailing commas, proper quotes).
  • Restart your IDE or application fully.

Connection timeout:

  • Verify your endpoint URL matches the format shown in your Admin UI Profile screen.
  • Check that the transport type is correct for your client (Streamable HTTP for MCP Inspector).

403 Forbidden error:

  • Your administrator hasn’t enabled the MCP Server for your tenant.
  • Your API token is invalid or expired.
  • Generate a new token from the Aembit Admin UI Profile page.

Permission denied:

  • Confirm your API token is correct and hasn’t expired.
  • Verify that you have enabled the MCP Server feature for your tenant. Contact your Aembit administrator if needed.

No data returned or empty results:

  • Adjust your filter parameters (try a broader time range).
  • Verify you’re querying the correct resource set.
  • Check that the resource set contains data for the period.

“Tool not found” errors:

  • You may need to enable the MCP Server for your Aembit Tenant.
  • Contact your Aembit administrator to verify feature enablement.

For example prompts and prompt engineering best practices, see the Prompt Library.