GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — func/docs/reference/func_mcp.md at main · stackbuilders/func

Expand file tree

/

func_mcp.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
61 lines (42 loc) · 1.79 KB
/

func_mcp.md

Copy path

File metadata and controls

61 lines (42 loc) · 1.79 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

func mcp

Model Context Protocol (MCP) server

Synopsis

NAME func mcp - Model Context Protocol (MCP) server

SYNOPSIS func mcp [command] [flags] DESCRIPTION The Functions Model Context Protocol (MCP) server can be used to give agents the power of Functions.

Configure your agentic client to use the MCP server with command
"func mcp start".  Then get the conversation started with

"Let's create a Function!".

By default the MCP server operates in read-only mode, allowing Function
creation, building, and inspection, but preventing deployment and deletion.
To enable full write access (deploy and delete operations), set the
environment variable FUNC_ENABLE_MCP_WRITE=true.

This is an experimental feature, and using an LLM to create and deploy
code running on your cluster requires careful supervision. Functions is
an inherently "mutative" tool, so enabling write mode for your LLM is
essentially giving (sometimes unpredictable) AI the ability to create,
modify, deploy, and delete Function instances on your currently connected
cluster.

The command "func mcp start" is meant to be invoked by your MCP
client (such as Claude Code, Cursor, VS Code, Windsurf, etc.); not run
directly. Configure your client of choice with a new MCP server which runs
this command.  For example, in Claude Code this can be accomplished with:
  claude mcp add func func mcp start
Instructions for other clients can be found at:
  https://github.com/knative/func/blob/main/docs/mcp-integration/integration.md

AVAILABLE COMMANDS start Start the MCP server (for use by your agent)

EXAMPLES

o View this help:
	func mcp --help

Options

  -h, --help   help for mcp

SEE ALSO

  • func - func manages Knative Functions
  • func mcp start - Start the MCP server
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.