Skip to main content
Glama
reflagcom

Bucket Feature Flags MCP Server

Official
by reflagcom
ReflagClientProvider.vue625 B
<script setup lang="ts"> import { provide, ref } from "vue"; import { ProviderSymbol, useOnEvent } from "./hooks"; import { ReflagClientProviderProps } from "./types"; const { client, initialLoading = true } = defineProps<ReflagClientProviderProps>(); const isLoading = ref( client.getState() !== "initialized" ? initialLoading : false, ); useOnEvent( "stateUpdated", (state) => { isLoading.value = state === "initializing"; }, client, ); provide(ProviderSymbol, { isLoading, client, }); </script> <template> <slot v-if="isLoading && $slots.loading" name="loading" /> <slot v-else /> </template>

Latest Blog Posts

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/reflagcom/bucket-javascript-sdk'

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