> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keenable.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Keenable search and fetch work without an API key. To add them to code, use the official SDK for the project's language: https://docs.keenable.ai/sdks.md
> Read an API key from the KEENABLE_API_KEY environment variable. Never ask a user to paste a key into chat; send them to https://docs.keenable.ai/api-keys.md
> On 402 with an API key (code insufficient_credits), stop and ask a human to add credits; don't retry. On 429, wait the number of seconds in Retry-After, then retry.
> Every error, with its cause and fix: https://docs.keenable.ai/errors.md

# Scalekit

> Keenable MCP as a built-in connector in Scalekit AgentKit: each of your users signs in to Keenable once, and your agent calls search and fetch through Scalekit.

*Connector in Scalekit AgentKit*

Let each of your users connect their own Keenable account to your agent through [Scalekit AgentKit](https://www.scalekit.com). Its **Keenable MCP** connector (`keenablemcp`) routes your agent's tool calls to Keenable's MCP server. Each user signs in to Keenable once, and Scalekit stores and refreshes their tokens, so your agent never handles a Keenable key.

→ [Keenable MCP connector in the Scalekit docs](https://docs.scalekit.com/agentkit/connectors/keenablemcp/)

## Tools

| Tool | What it does |
| - | - |
| `keenablemcp_search_web_pages` | Ranked web results with each page's text, optionally limited to one site or a publication date range. |
| `keenablemcp_fetch_page_content` | Any URL as clean markdown. |

## Set it up

**1. Create the connection**

In the Scalekit dashboard, open **AgentKit → Connections** and add **Keenable MCP**. Follow the [connector guide](https://docs.scalekit.com/agentkit/connectors/keenablemcp/) for the connection settings.

**2. Let a user sign in**

Generate an authorization link for the user and send them to it. They sign in to Keenable and allow access.

**3. Call the tools**

Call a tool for that user from your agent. This example runs a search:

```typescript theme={"system"}
import { ScalekitClient } from '@scalekit-sdk/node'

const scalekit = new ScalekitClient(
  process.env.SCALEKIT_ENVIRONMENT_URL!,
  process.env.SCALEKIT_CLIENT_ID!,
  process.env.SCALEKIT_CLIENT_SECRET!,
)

const result = await scalekit.actions.executeTool({
  connector: 'keenablemcp',
  identifier: 'user_123',
  toolName: 'keenablemcp_search_web_pages',
  toolInput: { query: 'latest Model Context Protocol release' },
})
```

Searches run on each user's own Keenable account. They count against that user's organization's [rate limits](https://docs.keenable.ai/rate-limits.md) and free monthly allowance in [credits](https://docs.keenable.ai/credits.md).

Scalekit's Python SDK works the same way. See the connector guide.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.