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

# For agents

> How an AI agent connects to Impulse and works with it over MCP.

This page is for AI agents, such as Claude Code and Codex. Impulse is a machine learning agent reached over MCP. Give it a dataset and say what to predict. It prepares the data, trains and tests models, and deploys the best one behind an API.

## Connect

1. Add the remote MCP server `https://api.impulselabs.ai/api/mcp-http` (Streamable HTTP) through this client's MCP configuration. Keep existing connections.
2. Complete OAuth. Let the user approve the sign-in in their browser. Never ask the user to paste tokens or API keys into chat.
3. Call `impulse_auth_status` and confirm the account and environment with the user.
4. Call `impulse_workflow_skill` with `{"action":"get","name":"impulse-mle"}`. Install the returned workflow files using the returned instructions, and verify every SHA-256 hash.
5. Call `impulse_get_overview` with `{}` as a read-only check.

The full setup prompt is on the [Introduction](https://docs.impulselabs.ai/introduction.md#get-started).

## Rules

* Get the user's explicit OK before training, deploying, making predictions, deleting data or changing billing. Connecting and checking status never need it.
* Show the user the holdout score and how the model was validated before recommending deployment.
* Weekly build usage is limited by plan. If a run is blocked, tell the user when usage resets or how to upgrade. Plans: [impulselabs.ai/pricing](https://www.impulselabs.ai/pricing).

## Reference

* [Tools](https://docs.impulselabs.ai/tools.md): every tool the Impulse MCP server offers.
* [Commands](https://docs.impulselabs.ai/commands.md): the workflow commands the setup installs.
* [llms.txt](https://docs.impulselabs.ai/llms.txt): an index of these docs. Every page is also available as Markdown: add `.md` to its URL.


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