#!/usr/bin/env python3
"""
Basic usage example for Falcon MCP Server.
This script demonstrates how to initialize and run the Falcon MCP server.
"""
import os
from dotenv import load_dotenv
from falcon_mcp.server import FalconMCPServer
def main():
"""Run the Falcon MCP server with default settings."""
# Load environment variables from .env file
load_dotenv()
# Create and run the server with stdio transport
server = FalconMCPServer(
# You can override the base URL if needed
# base_url="https://api.us-2.crowdstrike.com",
debug=os.environ.get("DEBUG", "").lower() == "true",
)
# Run the server with stdio transport (default)
server.run()
if __name__ == "__main__":
main()
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/CrowdStrike/falcon-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server