Skip to main content
Glama
dadof3bytes

Pinterest Ads MCP

by dadof3bytes

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_AUTH_TOKENNo16+ char Bearer token for /api/mcp. Recommended. Open MCP on public URLs if missing.
PINTEREST_APP_IDYesDeveloper app ID. Cannot start OAuth or call API if missing.
OAUTH_STATE_SECRETYes16+ char HMAC secret for login CSRF. /connect shows error if missing.
NEXT_PUBLIC_APP_URLNoBase URL of this app (e.g. http://localhost:3000). Wrong redirect targets in some flows if missing.
DRAFT_SIGNING_SECRETNoSigns write 'draft' tokens (defaults to TOKEN_ENCRYPTION_KEY). Optional. Write previews fail if neither is set.
PINTEREST_APP_SECRETYesDeveloper app secret. Token exchange fails if missing.
TOKEN_ENCRYPTION_KEYYes32+ char secret; encrypts refresh token on disk. Cannot save or read OAuth file if missing.
PINTEREST_USE_SANDBOXYestrue / false — picks sandbox vs production API host. Default in .env.example is sandbox (true).true
PINTEREST_REDIRECT_URIYesMust match Pinterest app setting. Redirect or token exchange errors if wrong.
PINTEREST_AD_ACCOUNT_IDYesSingle ad account for this deployment. Tools error on account resolution if missing.
PINTEREST_REFRESH_TOKENNoPlain refresh token in env. Optional dev. Bypasses .data/oauth.json; dev-only risk.
PINTEREST_REFRESH_TOKEN_ENCRYPTEDNoEncrypted token blob + TOKEN_ENCRYPTION_KEY. Optional cloud. Used instead of file store.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources