# Cowliss for agents

Your coding agent reads the docs as markdown and writes, tests and pushes automations the way you would. The cow CLI and the local cow mcp do everything the dashboard does; the hosted MCP server carries the everyday tools.

MCP server: https://api.cowliss.com/mcp

## Start with one prompt

Paste it into your coding agent in your app's repo.

```text
Add Cowliss to this app. Read https://docs.cowliss.com/llms.txt first, then
https://docs.cowliss.com/sdk/index.md.

1. Install @cowliss/sdk and create one Cow client, reading the API key from
   COW_KEY and the source id from COW_SOURCE_ID, with an onError that logs.
2. Call cow.identify when a user signs up or signs in, with their userId as the
   identifier and their email as a trait.
3. Call cow.track for the events this app already records (sign-up, purchase,
   and the like). Keep the event names this app already uses.
4. Send transactional email (receipts, password resets) with cow.emails.send
   instead of the current mail provider, from an address on the organization's verified domain.

Do not await tracking calls on the request path.
```

## Connect your client

### Claude Code

Run in your terminal, then /mcp in Claude Code to sign in.

```sh
claude mcp add --transport http cow https://api.cowliss.com/mcp
```

### Cursor

Add to .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project.

```json
{
  "mcpServers": {
    "cow": {
      "url": "https://api.cowliss.com/mcp"
    }
  }
}
```

### Codex

Run in your terminal. The second line signs you in.

```sh
codex mcp add cow --url https://api.cowliss.com/mcp
codex mcp login cow
```

### OpenCode

Add to opencode.json in the project, then run opencode mcp auth cow to sign in.

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "cow": {
      "type": "remote",
      "url": "https://api.cowliss.com/mcp"
    }
  }
}
```

### Local (cow mcp)

Add to any client's MCP config to run the server on your machine with every tool, signed in through cow login.

```json
{
  "mcpServers": {
    "cow": {
      "command": "npx",
      "args": [
        "-y",
        "@cowliss/cli",
        "mcp"
      ]
    }
  }
}
```

- **Claude.ai**: Settings > Connectors > Add custom connector, paste the URL.
- **Other clients**: Wherever the client takes a remote MCP server URL. No command, no token to paste.

## Docs your agent can read

- Every docs page is also markdown: append `index.md` to its URL. The site map is https://docs.cowliss.com/llms.txt.
- Agents guide: https://docs.cowliss.com/guides/agents/
- Cowliss skill: https://docs.cowliss.com/skills/cowliss/SKILL.md. Install it in your repo with one line:

```sh
curl --create-dirs -o .claude/skills/cowliss/SKILL.md https://docs.cowliss.com/skills/cowliss/SKILL.md
```
