Commit 1227968
Add Firecrawl monitor tools (#234)
* Add Firecrawl monitor tools
Introduce a new monitor tools module (src/monitor.ts) and register it from src/index.ts. The module implements direct /v2/monitor HTTP calls (monitorRequest) — including auth resolution and query handling — to work around the SDK's injected `origin` field that breaks monitor endpoints. It registers several MCP tools for monitors (create, list, get, update, delete, run, checks, check) that serialize responses as JSON text. Also adds the import and registerMonitorTools(server) call before server.start.
* Update monitor.ts
* Update package.json
* Nick:
---------
Co-authored-by: Nicolas <20311743+nickscamara@users.noreply.github.com>1 parent c8473d0 commit 1227968
4 files changed
Lines changed: 462 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
1853 | 1854 | | |
1854 | 1855 | | |
1855 | 1856 | | |
| 1857 | + | |
| 1858 | + | |
1856 | 1859 | | |
0 commit comments