Skip to content

CLI Commands

Run the server with default settings (stdio transport):

Terminal window
falcon-mcp

Run with SSE transport:

Terminal window
falcon-mcp --transport sse

Run with streamable-http transport:

Terminal window
falcon-mcp --transport streamable-http

Run with streamable-http on a custom port:

Terminal window
falcon-mcp --transport streamable-http --host 0.0.0.0 --port 8080

Run with stateless HTTP mode (for scalable deployments like AWS AgentCore):

Terminal window
falcon-mcp --transport streamable-http --stateless-http

Run with API key authentication:

Terminal window
falcon-mcp --transport streamable-http --api-key your-secret-key

Enable specific modules by name (comma-separated):

Terminal window
falcon-mcp --modules detections,incidents,intel,spotlight,idp

Enable only one module:

Terminal window
falcon-mcp --modules detections

If no --modules flag is provided, all available modules are enabled.

falcon-mcp --help
FlagEnv VariableDefaultDescription
--transportFALCON_MCP_TRANSPORTstdioTransport method: stdio, sse, streamable-http
--hostFALCON_MCP_HOST127.0.0.1Host for HTTP transports
--portFALCON_MCP_PORT8000Port for HTTP transports
--modulesFALCON_MCP_MODULESallComma-separated list of modules to enable
--debugFALCON_MCP_DEBUGfalseEnable debug logging
--api-keyFALCON_MCP_API_KEYAPI key for HTTP transport auth
--stateless-httpFALCON_MCP_STATELESS_HTTPfalseStateless mode for scalable deployments
--member-cidFALCON_MEMBER_CIDFlight Control child CID

You can also embed the server directly in Python:

from falcon_mcp.server import FalconMCPServer
server = FalconMCPServer(
base_url="https://api.us-2.crowdstrike.com", # Optional
debug=True,
enabled_modules=["detections", "incidents", "spotlight"],
api_key="your-api-key"
)
# Run with stdio transport (default)
server.run()
# Or with a specific transport
server.run("streamable-http")

For enterprise deployments using secret management systems (HashiCorp Vault, AWS Secrets Manager, etc.), you can pass credentials directly:

server = FalconMCPServer(
client_id="your-client-id",
client_secret="your-client-secret",
base_url="https://api.us-2.crowdstrike.com",
enabled_modules=["detections", "incidents"]
)
server.run()

When both direct parameters and environment variables are available, direct parameters take precedence.