From 18b6096577ae3ea6c6452f367d266eea02d72d4e Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Thu, 15 May 2025 09:18:01 -0700 Subject: [PATCH 1/3] Add Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index e92eea7..cc391dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config FROM node:22-alpine WORKDIR /app From 49bb6e4c150cc4a97b1a0c0c154f3be5c74a0653 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Thu, 15 May 2025 09:18:02 -0700 Subject: [PATCH 2/3] Add Smithery configuration --- smithery.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 smithery.yaml diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..711d023 --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,40 @@ +# Smithery configuration file: https://smithery.ai/docs/build/project-config + +startCommand: + type: stdio + configSchema: + # JSON Schema defining the configuration options for the MCP. + type: object + required: + - apiKey + properties: + apiKey: + type: string + description: Your Local Falcon API key + protocol: + type: string + default: stdio + description: Protocol to use (stdio or sse) + isPro: + type: boolean + default: false + description: Enable pro mode for SSE (requires protocol=sse) + commandFunction: + # A JS function that produces the CLI command based on the given config to start the MCP on stdio. + |- + (config) => { + const args = ["dist/index.js"]; + if (config.protocol === "sse") { + let url = `https://mcp.localfalcon.com/sse?local_falcon_api_key=${config.apiKey}`; + if (config.isPro) { + url += `&is_pro=true`; + } + return {command: "npx", args: ["mcp-remote", url]}; + } + // stdio + return {command: "node", args}; + } + exampleConfig: + apiKey: YOUR_LOCALFALCON_API_KEY + protocol: stdio + isPro: false From 8a296867214a3cb5e9e2b85ebe25bda034b1cc60 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Thu, 15 May 2025 09:18:03 -0700 Subject: [PATCH 3/3] Update README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 979fbf5..cbd95f8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Local Falcon MCP Server +[![smithery badge](https://smithery.ai/badge/@local-falcon/mcp)](https://smithery.ai/server/@local-falcon/mcp) + An MCP (Model Context Protocol) server for the [Local Falcon API](https://www.localfalcon.com/), implemented in TypeScript, using the official MCP SDK. This server exposes Local Falcon reporting capabilities as MCP tools, enabling integration with agentic AI systems and workflows. ---