@launchdarkly/mcp-server
Version:
The local [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server for [LaunchDarkly](https://launchdarkly.com/) federal and European Union (EU) environments.
27 lines (20 loc) • 597 B
text/typescript
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import dotenv from "dotenv";
dotenv.config();
/**
* Example usage of the @launchdarkly/mcp-server SDK
*
* To run this example from the examples directory:
* npm run build && npx tsx auditLogListEntries.example.ts
*/
import { LaunchDarkly } from "@launchdarkly/mcp-server";
const launchDarkly = new LaunchDarkly({
apiKey: process.env["LAUNCHDARKLY_API_KEY"] ?? "",
});
async function main() {
const result = await launchDarkly.auditLog.listEntries({});
console.log(result);
}
main().catch(console.error);