Microfn
Hosted JavaScript function sandbox that AI agents use through MCP to write, save, run, and schedule reusable functions.
At a Glance
Everything you need to try your first agent tools.
Engagement
Available On
Listed Oct 2026
About Microfn
Microfn, from Digital Vibes, gives AI agents a place to run JavaScript. An agent connected through MCP can create, edit, save, and execute functions in a hosted sandbox, and users can inspect the saved code and reuse it later.
What It Is
Microfn is a hosted function runtime for agent-built tools. A user asks a connected agent, such as Claude, ChatGPT or Grok, to build a function, for example one that fetches the weather in Tokyo and sends it to Discord. The function is saved on Microfn and runs there rather than on the user's laptop, so no local server needs to stay alive.
How Functions Are Called
A saved function can be invoked through MCP, an HTTP request or webhook, an incoming email, a cron schedule, or Siri Shortcuts, and every route leads to the same code. Functions can call other functions through the @microfn/fn module, so a weather function and a Discord notifier can be chained into a scheduled morning update. The runtime also provides modules for per-function secrets (@microfn/secret) and persistent key-value storage (@microfn/kv), and npm packages imported in a function are installed on deployment.
Control and Visibility
Saved functions open in an editor where the code can be read and changed by the user or the agent. Guides describe debugging failed executions and replaying captured input after a fix. A public Explore page lists community functions that can be previewed and remixed.
Setup Paths
Microfn publishes guides for connecting to Claude, Claude Code, ChatGPT, Grok, Gemini Spark and OpenAI Codex as custom MCP connectors. It also offers an OpenClaw skill, Agent Skills and a CLI, along with an MCP setup guide.
Community Discussions
Be the first to start a conversation about Microfn
Share your experience with Microfn, ask questions, or help others learn from your insights.
Pricing
Free
Everything you need to try your first agent tools.
- 3 active functions
- 100 executions per day
- MCP, triggers, secrets, and KV storage included
Pro
Give every good idea a function of its own.
- Unlimited active functions
- Unlimited daily executions
- MCP access, HTTP and email triggers, schedules, secrets, and persistent KV storage included
- Runtime and API rate limits still apply
Capabilities
Key Features
- MCP server for agents to create, edit, deploy and run JavaScript functions
- Hosted sandbox execution
- Inspectable code in an editor
- HTTP and webhook triggers
- Email triggers
- Cron schedules
- Siri Shortcuts calling
- Function-to-function calls via @microfn/fn
- Per-function secrets
- Persistent KV storage
- Automatic npm dependency installation
- Execution debugging and replay
- Public function explore and remix
