Skip to main content
Glama

SCP Local MCP Server

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SCP_TEST_ENDPOINTNoEndpoint to use for testing with a development server. This bypasses DNS discovery and directs all requests to your local test server.

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
scp-usage-guideHow to use Shopper Context Protocol (SCP) tools

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
scp_authorize

BEFORE USING THIS ENSURE THE DOMAIN SUPPORTS SCP BY CALLING scp_discover FIRST. Authorize access to a merchant's customer context via SCP. Must be called before accessing any customer data. IMPORTANT: You must ask the user for their REAL email address - never use placeholder emails like user@example.com. Ask: "What email address do you use with [Merchant]?" and wait for their response.

scp_check_authorization

Check if authorized with a merchant domain

scp_revoke_authorization

Revoke authorization with a merchant domain

scp_discover

Discover SCP endpoint for a merchant domain via DNS

scp_get_orders

Get order history from a merchant. Domain must be authorized first.

scp_get_loyalty

Get loyalty status and points from a merchant. Domain must be authorized first.

scp_get_offers

Get active personalized offers from a merchant. Domain must be authorized first.

scp_get_preferences

Get saved customer preferences (sizes, styles, addresses) from a merchant. Domain must be authorized first.

scp_get_intents

Get shopping intents from a merchant. Domain must be authorized first.

scp_create_intent

Create a new shopping intent with a merchant. Domain must be authorized with intent:create scope.

scp_update_intent

Update an existing shopping intent. Domain must be authorized with intent:write scope.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shopper-context-protocol/scp-mcp-wrapper'

If you have feedback or need assistance with the MCP directory API, please join our Discord server