fless-mcp 1.4.1 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +23 -15
  2. package/index.js +11 -1
  3. package/package.json +5 -2
package/README.md CHANGED
@@ -25,24 +25,32 @@ Licensed realtors with a Fless for Realtors account ($49.99/mo flat, 15-day free
25
25
 
26
26
  ## Where we operate
27
27
 
28
- Fless currently runs apartment hunts in **Florida / Maryland / Virginia**.
29
- The authoritative live list is the fless-apartment-hunt skill's CITIES.md,
30
- auto-generated from the production API.
28
+ <!-- city-coverage:start -->
29
+
30
+ Fless currently runs apartment hunts in **Florida / Georgia / Maryland / Virginia**.
31
+ The authoritative live list is the fless-apartment-hunt skill's CITIES.md, auto-generated from
32
+ the production API.
31
33
 
32
34
  | ✅ Live now | 🚧 Coming soon |
33
35
  |---|---|
34
- | Miami, FL | Washington, DC |
35
- | Naples, FL | Rockville, MD |
36
+ | Alexandria, VA | Rockville, MD |
36
37
  | Annapolis, MD | Silver Spring, MD |
37
- | Baltimore, MD | Virginia Beach, VA |
38
- | Frederick, MD | |
39
- | Alexandria, VA | |
40
- | Arlington, VA | |
41
- | Charlottesville, VA | |
42
- | Chesapeake, VA | |
43
- | Hampton, VA | |
44
- | Richmond, VA | |
45
- | Leesburg, VA | |
38
+ | Arlington, VA | Virginia Beach, VA |
39
+ | Atlanta, GA | Washington, DC |
40
+ | Baltimore, MD | |
41
+ | Charlottesville, VA | |
42
+ | Chesapeake, VA | |
43
+ | Frederick, MD | |
44
+ | Hampton, VA | |
45
+ | Jacksonville, FL | |
46
+ | Leesburg, VA | |
47
+ | Miami, FL | |
48
+ | Naples, FL | |
49
+ | Orlando, FL | |
50
+ | Richmond, VA | |
51
+ | Tampa, FL | |
52
+
53
+ <!-- city-coverage:end -->
46
54
 
47
55
  **Your city not listed?** We're expanding. Check back, or join the waitlist at
48
56
  [fless.io](https://fless.io). Agents: always call `search_cities` first.
@@ -84,7 +92,7 @@ See per-assistant setup guides (Claude, ChatGPT, Perplexity, Grok, Mistral Vibe,
84
92
  | Variable | Default | Purpose |
85
93
  |---|---|---|
86
94
  | `FLESS_MCP_URL` | `https://mcp.fless.io/mcp` | Remote server (fallback: `https://www.fless.io/mcp`) |
87
- | `FLESS_MCP_UA` | `fless-mcp-npm/1.3.0 (+https://fless.io/ai-agents)` | User-Agent |
95
+ | `FLESS_MCP_UA` | `fless-mcp-npm/<package version> (+https://fless.io/ai-agents)` | User-Agent |
88
96
 
89
97
  ## The skill (recommended companion)
90
98
 
package/index.js CHANGED
@@ -7,9 +7,19 @@
7
7
  import { createInterface } from 'node:readline';
8
8
  import { request } from 'node:https';
9
9
  import { request as httpRequest } from 'node:http';
10
+ import { readFileSync } from 'node:fs';
10
11
 
11
12
  const REMOTE = process.env.FLESS_MCP_URL || 'https://mcp.fless.io/mcp';
12
- const UA = process.env.FLESS_MCP_UA || 'fless-mcp-npm/1.3.0 (+https://fless.io/ai-agents)';
13
+ // UA version is single-sourced from package.json so it can never drift
14
+ // from the published version again (was hardcoded 1.3.0 at 1.4.1).
15
+ const PkgVersion = (() => {
16
+ try {
17
+ return JSON.parse(readFileSync(new URL('./package.json', import.meta.url), 'utf8')).version || 'dev';
18
+ } catch {
19
+ return 'dev';
20
+ }
21
+ })();
22
+ const UA = process.env.FLESS_MCP_UA || `fless-mcp-npm/${PkgVersion} (+https://fless.io/ai-agents)`;
13
23
 
14
24
  let inflight = 0;
15
25
  let stdinClosed = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fless-mcp",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "Fless apartment-hunting MCP server: research cities, neighborhoods, rents, and build pre-filled hunt links. Stdio proxy to https://mcp.fless.io/mcp.",
5
5
  "main": "./index.js",
6
6
  "type": "module",
@@ -10,11 +10,14 @@
10
10
  "keywords": [
11
11
  "mcp",
12
12
  "apartment",
13
+ "apartments",
13
14
  "hunting",
14
15
  "rental",
15
16
  "ai",
16
17
  "agent",
17
- "llm"
18
+ "llm",
19
+ "florida",
20
+ "georgia"
18
21
  ],
19
22
  "license": "MIT",
20
23
  "homepage": "https://fless.io/ai-agents",