Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Callscript

MCP server by vercel-labs Verified · npm:callscript

Callscript lets an AI model write one small JavaScript script that calls your tools. It compiles the script into an inert JSON plan that is validated before it runs, so no model-written code is executed. It is for developers building tool-calling agents with the AI SDK, MCP clients, or plain objects.

  • Score 86
  • 129 stars
  • 22k a week
  • Apache-2.0
  • Updated

Install Callscript

Built from the published package, never by AI.

claude mcp add callscript -- npx -y callscript

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Callscript in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the callscript block.

About

Callscript is a tool-calling script language for LLMs. The model writes a short JavaScript program that calls the tools it needs. Callscript parses that program into a JSON plan instead of executing it. The plan is validated before anything runs, and it can be bounded, paused for approval, and resumed later.

The engine is a library with no sandbox and no separate service. It has two small runtime dependencies, acorn and zod. Tools mount through adapters for AI SDK tools, MCP clients, or plain objects with a name and an execute function. The engine exposes execute, search, and describe to the model, so the model can discover tools without carrying every definition in its prompt. It is aimed at developers who want Code Mode style composition without running untrusted code.

Written from the project's README and checked against it.

Tools it gives your assistant

  • executeRuns the script the model authors, compiled into a validated plan of tool calls.
  • searchLets the model discover mounted tools on demand instead of loading every definition.
  • describeDescribes the mounted tools so the model can see their available arguments.
  • suspend optionFlags a call for confirmation so the run pauses until a human approves it.
  • each fan-outRuns a tool call over a list with one dispatch per element, bounded by a hard max.

What you need

  • npm to install the callscript package
  • The ai package, only if you use the AI SDK adapter

Try asking

  • Close every stale open issue in the api repo.
  • Fetch the open issues, then close the stale ones in a single script.
  • Run my GitHub tools as one script and return a count of closed issues.

Good to know

  • Expressions are a side-effect-free subset of JavaScript with no I/O, globals, or imports.
  • Unbounded loops are rejected, so fan-outs must run over a bounded list.
  • Every engine enforces limits such as maxSteps, maxTotalCalls, and maxConcurrency.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Callscript

All alternatives →
Oh My Posh Validator JanDeDobbeleer
100

Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.

AAA Remote 24k
Sim simstudioai
100

Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.

AAA Remote 30k
Omnara omnara-ai
98

Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.

AAA Remote 3.5k
strata Klavis-AI
95

Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.

AAA Remote 5.8k
voicemode mbailey
95

VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.

AAA Local 1.5k
OpenWork MCP Gateway different-ai
94

Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.

AFA Remote 25k

Compare with Oh My Posh Validator, Sim or Omnara

Callscript: common questions

Does callscript execute the JavaScript the model writes?

No. The source says the script is parsed and compiled into an inert JSON plan that is never executed. Only the tools you mounted can run.

Do I need a sandbox to run callscript?

The source says no sandbox is needed because there is no arbitrary code to contain. The engine is a library that runs wherever your JavaScript runs.

Can a run be paused and resumed?

Yes. The source says a JSON plan plus a serializable record lets runs suspend, for example for approval gates, and resume with settled steps reused.

How do I install Callscript?

In Claude Code run claude mcp add callscript -- npx -y callscript. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Callscript the official server?

Callscript is published by npm:callscript from its verified domain in the official MCP Registry.

Is Callscript free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Callscript safe to use?

It scores 86 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Callscript?

Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.

Does Callscript work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Callscript Install

Add to stack

Loading.