# How to add microfn to Claude Code
Table of Contents
Give Claude Code a persistent, self-evolving toolkit. Add microfn as a plugin and Claude Code can create custom functions, update them as needs change, and build a reusable library—all deployed instantly to a secure sandbox.
Build tools once, then refine them. Every function persists across sessions, ready to be patched, composed, and evolved.
1. Install via CLI
Run the following commands to add and enable microfn:
claude plugin marketplace add microfnhq/skillsclaude plugin enable microfnOr: Enable via /plugin command
Instead of running claude plugin enable microfn, you can type /plugin inside a Claude Code session and follow the prompts to enable microfn.
2. Authenticate
When you first run a command using the microfn server, you will be prompted to authenticate via OAuth in your browser.
Read more
For more details on available tools and advanced configuration, check out the microfn MCP documentation.
Built with microfn, your toolbox for composable functions
Microfn is a tiny cloud runner for composable JavaScript functions. Write your function, hit save, and microfn deploys it instantly.