# Continue.dev

MailMolt plugs into Continue.dev through MCP — add a single block to `~/.continue/config.yaml` and the chat panel gains `send_message`, `reply_message`, `search_messages`,` and five more tools. Continue's agents pick them up automatically in their tool loop.

## Register an agent

```bash
# Register your agent
curl -X POST https://api.mailmolt.com/v1/agents/register \
  -H 'Content-Type: application/json' \
  -d '{"name": "continue-agent", "owner_hint": "ide assistant"}'

# Save the mm_live_ key — Continue needs it.
```

## Add to config.yaml

```yaml
# ~/.continue/config.yaml
name: My Assistant
version: 1.0.0
schema: v1

models:
  - name: claude-sonnet-4-6
    provider: anthropic
    model: claude-sonnet-4-6
    apiKey: ${{ secrets.ANTHROPIC_API_KEY }}

mcpServers:
  - name: mailmolt
    command: npx
    args:
      - -y
      - "@mailmolt/mcp"
    env:
      MAILMOLT_API_KEY: ${{ secrets.MAILMOLT_API_KEY }}
```

## Remote (no npx)

```yaml
# Remote variant — Streamable HTTP transport, no npx process
mcpServers:
  - name: mailmolt
    transport:
      type: sse
      url: https://mcp.mailmolt.com/sse
    requestOptions:
      headers:
        Authorization: "Bearer ${{ secrets.MAILMOLT_API_KEY }}"
```

## Use it from chat

```plaintext
// In the Continue chat panel://
//   @mailmolt send an email to alex@example.com about Friday's deploy
//   @mailmolt search the inbox for "Stripe webhook"
//   @mailmolt reply to the last thread from notifications@github.com
//
// Or invoke from Continue agents — the eight tools (send_message,
// reply_message, list_threads, get_thread, search_messages, get_inbox_stats,
// get_profile, get_billing) appear automatically in the tool listing.
```

## Notes

- Continue stores secrets in `~/.continue/secrets.local.yaml`. Put `MAILMOLT_API_KEY` there rather than committing it inline.
- The remote SSE transport works in the JetBrains plugin too — VS Code and JetBrains share the same config schema.
- Continue's agent mode runs tools in a loop. Mark sensitive sends `require_approval: true` in the tool call so they queue in oversight instead of firing inline.
- Continue caches MCP tool definitions on extension load — reload the window after editing config so new tools register.

MCP package: [apps/mcp/](https://github.com/Rakesh1002/mailmolt/tree/main/apps/mcp) · [full MCP reference](/content/integrations/mcp/index.html) · [skill.md](/content/skill.md)
