# gala_launchpad_site_config_state_reference

Reference: Access site configuration state from global feed. IMPORTANT: The global feed is a CLIENT-SIDE feature in the SDK. This tool provides documentation. Config access happens in your client code. Site Configuration Events The global feed broadcasts site-wide configuration changes. Track these to know when: - Streaming is globally enabled/disabled - Chat is globally enabled/disabled - Comments are globally enabled/disabled - Webhooks are globally enabled/disabled Accessing Config State launchpad-sdk's StreamWebSocketService delivers the config events and keeps the latest value of each switch: service.getSiteConfigState() returns { chatEnabled, streamingEnabled, commentsEnabled, webhooksEnabled, aiModerationEnabled } (undefined for a switch no event has announced since the feed was joined). The SDK ships no React hooks; in React, read the state in your own component state. typescript import { StreamWebSocketService, getEnvironmentConfig } from '@gala-chain/launchpad-sdk'; const service = new StreamWebSocketService({ url: getEnvironmentConfig('prod').launchpadBaseUrl, }); const unsubscribe = service.subscribeToGlobalFeed({ onSiteConfigChanged: (event) => { console.log('Site config changed:', event.key, event.value); }, onStreamGlobalStatus: (data) => { console.log('Stream status changed:', data.enabled); }, onStreamChatGlobalStatus: (data) => { console.log('Chat status changed:', data.enabled); }, onCommentsGlobalStatus: (data) => { console.log('Comments status changed:', data.enabled); }, onWebhooksGlobalStatus: (data) => { console.log('Webhooks status changed:', data.enabled); }, }); Event Payloads (launchpad-sdk types) typescript interface SiteConfigChangedEvent { // onSiteConfigChanged key: string; value: boolean | string; timestamp?: number; } interface FeatureGlobalStatusEvent { // onStreamGlobalStatus, onStreamChatGlobalStatus, ... enabled: boolean; timestamp?: number; } Events - site_config_changed: Generic config change (includes all flags) - stream_global_status: Streaming enabled/disabled globally - chat_global_status: Chat enabled/disabled globally - comments_global_status: Comments enabled/disabled globally - webhooks_global_status: Webhooks enabled/disabled globally Use Cases 1. Disable UI features: If streaming is disabled, don't show stream controls 2. Show status messages: Inform users when features are globally unavailable 3. Enable/disable monitoring: Only set up detailed monitoring if features are enabled 4. Real-time notifications: Notify users when features become available/unavailable Documentation In the launchpad-sdk source tree (not in the npm package): - Quick Start (5 min): docs/websocket/QUICKSTART.md - Complete Guide: docs/websocket/GLOBAL-FEED.md - Examples: examples/site-config-demo.ts Authentication: None required (public endpoint)

Agent View of the PolicyLayer registry record for `gala_launchpad_site_config_state_reference`. HTML page: https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-site-config-state-reference

## Facts

- Tool: `gala_launchpad_site_config_state_reference`
- Server: Gala (`@gala-chain/gala-mcp-server`) — https://policylayer.com/tools/gala-chain-gala-mcp-server.md
- Install: `npx -y @gala-chain/gala-mcp-server`
- Homepage: https://www.npmjs.com/package/@gala-chain/gala-mcp-server
- Risk category: Execute (High risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "gala_launchpad_site_config_state_reference",
    "arguments": {}
  }
}
```

## Why gala_launchpad_site_config_state_reference is rated High

gala_launchpad_site_config_state_reference triggers real processes with real consequences. An agent gone sideways doesn't fire it once. It starts dozens of builds, sends mass notifications, or burns through compute before anyone looks up.

## Use case

AI agents invoke gala_launchpad_site_config_state_reference to trigger actions in Gala. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Gala:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "gala_launchpad_site_config_state_reference": {
      "limits": [
        {
          "counter": "gala_launchpad_site_config_state_reference_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Gala (323)

- `gala_launchpad_action_flag` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-action-flag.md
- `gala_launchpad_burn_tokens` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-burn-tokens.md
- `gala_launchpad_clear_cache` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-clear-cache.md
- `gala_launchpad_delete_chat_message` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-delete-chat-message.md
- `gala_launchpad_delete_comment` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-delete-comment.md
- `gala_launchpad_delete_message` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-delete-message.md
- `gala_launchpad_delete_recording` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-delete-recording.md
- `gala_launchpad_estimate_remove_liquidity` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-estimate-remove-liquidity.md
- `gala_launchpad_fetch_bridgeable_tokens_by_network` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-fetch-bridgeable-tokens-by-network.md
- `gala_launchpad_fetch_wrappable_tokens` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-fetch-wrappable-tokens.md
- `gala_launchpad_logout` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-logout.md
- `gala_launchpad_remove_ban` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-remove-ban.md
- `gala_launchpad_remove_content_reaction` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-remove-content-reaction.md
- `gala_launchpad_remove_liquidity` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-remove-liquidity.md
- `gala_launchpad_remove_reaction_from_chat_message` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-remove-reaction-from-chat-message.md
- `gala_launchpad_remove_reaction_from_comment` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-remove-reaction-from-comment.md
- `gala_launchpad_remove_simulcast_target` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-remove-simulcast-target.md
- `gala_launchpad_reset_stream_key` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-reset-stream-key.md
- `gala_launchpad_revoke_api_key` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-revoke-api-key.md
- `gala_launchpad_revoke_moderator_invite` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-revoke-moderator-invite.md
- `gala_launchpad_revoke_overseer` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-revoke-overseer.md
- `gala_launchpad_revoke_overseer_invite` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-revoke-overseer-invite.md
- `gala_launchpad_unban_token` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-unban-token.md
- `gala_launchpad_unsubscribe_from_global_feed_reference` — Destructive — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-unsubscribe-from-global-feed-reference.md
- `gala_launchpad_buy` — Execute — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-buy.md
- `gala_launchpad_emit_stream_countdown` — Execute — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-emit-stream-countdown.md
- `gala_launchpad_execute_swap` — Execute — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-execute-swap.md
- `gala_launchpad_global_feed_reference` — Execute — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-global-feed-reference.md
- `gala_launchpad_launch_token` — Execute — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-launch-token.md
- `gala_launchpad_sell` — Execute — https://policylayer.com/tools/gala-chain-gala-mcp-server/gala-launchpad-sell.md
- …and 293 more: https://policylayer.com/tools/gala-chain-gala-mcp-server.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=gala-chain-gala-mcp-server · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/gala-chain-gala-mcp-server
