**Site navigation:**
- [Home](/index.md)
- **Use Cases**
  - [Fleet Health Monitoring](/use-cases/fleet-health-monitoring.md)
  - [OTA Firmware Updates](/use-cases/ota-firmware-updates.md)
  - [Firmware Vulnerability Management](/use-cases/firmware-vulnerability-management.md)
  - [Remote Diagnostics](/use-cases/remote-diagnostics.md)
  - [Product Analytics](/use-cases/product-analytics.md)
  - [Cyber Resilience Act](/use-cases/cyber-resilience-act.md)
- [For Agents](/agent-setup.md)
- [Pricing](/pricing.md)
- [Docs](https://docs.spotflow.io/)
- [Blog](/blog)
- [About Us](/about-us.md)

---

# Spotflow Agent Setup

Bring device logs, metrics, and crash data into the agent you already use. Connect it to Spotflow through the Model Context Protocol (MCP) to investigate issues and work with your fleet.

## Start with one prompt

Copy this into a coding agent that can fetch web pages and connect to remote MCP servers:

```text
Set up Spotflow for me. Fetch https://spotflow.io/agent-setup/prompt.md and follow the instructions appropriate for my project.
```

[Read the setup instructions](https://spotflow.io/agent-setup/prompt.md). Your agent follows the path appropriate to your project; you authorize the connection and approve changes.

## Connect the MCP server

- **MCP server URL:** `https://api.spotflow.io/mcp`
- **Authentication:** OAuth or a user/workspace API key. Required for all MCP requests.

### OAuth

In a client supporting remote MCP OAuth, add the server URL and follow the browser sign-in flow. Select the workspaces and permissions your agent may use. You do not need to paste a key into the conversation.

### API key

Create a scoped user or workspace API key and configure your client to send `Authorization: Bearer <SPOTFLOW_API_KEY>`. Store the credential in the client's secret storage, never in a prompt or committed file. A device ingest key cannot authenticate MCP.

[How to create an API key](https://docs.spotflow.io/api-reference#authentication).

## Use cases

### Integrate your firmware

Find platform-specific SDK documentation, propose project changes, and verify telemetry.

> Integrate Spotflow into this firmware project. Identify the platform, follow the relevant docs, and edit the project to collect logs and built-in metrics. Identify useful custom metrics for this application and instrument them too. Build and test the changes, and explain how to verify that telemetry reaches Spotflow.

### Investigate a crash

Connect field logs to captured stack frames, registers, and variables alongside your source code.

> Investigate the latest crash in my Spotflow workspace. Inspect the logs and available core dump analysis, relate the evidence to this codebase, and suggest a fix.

### Find firmware regressions

Compare available metrics and crash evidence across firmware versions.

> Compare crashes and available reliability metrics for the two latest firmware versions in my Spotflow workspace over the last seven days. Identify regressions and affected devices, and show the supporting queries and any gaps in the data.

### Summarize fleet health

Get an engineering summary of reliability trends, recurring errors, and the next steps that matter most.

> Summarize the last seven days in my Spotflow workspace. Highlight reliability trends, recurring errors, affected devices, and changes worth investigating. Give me a short engineering summary with the most important next steps.

### Build dashboards

Discover metrics and prepare dashboards for your approval.

> Find the metrics available in my Spotflow workspace and propose a fleet-health dashboard.

### Triage vulnerabilities

Explore SBOMs and findings to identify affected firmware versions and devices.

> Review the vulnerability findings in my Spotflow workspace. Identify affected firmware versions and devices, summarize the evidence, and propose a triage plan without changing any findings.

Examples depend on your integration, available telemetry, and permissions. Review the agent's conclusions and proposed changes.

[Create a Spotflow account](https://app.spotflow.io/signup) to get started for free.

---

## Spotflow

**Socials & Contact**
- [hello@spotflow.io](mailto:hello@spotflow.io)
- [Discord Community](https://discord.gg/yw8rAvGZBx)
- [LinkedIn](https://www.linkedin.com/company/spotflow/)
- [Contact us](mailto:hello@spotflow.io)
- [Security](https://github.com/spotflow-io/security)

**Product**
- [Documentation](https://docs.spotflow.io/)
- [For Agents](/agent-setup.md)
- [Roadmap](https://roadmap.spotflow.io/roadmap)
- [Changelog](https://roadmap.spotflow.io/changelog)
- [Status Page](https://status.spotflow.io/)

**Compare**
- [vs Memfault](/memfault-alternative.md)

**Legal**
- [Terms of Use](/terms-of-use)
- [Privacy Policy](/privacy-policy)

