viasocket-apps
viaSocket, for the product you are building and for the coding agent building it. One signing
secret gives your product:
| what | your users get | where |
|---|
| App integrations | connect Slack, GitHub, Google Sheets or any of 2,300+ apps; your product runs their actions and reacts to their events | this package: Server, Events |
| AI assistant | a chat assistant or AI behind a feature, any model, your own endpoints and any MCP server as its tools | this package: AI assistant |
| Agent tools | your own AI agent (LangChain, OpenAI Agents SDK, Vercel AI SDK, …) acting in the apps each user connected | this package: Agent tools |
| MCP servers | each user makes MCP URLs for the agents or AI products they build in your product, with your tools behind them | this package: MCP servers your users make |
| AI memory | an AI that remembers each user's rules, facts and corrections; they can see and delete it | this package: AI memory |
| Login and orgs | sign-up, login, profile, team members and organisations with roles, no users table | viasocket.login and the skill's login-and-orgs page |
| Automations | multi-step flows across their apps on an event, a schedule or a webhook, created by your product for each user | the skill's automations page (plain HTTP) |
The OAuth, token refresh, per-app request shapes, polling, retries and AI billing are viaSocket's
problem, not yours. The same skill also builds your own automations in your viaSocket workspace
and plugs (an app's integration) in the Developer Hub; see For coding agents,
npx viasocket-apps login to give an agent a way into your workspace, and npx viasocket-apps mcp to
create your product's MCP server from one file.
Zero dependencies. Node 20+, Bun, Deno and edge runtimes.
npm install viasocket-apps
The same calls are documented as plain HTTP in your viaSocket dashboard under
Integrations → your Apps API integration → API reference. Use whichever suits your stack;
this package is a thin, typed layer over those endpoints and adds nothing they don't have.
For coding agents

This repo also carries the viaSocket integrations skill — what a coding agent reads to
integrate any app into your product, with or without this package. Install it into Claude Code,
Cursor, Codex, Copilot, Gemini CLI, Windsurf, Cline and 20+ other agents:
npx skills add Walkover-Web-Solution/viasocket-apps
Add -g to install it for every project. No install? Paste this into your agent:
Read https://viasocket.com/docs/skill.md?format=sdk and follow it. (Without ?format=sdk the same
skill speaks plain HTTP, for a backend in any language.)
The agent gets the three values a product needs (VIASOCKET_ORG_ID, VIASOCKET_PROJECT_ID,
VIASOCKET_EMBED_SECRET) itself with npx viasocket-apps setup: one click on Allow in your browser,
and they are in .env. Without a terminal it sends you to Integrations → the embed → Install Code,
where they sit with Copy buttons.
skills/viasocket-integrations/SKILL.md is the skill itself,
with its reference pages beside it, so what you install is what the security audits read. The folder is
rebuilt from the served skill by npm run sync-skill (a workflow runs it every six hours), never edited by hand. It names
the live skill, https://viasocket.com/docs/skill.md, and tells the agent to follow that one whenever
its version is newer, so an install never goes stale.
Before you ship — with or without an agent — check the code against the live catalog:
npx viasocket-apps check src
It finds every viaSocket slug, key, id and URL in your code and says whether each names a real app, action
or trigger (keys are case-sensitive), is used where its call expects it, and whether any viasocket URL was
built by hand. No dependencies; exits 1 on a failure, so it can be a test. It reads no .env file and prints
no line of code. (The same checker is served at https://flow.viasocket.com/viasocket-check.mjs for a machine
without npm.)