# @launchdarkly/mcp-server Examples
This directory contains example scripts demonstrating how to use the @launchdarkly/mcp-server SDK.
## Prerequisites
- Node.js (v18 or higher)
- npm
## Setup
1. Copy `.env.template` to `.env`:
```bash
cp .env.template .env
```
2. Edit `.env` and add your actual credentials (API keys, tokens, etc.)
## Running the Examples
To run an example file from the examples directory:
```bash
npm run build && npx tsx example.ts
```
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/launchdarkly/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server