MCP.so
登录

MicroFn MCP Server (Python)

@microfnhq

基本信息

分类

其他

传输方式

stdio

作者

microfnhq

关于 MicroFn MCP Server

暂无概览

MicroFn MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-server-microfn": {
      "command": "python",
      "args": [
        "my_server.py"
      ]
    }
  }
}

MicroFn MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MicroFn MCP Server (Python)?

MicroFn MCP Server (Python) is a FastMCP server that exposes Model Context Protocol (MCP) tools for the MicroFn platform, enabling integration and automation of function creation, execution, and management. It is tailored for developers building automated workflows with MicroFn.

How to use MicroFn MCP Server (Python)?

Ensure Python 3.8+, FastMCP, and a valid MICROFN_API_TOKEN environment variable are set. Install dependencies with pip install -r requirements.txt, then start the server via python my_server.py or using the FastMCP CLI. Add the provided JSON configuration to your MCP settings to integrate the server as a tool provider.

Key features of MicroFn MCP Server (Python)

  • Test connectivity with a simple ping/pong tool.
  • List all functions for the authenticated MicroFn user.
  • Execute functions in a workspace with a JSON payload.
  • Create, rename, and update function code.
  • Manage npm packages (list, install, update, remove).
  • Manage secrets for functions (create, list, delete).
  • Check the latest deployment status for a function.

Use cases of MicroFn MCP Server (Python)

  • Automate creating and updating serverless functions via MCP tools.
  • Execute a MicroFn function from an AI assistant or automation pipeline.
  • Manage function secrets and npm dependencies programmatically.
  • Integrate MicroFn into larger code-generation or CI/CD workflows.
  • Test and debug function deployments directly from an MCP client.

常见问题

1

What dependencies are required?

Python 3.8+, FastMCP, and a valid MicroFn API token set as `MICROFN_API_TOKEN`.

2

How does data flow between the client and MicroFn?

The server acts as a bridge: the MCP client calls a tool (e.g., `execute_function`), the server sends a request to the MicroFn API, and returns the API response to the client.

3

How do I authenticate?

Set the `MICROFN_API_TOKEN` environment variable with your MicroFn API token before starting the server.

4

What happens if I try to overwrite a secret?

Secrets cannot be overwritten. You must delete the existing secret first before creating a new one with the same key.

5

Does the server support non-stdio transports?

The README only demonstrates stdio and FastMCP dev mode. No other transports are documented.

评论

其他 分类下的更多 MCP 服务器