irlevents-mcp 0.4.0 → 0.4.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/README.md +21 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
# irlevents-mcp
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/irlevents-mcp)
|
|
4
|
+
[](https://github.com/Web3EK/irlevents-mcp/blob/main/LICENSE)
|
|
5
|
+
|
|
3
6
|
Model Context Protocol server for [IRLEvents](https://irlevents.io) — the
|
|
4
7
|
token-gated event platform for the on-chain world.
|
|
5
8
|
|
|
6
9
|
Plugs IRLEvents into **Claude Desktop**, **Claude Code**, **Cursor**, **Cline**,
|
|
7
10
|
and any other MCP-compatible client. Once configured, the model can list events,
|
|
8
11
|
check whether you qualify for a token gate, RSVP, sync your on-chain assets,
|
|
9
|
-
and more — all on your behalf, using a long-lived `api_*` key you control.
|
|
12
|
+
host events, and more — all on your behalf, using a long-lived `api_*` key you control.
|
|
13
|
+
|
|
14
|
+
## Why use this?
|
|
15
|
+
|
|
16
|
+
- **Skip the API integration entirely.** Six-line config block. No HTTP client, no auth flow, no SDK to learn.
|
|
17
|
+
- **24 tools across attendee + host + rewards surfaces.** Discover events, check token-gate eligibility, RSVP, create events, check attendees in, claim rewards — all from natural-language prompts.
|
|
18
|
+
- **Multi-chain by default.** Works against 16+ chains (Ethereum, Base, Polygon, Solana, Bitcoin Ordinals, Cardano, XRP, Sui, TON, Aptos, Tezos, Flow, Cosmos, POAP, Snapshot DAO). Your agent doesn't need to know the difference.
|
|
19
|
+
- **Scoped API keys, audit logs.** Same security posture as Stripe / GitHub / Linear. You stay in control of what the agent can do.
|
|
20
|
+
- **Built for agents from the ground up.** OpenAPI 3.0 spec, OAuth 2.0 for multi-tenant apps, llms-full.txt for one-shot LLM ingest, webhook delivery for push integrations. Not a retrofitted REST API.
|
|
10
21
|
|
|
11
22
|
## Tools exposed
|
|
12
23
|
|
|
@@ -180,12 +191,20 @@ printf '%s\n%s\n%s\n' \
|
|
|
180
191
|
API returns `X-RateLimit-Remaining` headers; this MCP server surfaces 429
|
|
181
192
|
errors back to the model so it can back off.
|
|
182
193
|
|
|
194
|
+
## Building your own agent
|
|
195
|
+
|
|
196
|
+
If you want to build an agent that uses IRLEvents directly (no MCP), check
|
|
197
|
+
out [`examples/openapi-client/`](./examples/openapi-client) — a self-contained
|
|
198
|
+
TypeScript script that uses the OpenAPI to discover events, check eligibility,
|
|
199
|
+
and RSVP. ~80 lines, runnable in 30 seconds.
|
|
200
|
+
|
|
183
201
|
## See also
|
|
184
202
|
|
|
185
203
|
- [IRLEvents agent guide](https://irlevents.io/api/guides/agent-guide)
|
|
186
204
|
- [Full agent docs (one-shot LLM ingest)](https://irlevents.io/llms-full.txt)
|
|
187
205
|
- [OpenAPI spec](https://irlevents.io/api/openapi.json)
|
|
188
206
|
- [Webhook integration guide](https://irlevents.io/api/guides/webhook-guide) — push instead of pull
|
|
207
|
+
- [DISTRIBUTION.md](./DISTRIBUTION.md) — registry submission checklist (for maintainers)
|
|
189
208
|
|
|
190
209
|
## Releasing (maintainers)
|
|
191
210
|
|
|
@@ -205,7 +224,7 @@ The GitHub Actions workflow (`.github/workflows/publish.yml`) will:
|
|
|
205
224
|
|
|
206
225
|
1. Verify the tag matches `package.json` version
|
|
207
226
|
2. Build with `tsc`
|
|
208
|
-
3. Smoke-test the MCP handshake (asserts all
|
|
227
|
+
3. Smoke-test the MCP handshake (asserts all tools register)
|
|
209
228
|
4. Publish to npm with provenance attestation
|
|
210
229
|
|
|
211
230
|
Required GitHub repo secret: **`NPM_TOKEN`** — an npm "Automation" or
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ const client = createClient({
|
|
|
31
31
|
apiKey,
|
|
32
32
|
base: process.env.IRLEVENTS_API_BASE,
|
|
33
33
|
});
|
|
34
|
-
const server = new McpServer({ name: "irlevents-mcp", version: "0.4.
|
|
34
|
+
const server = new McpServer({ name: "irlevents-mcp", version: "0.4.1" }, {
|
|
35
35
|
capabilities: { tools: {}, resources: {}, prompts: {} },
|
|
36
36
|
instructions: "Tools, resources, and prompts for the IRLEvents token-gated event platform. " +
|
|
37
37
|
"Use list_events / trending_events / get_event to discover; check_eligibility " +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "irlevents-mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Model Context Protocol server for IRLEvents — token-gated event platform tools for Claude Desktop, Claude Code, Cursor, Cline, and other MCP-compatible clients.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|