Skip to main content
Glama
queries.ts1.18 kB
// GraphQL queries export const SEARCH_PROMPTS_QUERY = ` query SearchPrompts($nextToken: String, $tags: [String]) { searchPrompts(tags: $tags, nextToken: $nextToken) { results { createdAt description id name slug tags updatedAt } nextToken } } `; export const GET_PROMPT_BY_NAME = ` query GetPromptByName($name: String!) { listByName(name: $name) { items { name description instruction tags howto author { displayName } } } } `; export const SEARCH_RULES = ` query SearchRules($nextToken: String, $tags: [String]) { searchProjectRules(nextToken: $nextToken, tags: $tags) { results { createdAt description id name slug tags updatedAt } nextToken } } `; export const GET_RULE_BY_NAME = ` query GetRuleByName($name: String!) { listRuleByName(name: $name) { items { name description content tags author { displayName } } } } `;

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/cremich/promptz-mcp'

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