microfn
Server Details
Create, deploy and run serverless JavaScript functions on microfn from any MCP client.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- OAuth
- Works in Glama
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-03-26
- URL
- ChatGPT
- –
- Claude
- microfn
TDQS
Scored across 20 tools
Most tools have clearly distinct purposes across functions, code, secrets, executions, and deployments. The main potential overlap is between createFunction (creates a workspace with code) and generateFunction (generates code variations from a prompt), plus checkDeployment vs. waitForFunctionDeployment, but descriptions mostly resolve these.
Tool names consistently use camelCase verb_noun style, such as createFunction, getFunctionCode, listExecutions, and updateFunctionSettings. The only minor exception is ping, but the overall convention is predictable and easy to scan.
At 20 tools the surface is on the heavy side, but the breadth of the platform (functions, code, secrets, executions, deployments, packages) justifies most of them. Only ping and perhaps generateFunction feel marginal rather than essential.
Core workflows are well covered: create/read/update functions, manage code, execute and inspect runs, manage secrets, and check deployment status. The notable gap is the absence of a deleteFunction operation, leaving no way to remove a workspace/function.
Available Tools
20 toolscheckCodeBRead-onlyInspect
Validate and lint TypeScript code snippet for MicroFn. Returns validation results and package extraction summary.
Inputs: code (required).
checkDeploymentBRead-onlyInspect
Check the deployment status of a function. Requires functionName parameter in format 'username/functionName'.
Inputs: functionName (required).
createFunctionBInspect
Create a new MicroFn workspace/function with TypeScript code. The code must export either: 1) A 'main' function as the entry point, OR 2) Any named function (which will be auto-wrapped with a main function). Examples: 'export async function main() { return "hello" }', 'export async function sayHello(name) { return "hello " + name }' (auto-wrapped), 'export async function main() { const btc = await fetch("..."); return btc.json() }'. IMPORTANT: Import @microfn/* modules as defaults: 'import kv from "@microfn/kv"' NOT 'import { kv } from "@microfn/kv"'. Common patterns: use @microfn/secret for env vars, @microfn/kv for persistent storage (e.g., counters, cache), and fetch() for HTTP requests. Input: 'name' (string) - the function name, 'code' (string) - the TypeScript code. Output: the created workspace object with its name and metadata.
Inputs: code (required), name (required).
createSecretAInspect
Creates a new secret for the specified function. Secrets cannot be overwritten; if the key already exists, delete it first.
Inputs: key (required), value (required), functionName (required).
deleteSecretADestructiveInspect
Deletes a secret from the specified function. Call getSecrets first to obtain the secret's id.
Inputs: secretId (required), functionName (required).
executeFunctionCInspect
Execute a function with given input. Requires functionName (format: 'username/functionName') and optional inputData parameters.
Inputs: functionName (required), inputData.
generateFunctionAInspect
Generate a new function from a natural language prompt. Returns one or more code variations.
Inputs: prompt (required).
getExecutionARead-onlyInspect
Get one execution of a function, including its trigger, arguments, response, error and logs. Takes the id or execution_id reported by listExecutions. Requires functionName in format 'username/functionName'.
Inputs: executionId (required), functionName (required).
getFunctionARead-onlyInspect
Get details of a function (no source code). Use getFunctionCode for code. Requires functionName parameter in format 'username/functionName'.
Inputs: functionName (required).
getFunctionCodeBRead-onlyInspect
Get the source code of a function. Requires functionName parameter in format 'username/functionName'.
Inputs: functionName (required).
getSecretsCRead-onlyInspect
Retrieves all secrets for the specified function
Inputs: functionName (required).
listExecutionsARead-onlyInspect
List recent executions of a function, newest first, to find a run worth inspecting. Returns each run's status, trigger, error and timestamps, but not its arguments, response or logs (call getExecution for those). Requires functionName in format 'username/functionName'.
Inputs: functionName (required), page, limit, since, +2 more.
listFunctionsARead-onlyInspect
List available MicroFn workspaces/functions, 20 per page in 'username/name' order, for use with the other tools. When 'hasMore' is true, request the next 'page' for the rest of the account.
Inputs: page, limit.
listPackagesBRead-onlyInspect
Lists packages from the latest deployment. Requires functionName parameter in format 'username/functionName'.
Inputs: functionName (required).
renameFunctionCDestructiveInspect
Rename a function/workspace
Inputs: newName (required), functionName (required).
searchFunctionsARead-onlyInspect
Find MicroFn functions whose name contains a substring, case-insensitively. Matches the function name only, not the username. Pages like listFunctions, with 'total' counting every match.
Inputs: q (required), page, limit.
updateFunctionCodeCDestructiveInspect
Update the source code of a function. The code can export either: 1) A 'main' function directly, OR 2) Any named function (auto-wrapped). Examples: Bitcoin price fetcher: 'export async function main() { const res = await fetch("https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd"); return { price_usd: (await res.json()).bitcoin.usd }; }'. With KV counter: 'import kv from "@microfn/kv"; export async function main() { const count = (await kv.get("visits")) || 0; await kv.set("visits", count + 1); return { visits: count + 1 }; }'. IMPORTANT: Always use default imports for @microfn/* modules. Requires functionName (format: 'username/functionName') and code parameters.
Inputs: code (required), functionName (required).
updateFunctionSettingsBDestructiveInspect
Update settings for a function, such as enabling/disabling MCP tool exposure.
Inputs: functionName (required), mcpToolEnabled (required).
waitForFunctionDeploymentARead-onlyInspect
Wait for a function deployment to complete. Uses PubSub integration for real-time updates with 30-second timeout. Returns immediately if not currently deploying.
Inputs: functionName (required), timeoutSeconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Manage Nife.io cloud apps, sites, secrets and Git integrations from MCP clients.
Build, deploy, and host full-stack web apps from any MCP client. DB, auth, storage, cron included.
A managed runtime for custom API integrations. Manage lines, endpoints, keys, logs and DLQ via MCP.
Build, validate, deploy — HTTP APIs, cron jobs, webhooks and MCP tools — from your AI client.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceExposes MetaCall FaaS capabilities as MCP tools for deploying, invoking, and managing serverless functions.8-
- AlicenseNot gradedqualityBmaintenanceCreate MCP servers from Python functions instantly, with support for input transformations and store-based CRUD operations.308 PyPIMIT
- AlicenseNot gradedqualityCmaintenanceEnables deploying, inspecting, and managing serverless functions on the MetaCall FaaS platform through a Model Context Protocol interface. Supports uploading zip packages, triggering deployments, retrieving logs, listing repositories and subscriptions, and invoking deployed functions with token-based authentication.Apache 2.0
- AlicenseAqualityFmaintenanceEnables building, verifying, previewing, deploying, diagnosing, updating, and rolling back full-stack Micro apps through typed local MCP tools backed by micro-cli.6839 npmMIT
Glama MCP Gateway
Add one secure layer between your agents and this server.