#!/bin/bash
# This script starts the GraphQL MCP server
# Display startup message
echo "Starting GraphQL MCP server for Claude Desktop..." >&2
# Set environment variables
export GRAPHQL_API_ENDPOINT="https://countries.trevorblades.com/graphql" # Replace with your actual endpoint
export GRAPHQL_API_KEY=""
export DEBUG="true"
# Compile TypeScript
echo "Compiling TypeScript..." >&2
npx tsc
# Start the server
node dist/graphql-mcp-server.js
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/ctkadvisors/graphql-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server