Skip to main content
Glama

GenAIScript

Official
by microsoft
MIT License
43
2,820
  • Linux
  • Apple
proposals.ts619 B
import * as vscode from "vscode" import { ExtensionContext } from "vscode" export function isApiProposalEnabled( context: ExtensionContext, proposal: string, extensionId?: string ) { // declared in package.json? const packageJSON: { enabledApiProposals?: string } = context.extension.packageJSON if ( !vscode.env.appName.includes("Insiders") || !packageJSON.enabledApiProposals?.includes(proposal) ) return false // test if extension is loaded if (extensionId && !vscode.extensions.getExtension(extensionId)) return false return true }

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/microsoft/genaiscript'

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