Skip to main content
Glama

Server Details

Create, deploy and run serverless JavaScript functions on microfn from any MCP client.

Ownership verified
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

A3.5/5.0

Scored across 20 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count4/5

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.

Completeness4/5

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 tools
checkCodeB
Read-only
Inspect

Validate and lint TypeScript code snippet for MicroFn. Returns validation results and package extraction summary.

Inputs: code (required).

checkDeploymentB
Read-only
Inspect

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).

deleteSecretA
Destructive
Inspect

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).

getExecutionA
Read-only
Inspect

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).

getFunctionA
Read-only
Inspect

Get details of a function (no source code). Use getFunctionCode for code. Requires functionName parameter in format 'username/functionName'.

Inputs: functionName (required).

getFunctionCodeB
Read-only
Inspect

Get the source code of a function. Requires functionName parameter in format 'username/functionName'.

Inputs: functionName (required).

getSecretsC
Read-only
Inspect

Retrieves all secrets for the specified function

Inputs: functionName (required).

listExecutionsA
Read-only
Inspect

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.

listFunctionsA
Read-only
Inspect

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.

listPackagesB
Read-only
Inspect

Lists packages from the latest deployment. Requires functionName parameter in format 'username/functionName'.

Inputs: functionName (required).

pingA
Read-only
Inspect

Simple ping tool to test connectivity

Inputs: no named parameters.

renameFunctionC
Destructive
Inspect

Rename a function/workspace

Inputs: newName (required), functionName (required).

searchFunctionsA
Read-only
Inspect

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.

updateFunctionCodeC
Destructive
Inspect

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).

updateFunctionSettingsB
Destructive
Inspect

Update settings for a function, such as enabling/disabling MCP tool exposure.

Inputs: functionName (required), mcpToolEnabled (required).

waitForFunctionDeploymentA
Read-only
Inspect

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

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Create MCP servers from Python functions instantly, with support for input transformations and store-based CRUD operations.
      308 PyPI
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources