@wiro-ai/wiro-agent-connectors 0.1.0 → 0.2.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/CHANGELOG.md +36 -0
- package/README.md +1185 -34
- package/dist/cli.js +15 -12
- package/dist/core/credentials.d.ts +21 -0
- package/dist/core/credentials.js +45 -0
- package/dist/core/origins.d.ts +18 -0
- package/dist/core/origins.js +40 -0
- package/dist/core/upload-hosts.d.ts +15 -0
- package/dist/core/upload-hosts.js +43 -0
- package/dist/host/describe.d.ts +10 -0
- package/dist/host/describe.js +38 -0
- package/dist/host/env.d.ts +25 -2
- package/dist/host/env.js +24 -7
- package/dist/host/guarded-fetch.d.ts +36 -9
- package/dist/host/guarded-fetch.js +175 -52
- package/dist/host/index.d.ts +8 -5
- package/dist/host/index.js +12 -1
- package/dist/host/load.js +31 -1
- package/dist/host/server.d.ts +13 -2
- package/dist/host/server.js +15 -2
- package/dist/types.d.ts +96 -5
- package/dist/vendors/adapty.js +1303 -0
- package/dist/vendors/adjust.js +1372 -0
- package/dist/vendors/apollo.js +2499 -0
- package/dist/vendors/apple-appstore.js +2798 -0
- package/dist/vendors/beehiiv.js +1965 -0
- package/dist/vendors/blogger.js +1687 -0
- package/dist/vendors/bluesky.js +850 -127
- package/dist/vendors/brevo.js +2195 -0
- package/dist/vendors/calendarific.js +1116 -0
- package/dist/vendors/devto.js +685 -92
- package/dist/vendors/facebook-pages.js +2185 -0
- package/dist/vendors/firebase.js +1333 -0
- package/dist/vendors/ga4.js +1585 -0
- package/dist/vendors/gmail.js +1962 -0
- package/dist/vendors/google-ads.js +2201 -0
- package/dist/vendors/google-business.js +1621 -0
- package/dist/vendors/google-calendar.js +1936 -0
- package/dist/vendors/google-drive.js +2654 -0
- package/dist/vendors/google-merchant-center.js +1742 -0
- package/dist/vendors/google-play.js +1856 -0
- package/dist/vendors/google-search-console.js +1572 -0
- package/dist/vendors/hashnode.js +1722 -0
- package/dist/vendors/instagram.js +2249 -0
- package/dist/vendors/kaggle.js +2043 -0
- package/dist/vendors/keepa.js +2087 -0
- package/dist/vendors/linkedin.js +1588 -0
- package/dist/vendors/mailchimp.js +2402 -0
- package/dist/vendors/mastodon.js +1836 -0
- package/dist/vendors/meta-ads.js +2375 -0
- package/dist/vendors/notion.js +1950 -0
- package/dist/vendors/pinterest.js +1744 -0
- package/dist/vendors/qiita.js +1552 -0
- package/dist/vendors/reddit.js +1791 -0
- package/dist/vendors/revenuecat.js +1593 -0
- package/dist/vendors/roasit.js +1460 -0
- package/dist/vendors/sendgrid.js +2188 -0
- package/dist/vendors/serper.js +901 -179
- package/dist/vendors/shopify.js +2511 -0
- package/dist/vendors/threads.js +1869 -0
- package/dist/vendors/tiktok.js +2199 -0
- package/dist/vendors/tumblr.js +1793 -0
- package/dist/vendors/twitter.js +1650 -0
- package/dist/vendors/woocommerce.js +2258 -0
- package/dist/vendors/wordpress.js +1904 -0
- package/dist/vendors/youtube.js +2542 -0
- package/package.json +12 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.1 (2026-11-25)
|
|
4
|
+
|
|
5
|
+
- The package names its entry in the official MCP Registry, `ai.wiro/agent-connectors`, in `mcpName`, and `server.json` describes it there: the connector is the first argument, with every connector's name as a choice, and `CONNECTOR_ACCOUNTS` is the optional account lock.
|
|
6
|
+
- A Dockerfile, and a release workflow that publishes the image `wiroai/wiro-agent-connectors` to Docker Hub for amd64 and arm64: `docker run -i --rm -e SERPER_APIKEY wiroai/wiro-agent-connectors serper`.
|
|
7
|
+
- An agent skill, [`skills/wiro-agent-connectors`](./skills/wiro-agent-connectors/SKILL.md), for skills.sh and ClawHub: picking a connector and its variables, adding it to Claude Code, Claude Desktop or Cursor, account locks, how the tools behave, and loading the modules into a host of your own.
|
|
8
|
+
- README: screenshots from MCP Inspector, the agent skill and the "More from Wiro AI" table. The npm keywords name more of the services.
|
|
9
|
+
|
|
10
|
+
## 0.2.0 (2026-11-25)
|
|
11
|
+
|
|
12
|
+
- 42 new connectors, 45 in all. Each has its own README (what it does, every credential step by step with how to revoke it, its tools and limits), tests on recorded responses and a smoke plan; connectors whose tools act on one of several accounts declare account pickers, and most reach the rest of their service's API through generic tools (`api_get` and `api_request`, or GraphQL queries and mutations).
|
|
13
|
+
- Social and video: `facebook-pages` (posts, photos, videos, Reels and stories, comments, insights; sign-in or system user token), `instagram` (images, carousels, Reels and stories through containers, insights, comment moderation), `threads` (posts with reply controls, quotes and topic tags, reply moderation, insights), `linkedin` (text, image, multi-image and article posts as a Page or the member; on a Community Management API app the member is read through `/v2/me` with `r_basicprofile`, on an app with OpenID Connect through `/v2/userinfo`), `mastodon` (posts with polls, media and content warnings on your own server, scheduled posts), `pinterest` (image and video Pins, boards and sections, analytics), `reddit` (posts and comments inside Reddit's rate window, with no duplicates), `tiktok` (videos up to 4 GB by chunked upload read by byte range, across calls with a cursor, or pulled from a verified URL, photo posts from a verified URL, post status), `tumblr` (drafts first, queue and scheduling, edits), `twitter` (X posts with media or polls, replies, quotes and threads) and `youtube` (uploads from a URL in parts read by byte range, across calls with a cursor, scheduling, thumbnails, playlists, Analytics reports). `facebook-pages`, `instagram` and `meta-ads` take one way in: when a sign-in token comes with a system user token, the system user token is used. The `facebook-pages` and `instagram` pages say step by step how a host moves a connection of an older setup over.
|
|
14
|
+
- Ads, analytics and search: `meta-ads` (insights, campaigns, ad sets and ads created paused, creatives with uploads, audiences), `google-ads` (Google Ads Query Language reports, grouped mutates with a dry run, Keyword Planner, Customer Match members and offline conversions through the Data Manager API with their upload status, and the manager account of a client account found by itself), `ga4` (Data API reports, realtime, metadata, Admin API settings), `google-search-console` (search analytics, period comparisons, sitemaps, URL inspection; read-only) and `google-merchant-center` (products and their issues, product writes through API data sources, reports).
|
|
15
|
+
- Google services: `blogger` (posts and pages, drafts, publishing and scheduling), `gmail` (search, read, label, drafts and sending through the Gmail API), `google-business` (locations and reviews, replies), `google-calendar` (free slots in opening hours, events), `google-drive` (files, folders, Docs and Sheets, resumable uploads, stored files and PDF or Office exports handed to the host, links for services that fetch files by URL with a warning when one cannot work, and a search for links left open), `google-play` (reviews and replies, store listings, subscriptions and products) and `firebase` (Cloud Messaging pushes to topics, conditions or a device, across projects).
|
|
16
|
+
- Mobile apps and attribution: `apple-appstore` (reviews and responses, in-app events with their images, uploaded to Apple's upload servers, and App Review submission, apps, subscriptions and in-app purchases with prices), `adapty`, `revenuecat` (subscription analytics; read-only), `adjust` and `roasit` (attribution and ROAS reports on the apps chosen for the connection; read-only).
|
|
17
|
+
- Writing and knowledge: `beehiiv` (newsletter posts, drafts, sends, subscribers, segments, automations), `hashnode` (drafts first, publishing, edits; Hashnode Pro blogs), `notion` (search, pages as Markdown or blocks, databases, edits, trash), `qiita` (limited-share articles first, publishing, stats) and `kaggle` (notebooks run on CPU, GPU or TPU, datasets, competitions).
|
|
18
|
+
- Email and CRM: `apollo` (prospect search and enrichment, contacts, accounts, sequences, deals, tasks, calls), `brevo` and `sendgrid` (contacts, lists, campaigns, templates, transactional email), and `mailchimp` (audiences, campaigns from draft to send, templates, segments, reports, automations; sign-in or API key). `hubspot` is not included: HubSpot serves its own MCP server.
|
|
19
|
+
- Commerce and sites: `shopify` (GraphQL Admin API: products, inventory, orders, fulfillments, discounts), `woocommerce` (products, orders, refunds, coupons, reports) and `wordpress` (posts and pages, media uploads, terms, Rank Math SEO fields), each at the address you give.
|
|
20
|
+
- Data: `calendarific` (holidays and observances of 230+ countries) and `keepa` (Amazon price and sales rank history, best sellers, the product finder).
|
|
21
|
+
- **Breaking:** the credentials of the first three connectors take their new names, so their environment variables change: `serper` `apikey` (`SERPER_APIKEY`, was `SERPER_API_KEY`), `devto` `apikey` (`DEVTO_APIKEY`, was `DEVTO_API_KEY`), and `bluesky` `handle` and `apppassword` (`BLUESKY_HANDLE` and `BLUESKY_APPPASSWORD`, were `BLUESKY_IDENTIFIER` and `BLUESKY_APP_PASSWORD`).
|
|
22
|
+
- `serper` adds news, image, video, places, maps, place review, shopping, scholar, patent, autocomplete, lens and location search, and pages Google Maps by position. `devto` adds `get_article` and `get_analytics`, and its article list keeps its status filter in the cursor. `bluesky` adds `get_posts` and `delete_post`, and `create_post` takes up to 4 images, a link card and a reply target; its post list includes replies by default and shows view counts.
|
|
23
|
+
- `.env.example` lists the variables of every connector.
|
|
24
|
+
- Credential origins: a module may name, in `originFields`, the credentials that hold a site or instance URL (a Mastodon instance, a WordPress site, a shop). Each call may then reach the https origin of that value, resolved by `parseSiteUrl` the same way in the module and in the host, and the host checks it like a media URL: https only, public addresses only, connected to the checked address, redirects not followed. Modules export `originFields` (an empty list when unused) and may leave `origins` empty when `originFields` names the API's address; `h.origins` and `h.originOf()` give a tool the call's origins.
|
|
25
|
+
- Hosts: `createGuardedFetch` takes `credentialOrigins`, `originsFromCredentials` computes them for a call, and `parseSiteUrl` and `siteOrigin` are exported for hosts with their own fetch. The test hook `mediaTransport` is now `transport` (the old name still works), and it also carries API requests to credential origins.
|
|
26
|
+
- Hosts: the CLI passes one byte range (`Range: bytes=FIRST-LAST`) on a media download and hands back the `206` reply with its `Content-Range`, its size cap applying to each request, so `youtube` `upload_video` and `tiktok` `post_video` send videos larger than its 25 MiB download limit. Any other `Range` value (several ranges, a suffix, another unit) is refused before anything is sent.
|
|
27
|
+
- Upload hosts: modules export `uploadHosts`, the hosts of the upload addresses their API hands out, such as a pre-signed address for each part of a file (`.blobstore.apple.com` matches every host under it, `uploads.example.com` that host only; lowercase host names, checked when the module loads). A host lets a module send a PUT or POST with a body there: https on the default port, no `Authorization`, `Proxy-Authorization` or `Cookie` header, public addresses only with the connection to the checked one, a body within its upload limit (25 MiB in the CLI), and its redirects not followed. `createGuardedFetch` takes `uploadHosts` and `maxUploadBytes`, `isUploadHost` gives hosts with their own fetch the same rule, and `assertConnectorModule` still loads modules built without the list.
|
|
28
|
+
- Files out: a tool can hand files to its host. The result keeps its JSON text block first, then carries one MCP embedded resource per file (`{ type: "resource", resource: { uri: "attachment:///" + the name percent-encoded, mimeType, blob } }`, the bytes in base64). A host that takes files gives each call `ctx.files = { maxBytes }`; tools check `h.fileLimit()` before downloading anything and hand files over with `h.file({ name, mimeType, bytes })`, and `h.api` returns a reply's bytes with `binary: true`. The CLI takes 25 MiB of files a call and passes them on to its MCP client unchanged (`createConnectorServer` takes `maxFileBytes`, and above 25 MiB the guarded fetch it builds reads API replies that large too); its API reply cap is now 25 MiB too, so a file stored behind an API fits.
|
|
29
|
+
- Generic API tools: `apiTools()` builds `api_get` (read, GET only) and `api_request` (POST, PUT, PATCH or DELETE, never retried, `check: "api_get"`) for a connector, with its auth headers, its origins and base path, an optional account lock (`accounts`), a `guard` and a `send` hook for session tokens. Replies come back as the status and the JSON or text, cut to fit 32 KB.
|
|
30
|
+
- A fifth tool kind, `write`, for a tool whose effect depends on its arguments: destructive and not idempotent, MCP's own defaults. `api_request` uses it.
|
|
31
|
+
- `h.api` takes lists as query values and repeats the parameter.
|
|
32
|
+
- `devto` and `bluesky` gain `api_get` and `api_request` for the rest of their APIs: dev.to under `/api/` (POST, PUT, DELETE), Bluesky any XRPC query or procedure with the account's session, its account, session and identity methods left out. `serper` has none: its search tools cover its endpoints.
|
|
33
|
+
- JWT signing in the core, with WebCrypto only: `signJwt` (RS256 or ES256 from a PEM PKCS#8 key, ES256 as the raw r||s signature), `googleServiceAccountToken` (the jwt-bearer exchange at `https://oauth2.googleapis.com/token`, cached in memory until 5 minutes before expiry, keyed by a hash of the key) and `appStoreConnectToken` (ES256 with `kid`, `iss`, `aud: "appstoreconnect-v1"` and a 20-minute expiry).
|
|
34
|
+
- OAuth: a module that declares the credential `access_token` gets the host's current OAuth access token there on every call; hosts refresh it, modules never do. The CLI reads it from `<VENDOR>_ACCESS_TOKEN`, and when set passes it along even to a module that does not declare it.
|
|
35
|
+
- Required credentials: modules export `requiredCredentials`, the credentials a call needs as alternatives, such as `[["access_token"], ["system_user_token"]]` (by default one list of every credential). A call goes ahead when one list is complete; otherwise it sends nothing and names what each alternative still lacks. A 401 names the credentials the call went ahead with, and an origin field the call goes ahead without may be empty.
|
|
36
|
+
- Account pickers: modules export `accountPickers`, the account choices a host offers after connecting: `{ key, label, description?, multiple, tool, idField, nameField, legacyField? }`, where `tool` is a read tool that lists the candidates with no arguments and `idField` and `nameField` are dot paths into its items. Both new fields are checked when the module loads, and the template shows a picker.
|
|
37
|
+
- CLI: a connector needs one complete list of variables; `--list` prints a connector's alternatives and its account keys, which `CONNECTOR_ACCOUNTS` takes (no variable maps to a picker). `credentialsFromEnv` also returns `needed`, what each alternative lacks, and `assertConnectorModule` checks both fields while still loading modules built before them.
|
|
38
|
+
|
|
3
39
|
## 0.1.0
|
|
4
40
|
|
|
5
41
|
The first release: three connectors, and the stdio CLI that runs them.
|