act-sdk-js
🚀 The fastest way to add MCP to Typescript apps.
Install / Use
claude mcp add act-sdk -- npx -y github:act-sdk/act-sdk-jsIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Our assessment of act-sdk-js
act-sdk-js scores 65/100 on our quality scale, 904th of 955 AI & Machine Learning skills we index.
Its MCP Server is 3.5 KB long, split into 6 sections with 7 code examples: a solid amount of guidance for an agent.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 5 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 85/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-19. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
act-sdk-js compared with similar skills
All 4 of these similar skills score higher than act-sdk-js; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| act-sdk-js (this skill)by act-sdk | 65 | 3 | 5mo ago | MCP Server |
| claude-memby thedotmack | 100 | 113.8k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 109.5k | 1d ago | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 91.0k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.0k | today | CLAUDE.md |
Frequently asked questions
- How do I install act-sdk-js?
- Run
claude mcp add act-sdk -- npx -y github:act-sdk/act-sdk-js. The install tabs above show the steps for each supported agent. - Which AI agents does act-sdk-js work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is act-sdk-js safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 85/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is act-sdk-js still maintained?
- The repository was last updated about 5 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubAct SDK
The fastest way to add MCP to TypeScript apps.
Act SDK is the simplest way to bring MCP into your application. It gives you everything you need to go from existing logic to a working MCP server in minutes. Expose existing functions as tools, integrate with frameworks like Next.js, Express, Hono, etc., and ship without building servers from scratch.
Built on top of the official Model Context Protocol TypeScript SDK.
// your existing function
async function getDoughnuts({ userId, limit }: { userId: string; limit?: number }) {
return db.doughnuts.findMany({ where: { userId }, take: limit ?? 10 });
}
// register it — now MCP-ready
export const getDoughnuts = act.action({
id: 'getDoughnuts',
description: 'Get doughnuts for a user',
input: z.object({
userId: z.string(),
limit: z.number().optional(),
}),
handler: async ({ userId, limit }) => {
return db.doughnuts.findMany({ where: { userId }, take: limit ?? 10 });
},
});
// your app
await getDoughnuts({ userId: '123', limit: 5 });
// an MCP agent
// → calls getDoughnuts with { userId: '123', limit: 5 }
No new server. No separate process. No MCP knowledge required.
Install
npx @act-sdk/cli init
Or manually:
npm install @act-sdk/core @act-sdk/mcp @act-sdk/adapters zod
Next.js
1. Wrap your existing logic (lib/actions/doughnuts.ts):
import { z } from 'zod';
import { act } from '@/act-sdk.config';
export const getDoughnuts = act.action({
id: 'getDoughnuts',
description: 'Get doughnuts for the authenticated user',
input: z.object({ limit: z.number().optional() }),
handler: async ({ limit }, context) => {
return db.doughnuts.findMany({
where: { userId: context?.authInfo.userId },
take: limit ?? 10,
});
},
});
export const orderDoughnut = act.action({
id: 'orderDoughnut',
description: 'Order a doughnut for the authenticated user',
input: z.object({ flavour: z.string() }),
handler: async ({ flavour }, context) => {
return db.orders.create({
data: { flavour, userId: context?.authInfo.userId },
});
},
});
2. Config File (act-sdk.config.ts):
import { createAct, defineConfig } from '@act-sdk/core';
export const act = createAct();
export default defineConfig({
name: 'my-app',
description: 'My app MCP server',
version: '1.0.0',
act,
});
3. Add the route (app/api/mcp/route.ts):
import { createNextHandler } from '@act-sdk/adapters/nextjs';
import config from '@/act-sdk.config';
export const { GET, POST, DELETE } = createNextHandler(config, {
auth: async (req) => {
const token = req.headers.get('authorization')?.split(' ')[1];
if (!token) return null;
return verifyJWT(token);
},
});
STDIO
import { createStdioServer } from '@act-sdk/adapters/stdio';
import config from './act-sdk.config.js';
createStdioServer(config);
Packages
| Package | Purpose |
| ------------------- | ------------------------------------------------ |
| @act-sdk/core | Action registry, createAct(), defineConfig() |
| @act-sdk/mcp | Translates actions into MCP tools |
| @act-sdk/adapters | Next.js and STDIO adapters |
Coming Soon
Express, Hono, and Fastify adapters are on the roadmap. If you need one sooner, open an issue and let us know — we prioritize based on demand.
MIT
Related Skills
claude-mem
113.8kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
109.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
91.0kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
79.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
