Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config
FROM node:22-alpine

WORKDIR /app
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

---
Expand Down
40 changes: 40 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -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