@functionfly/mcp-server
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@functionfly/mcp-serversearch the registry for image processing functions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@functionflycom/mcp-server
MCP server for FunctionFly — enables AI agents (Claude Desktop, Cursor, etc.) to interact with the FunctionFly platform directly.
Features
Registry search — Find functions by name, author, runtime, or keyword
Function execution — Execute any public or private function with JSON input
Function publishing — Publish new functions or versions with source code and manifest
Agent marketplace — Search and execute AI agents
Usage analytics — View call counts and compute usage for your tenant
Cost analytics — View cost breakdown by function
Vault secrets — Zero-knowledge secret storage with client-side AES-256-GCM encryption
StateFabric — Stateful workflow execution — list fabrics, pipelines, and trigger pipeline runs
Related MCP server: Codehooks.io MCP Server
Installation
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"functionfly": {
"command": "npx",
"args": ["-y", "@functionflycom/mcp-server"],
"env": {
"FUNCTIONFLY_API_KEY": "ffp_your_api_key_here"
}
}
}
}Cursor
Add to your Cursor MCP settings (Settings → MCP → Add new server):
{
"mcpServers": {
"functionfly": {
"command": "npx",
"args": ["-y", "@functionflycom/mcp-server"],
"env": {
"FUNCTIONFLY_API_KEY": "ffp_your_api_key_here"
}
}
}
}Configuration
Environment Variable | Required | Default | Description |
| Yes | — | Your FunctionFly API key (starts with |
| No |
| API base URL |
| No |
| Execution timeout (ms, max 300000) |
| No |
| Log level: |
| For vault tools | — | Passphrase for AES-256-GCM vault encryption/decryption |
Available Tools
Registry Tools
registry_search_functions
Search the public function registry.
{
"query": "image processing",
"runtime": "python",
"page": 1,
"limit": 20
}registry_get_function
Get metadata for a specific function.
{
"author": "acme",
"name": "resize-image"
}registry_execute_function
Execute a function and get its result.
{
"author": "acme",
"name": "resize-image",
"input": { "url": "https://example.com/image.jpg", "width": 800 },
"version": "1.2.3"
}registry_publish_function
Publish a new function or version to the registry. Requires authentication.
{
"author": "acme",
"name": "resize-image",
"version": "1.2.3",
"manifest": {
"runtime": "python3.12",
"description": "Resize an image to specified dimensions",
"timeout_ms": 10000,
"memory_mb": 256,
"public": true,
"deterministic": false,
"input_schema": {
"type": "object",
"properties": {
"url": { "type": "string", "description": "Image URL" },
"width": { "type": "integer", "description": "Target width" }
},
"required": ["url"]
}
},
"source": {
"code": "import requests\nfrom PIL import Image\n...\nreturn {'url': output_url}",
"runtime": "python3.12"
},
"changelog": {
"category": "feature",
"title": "Add width-only resize support",
"description": "Image can now be resized by width alone while preserving aspect ratio",
"changes": [
{
"component": "input schema",
"field": "height",
"description": "Made height optional"
}
]
}
}Agent Tools
agents_search
Search the agent marketplace.
{
"query": "data analysis",
"page": 1,
"limit": 20
}agents_execute
Execute an agent by ID.
{
"agentId": "agent_abc123",
"input": { "data": "some input data" }
}Analytics Tools
analytics_get_usage
Get usage metrics for your tenant.
{
"startDate": "2024-06-01",
"endDate": "2024-06-30",
"granularity": "day"
}analytics_get_costs
Get cost breakdown for your tenant.
{
"startDate": "2024-06-01",
"endDate": "2024-06-30",
"groupBy": "function"
}Vault Tools (Zero-Knowledge)
Zero-knowledge architecture: Secrets are encrypted client-side before leaving your machine. The FunctionFly server stores only ciphertext. Set
VAULT_PASSPHRASEto control encryption.
vault_list_secrets
List secrets in your vault (metadata only, no values).
{
"namespace": "production",
"limit": 20,
"offset": 0
}vault_get_secret
Get and decrypt a secret. Uses VAULT_PASSPHRASE env var for decryption.
{
"id": "550e8400-e29b-41d4-a716-446655440000"
}vault_set_secret
Create a new secret. The value is encrypted client-side before upload. Uses VAULT_PASSPHRASE env var.
{
"name": "github-api-key",
"value": "ghp_xxxx",
"secret_type": "api_key",
"description": "GitHub personal access token",
"namespace": "production"
}vault_delete_secret
Permanently delete a secret by ID.
{
"id": "550e8400-e29b-41d4-a716-446655440000"
}StateFabric Tools (Stateful Workflows)
statefabric_list_fabrics
List all stateful workflows (StateFabrics) for your tenant.
{
"limit": 20,
"offset": 0
}statefabric_get_fabric
Get details of a specific StateFabric.
{
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}statefabric_list_pipelines
List all pipelines within a StateFabric.
{
"fabricId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"limit": 20,
"offset": 0
}statefabric_execute_pipeline
Execute a pipeline within a StateFabric and return its result.
{
"fabricId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"pipelineId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"input": { "key": "value" }
}Error Codes
MCP Code | Meaning |
| Invalid API key |
| Function not found or execution error |
| Rate limited (after retry exhaustion) |
| Network or timeout error |
| Payment required (insufficient balance) |
| Quota exceeded |
Security
MVP limitation: The MCP server uses a single API key for all operations. Any AI agent with access to the MCP server can perform any action your API key allows (publish functions, execute paid functions, spend credits, etc.). Use a scoped API key with minimal permissions for MCP integrations. A future release will introduce MCP-scoped API keys with restricted permissions.
All API keys are redacted from logs. Sensitive fields (secret, token, ciphertext, etc.) are also redacted.
Development
# Install dependencies
npm install
# Type check
npm run typecheck
# Lint
npm run lint
# Test
npm test
# Build
npm run build
# Run locally
FUNCTIONFLY_API_KEY=ffp_test ./dist/index.jsPublishing
Create a git tag to trigger an npm release:
git tag v1.0.0
git push origin v1.0.0The release workflow will build, publish to npm, and create a GitHub release automatically.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/functionfly/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server