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

# Set Digest Subscription

> Subscribe or unsubscribe this person from this MCP's weekly digest. Anyone who can read the MCP may set their own — a member unable to subscribe to a summary of numbers they are allowed to look at would be a permission protecting nothing.



## OpenAPI

````yaml https://api.getmcpulse.com/docs/openapi.json put /v1/mcps/{id}/digest
openapi: 3.1.0
info:
  title: MCPulse API
  version: 1.0.0
  description: >-
    Analytics for MCP servers.


    The API is the product — the dashboard is one client and an MCP server will
    be another. Every number here is computed server-side so that both get the
    same answer.


    **Two kinds of auth.** Ingest uses an MCP API key (`mp_live_…`). Everything
    else uses a Supabase access token from the browser session.
servers:
  - url: https://mcpulse-production.up.railway.app
    description: MCPulse API
security: []
tags:
  - name: ingest
    description: What the customer's server sends
  - name: mcps
    description: MCPs and ownership
  - name: metrics
    description: Everything the dashboard reads
  - name: keys
    description: Ingest API keys
  - name: account
    description: Account, team and usage
paths:
  /v1/mcps/{id}/digest:
    put:
      tags:
        - alerts
      summary: Set Digest Subscription
      description: >-
        Subscribe or unsubscribe this person from this MCP's weekly digest.
        Anyone who can read the MCP may set their own — a member unable to
        subscribe to a summary of numbers they are allowed to look at would be a
        permission protecting nothing.
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: id
          in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                subscribed:
                  type: boolean
                channels:
                  type: array
                  items:
                    type: string
                    enum:
                      - in_app
                      - email
                      - slack
                      - discord
                  minItems: 1
              required:
                - subscribed
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                nullable: true
        '401':
          description: Invalid or missing token
        '404':
          description: Not found, or not yours

````