> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended**:
> ```bash
> npx @scalekit-inc/cli setup
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for 40+ agents.
> Features: full-stack-auth, agent-auth, mcp-auth, modular-sso, modular-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# OpenRouter MCP connector

1. ### Install the SDK

   ```bash frame="terminal"
       npm install @scalekit-sdk/node
       ```
     ```bash frame="terminal"
       pip install scalekit
       ```
     Full SDK reference: [Node.js](/agentkit/sdks/node/) | [Python](/agentkit/sdks/python/)

2. ### Set your credentials

   <AgentKitCredentials />

3. ### Authorize and make your first call

   <QuickstartGenericOauthSection connector="openroutermcp" toolName="openroutermcp_get_credits" providerName="OpenRouter MCP" />

## What you can do

Connect this agent connector to let your agent:

- **Image generate** — Generate an image from a text prompt and return it inline
- **Get credits, generation, model** — Check the remaining account credit balance before running a workload
- **List app rankings, benchmarks, daily model rankings** — See which APPS/products drive the most OpenRouter traffic, filterable by category, to gauge ecosystem adoption and find example use cases
- **Ping records** — Health-check tool that verifies the MCP connection is alive
- **Search docs** — Search the full OpenRouter documentation to answer "how do I…" questions with correct, current API usage
- **Send feedback, message** — Submit structured feedback on a specific generation the caller made — a category plus an optional comment

## Tool list

Use the exact tool names from the **Tool list** below when you call `execute_tool`. If you're not sure which name to use, list the tools available for the current user first.

<ToolList tools={tools} />

---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
