@pipeworx/mcp-luma 0.0.0-stage → 0.1.1
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.
- package/LICENSE +21 -0
- package/README.md +167 -2
- package/bin/cli.js +17 -0
- package/package.json +30 -4
- package/server.json +18 -0
- package/src/index.ts +1387 -0
- package/src/server.ts +48 -0
- package/tsconfig.json +18 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Mojibake Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,168 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @pipeworx/luma
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Public event discovery from Luma (lu.ma): curated city feeds, one event's
|
|
4
|
+
full detail, and an organizer's public calendar — the same data a browser
|
|
5
|
+
sees on lu.ma/discover and on each event's own public page.
|
|
6
|
+
|
|
7
|
+
Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 1882+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
|
|
8
|
+
|
|
9
|
+
## Tools
|
|
10
|
+
|
|
11
|
+
- `luma_places(query?, limit?)` — list Luma's curated discover cities, with
|
|
12
|
+
place_id, coordinates, timezone and live event_count. Use to find a
|
|
13
|
+
place_id for `luma_events`, or just pass a city name directly.
|
|
14
|
+
- `luma_events(city? | place_id?, query?, limit?, cursor?)` — list public
|
|
15
|
+
upcoming events for a discover city. Pass a city name (resolved for you
|
|
16
|
+
against `luma_places`) or a `place_id`. An optional keyword filters on
|
|
17
|
+
event name/venue/organizer, matched client-side.
|
|
18
|
+
- `luma_event(event_id)` — full public detail for one event: description,
|
|
19
|
+
timing, venue, categories, ticket types, FAQs, hosts and calendar.
|
|
20
|
+
- `luma_calendar_events(calendar_id, limit?, cursor?)` — public upcoming
|
|
21
|
+
events on an organizer's calendar page (a company's or community's event
|
|
22
|
+
series).
|
|
23
|
+
|
|
24
|
+
None of these return guest lists or attendee data — see "Privacy" below.
|
|
25
|
+
|
|
26
|
+
## Auth
|
|
27
|
+
|
|
28
|
+
Keyless. No account, API key or registration needed — these are Luma's own
|
|
29
|
+
public discovery endpoints, the same ones a signed-out browser calls.
|
|
30
|
+
|
|
31
|
+
## Data sources
|
|
32
|
+
|
|
33
|
+
- Luma, public event-discovery feed — city "discover" pages, individual
|
|
34
|
+
event pages, and organizer calendar pages, all served to any visitor
|
|
35
|
+
without an account.
|
|
36
|
+
|
|
37
|
+
## Privacy
|
|
38
|
+
|
|
39
|
+
Luma's own payload for an event carries per-event attendee signal: a guest
|
|
40
|
+
count, and for well-attended events a "featured guests" list naming and
|
|
41
|
+
showing avatars for people who RSVP'd, plus (for an authenticated caller)
|
|
42
|
+
their own RSVP record. This pack strips all of it before returning anything
|
|
43
|
+
— `guest_data`, `featured_guests`, `guest_info`, `host_info` and
|
|
44
|
+
`manager_info` are dropped in every tool. Only the event itself, its public
|
|
45
|
+
organizer/host listing (the people or orgs who publicly listed themselves as
|
|
46
|
+
running the event — a different thing from attendees), and its calendar are
|
|
47
|
+
returned.
|
|
48
|
+
|
|
49
|
+
## Notes
|
|
50
|
+
|
|
51
|
+
- `luma_events`'s `query` filters client-side. Luma's own `query` parameter
|
|
52
|
+
on the discover-events endpoint does not actually filter server-side
|
|
53
|
+
(verified live: identical result sets with and without it for the same
|
|
54
|
+
place), so this pack paginates the upstream itself (up to 200 events) and
|
|
55
|
+
matches on event name, venue and organizer name instead.
|
|
56
|
+
- Place/city resolution (`luma_events` given a `city`) matches against the
|
|
57
|
+
live discover-places list by exact name/slug first, then by substring.
|
|
58
|
+
There is no local cache of places — each resolution is a fresh call, since
|
|
59
|
+
the list is small (under 100 cities) and changes as Luma launches new
|
|
60
|
+
ones.
|
|
61
|
+
- Event and calendar IDs (`evt-...`, `cal-...`) are opaque Luma identifiers.
|
|
62
|
+
The easiest way to get one is from a prior `luma_events` or
|
|
63
|
+
`luma_calendar_events` call — every returned event carries its own
|
|
64
|
+
`event_id`, and its `calendar.url` leads to the organizer's public page.
|
|
65
|
+
|
|
66
|
+
## Quick Start
|
|
67
|
+
|
|
68
|
+
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
|
|
69
|
+
|
|
70
|
+
```json
|
|
71
|
+
{
|
|
72
|
+
"mcpServers": {
|
|
73
|
+
"luma": {
|
|
74
|
+
"url": "https://gateway.pipeworx.io/luma/mcp"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### What this endpoint actually serves
|
|
81
|
+
|
|
82
|
+
`tools/list` at `https://gateway.pipeworx.io/luma/mcp` returns the tools in the table
|
|
83
|
+
above **plus the shared Pipeworx meta-tools** — `ask_pipeworx`,
|
|
84
|
+
`discover_tools`, `search_within`, `remember`/`recall` and the rest of the
|
|
85
|
+
gateway-wide set. So the tool count you see is larger than this table: a
|
|
86
|
+
single-pack endpoint currently lists roughly 30 shared tools alongside the
|
|
87
|
+
pack's own. The connection's `initialize` response states its exact scope, and
|
|
88
|
+
is the authoritative answer for a given day.
|
|
89
|
+
|
|
90
|
+
This is deliberate, not multiplexing by accident. The meta-tools are what let a
|
|
91
|
+
scoped connection answer a question this pack does not cover — via
|
|
92
|
+
`ask_pipeworx`, which routes across the whole catalog — without you adding a
|
|
93
|
+
second MCP server. There is currently no way to mount a pack endpoint without
|
|
94
|
+
them; if the extra schemas cost you more context than the routing is worth,
|
|
95
|
+
connect to the full gateway once rather than to several pack endpoints.
|
|
96
|
+
|
|
97
|
+
Or connect to the full Pipeworx gateway to get every pack's tools listed
|
|
98
|
+
directly, instead of just this one's:
|
|
99
|
+
|
|
100
|
+
```json
|
|
101
|
+
{
|
|
102
|
+
"mcpServers": {
|
|
103
|
+
"pipeworx": {
|
|
104
|
+
"url": "https://gateway.pipeworx.io/mcp"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Both URLs reach the same gateway and the same 1882+ data sources. The
|
|
111
|
+
only difference is which pack's tools are listed **directly**; `ask_pipeworx`
|
|
112
|
+
reaches all of them from either one.
|
|
113
|
+
|
|
114
|
+
## No MCP client? Call it over HTTP
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
curl -X POST https://gateway.pipeworx.io/v1/tools/luma_places \
|
|
118
|
+
-H 'Content-Type: application/json' \
|
|
119
|
+
-d '{"query":"san","limit":10}'
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
No account needed for the first calls. Inspect any tool: `GET https://gateway.pipeworx.io/v1/tools/luma_places`. Find one: `POST https://gateway.pipeworx.io/v1/tools/search_packs` with `{"query":"..."}`.
|
|
123
|
+
|
|
124
|
+
## Standalone (no gateway account)
|
|
125
|
+
|
|
126
|
+
This package also runs as a local stdio MCP server — no Pipeworx account, no
|
|
127
|
+
gateway round-trip:
|
|
128
|
+
|
|
129
|
+
```json
|
|
130
|
+
{
|
|
131
|
+
"mcpServers": {
|
|
132
|
+
"luma": {
|
|
133
|
+
"command": "npx",
|
|
134
|
+
"args": ["-y", "@pipeworx/mcp-luma"]
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Or run it directly to confirm it starts:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
npx -y @pipeworx/mcp-luma
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
It speaks MCP over stdin/stdout and answers `initialize`/`tools/list`/`tools/call`
|
|
147
|
+
for **only** this pack's tools — none of the shared meta-tools the gateway
|
|
148
|
+
connection above adds. Same source, same tools, no ask_pipeworx routing.
|
|
149
|
+
|
|
150
|
+
## Using with ask_pipeworx
|
|
151
|
+
|
|
152
|
+
Instead of calling tools directly, you can ask questions in plain English —
|
|
153
|
+
this works on the pack endpoint above as well as on the full gateway:
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
ask_pipeworx({ question: "your question about Luma data" })
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
The gateway picks the right tool and fills the arguments automatically.
|
|
160
|
+
|
|
161
|
+
## More
|
|
162
|
+
|
|
163
|
+
- [Docs and guides](https://pipeworx.io/docs)
|
|
164
|
+
- [pipeworx.io](https://pipeworx.io)
|
|
165
|
+
|
|
166
|
+
## License
|
|
167
|
+
|
|
168
|
+
MIT
|
package/bin/cli.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
//
|
|
3
|
+
// Entry point for `npx @pipeworx/mcp-<slug>`.
|
|
4
|
+
//
|
|
5
|
+
// Packs ship as raw TypeScript (no build step — see publish-pack.sh for why:
|
|
6
|
+
// tsx sidesteps every extensionless-import / bare-JSON-import edge case a
|
|
7
|
+
// per-pack tsc build would have to solve one pack at a time). This file
|
|
8
|
+
// registers tsx's ESM loader programmatically, then hands off to src/server.ts,
|
|
9
|
+
// which wraps the pack's {tools, callTool} export in a stdio MCP server.
|
|
10
|
+
//
|
|
11
|
+
// Copied verbatim into every published pack repo by scripts/publish-pack.sh —
|
|
12
|
+
// edit this file, not a per-pack copy.
|
|
13
|
+
import { register } from 'tsx/esm/api';
|
|
14
|
+
|
|
15
|
+
register();
|
|
16
|
+
|
|
17
|
+
await import('../src/server.ts');
|
package/package.json
CHANGED
|
@@ -1,6 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipeworx/mcp-luma",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Luma (lu.ma) event discovery.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "src/index.ts",
|
|
7
|
+
"types": "src/index.ts",
|
|
8
|
+
"bin": {
|
|
9
|
+
"mcp-luma": "bin/cli.js"
|
|
10
|
+
},
|
|
11
|
+
"keywords": ["mcp", "mcp-server", "model-context-protocol", "pipeworx", "luma"],
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/pipeworx-io/mcp-luma.git"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"typecheck": "tsc --noEmit"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
22
|
+
"tsx": "^4.19.0"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"typescript": "^5.9.3",
|
|
26
|
+
"@cloudflare/workers-types": "^4.20260405.1"
|
|
27
|
+
},
|
|
28
|
+
"pipeworx": {
|
|
29
|
+
"sourceHash": "v1-fcb5d507b39f5e346d3e93b2932d993eee9b17f053acb506a98cc9f16a3961ef",
|
|
30
|
+
"sourceCommit": "33741fe6d9ba71856e73fa683c73572d1ddf2e93"
|
|
31
|
+
}
|
|
32
|
+
}
|
package/server.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "io.github.pipeworx-io/luma",
|
|
4
|
+
"title": "Luma",
|
|
5
|
+
"description": "Luma (lu.ma) event discovery.",
|
|
6
|
+
"version": "0.1.1",
|
|
7
|
+
"websiteUrl": "https://pipeworx.io/packs/luma",
|
|
8
|
+
"repository": {
|
|
9
|
+
"url": "https://github.com/pipeworx-io/mcp-luma",
|
|
10
|
+
"source": "github"
|
|
11
|
+
},
|
|
12
|
+
"remotes": [
|
|
13
|
+
{
|
|
14
|
+
"type": "streamable-http",
|
|
15
|
+
"url": "https://gateway.pipeworx.io/luma/mcp"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|