MonkeyMCP: Command for GitHub Copilot

.github/prompts/create-functions-mcp-server.prompt.md

create-functions-mcp-server is a command for GitHub Copilot from jamesmontemagno/MonkeyMCP. It costs 20 tokens per session (1,558 once invoked), scanned A, original, MIT.

A project setup command that adds the files needed to run an existing MCP server on Azure Functions. MCP, the Model Context Protocol, lets an AI client call tools provided by a server; Azure Functions is Microsoft's serverless hosting service.

In plain words
What is it for?
Use it to prepare a Node.js, Python, or C# MCP server that uses streamable HTTP and stateless operation for Azure Functions.
Why use it?
It avoids manually creating the hosting structure and stops when the server does not meet the required HTTP and statelessness conditions.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt. Also seen: model in frontmatter.

This is jamesmontemagno/MonkeyMCP's own configuration. It tells GitHub Copilot how to work on MonkeyMCP itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MonkeyMCP configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/site/wwwroot/.python_packages/lib/site-packages.

Reuse

Borrowing it

Nothing to install: this file belongs to jamesmontemagno/MonkeyMCP. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jamesmontemagno/MonkeyMCP/main/.github/prompts/create-functions-mcp-server.prompt.md
Clone the repo
git clone --depth 1 https://github.com/jamesmontemagno/MonkeyMCP

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-functions-mcp-server

README.md
[![agentmods](https://agentmods.dev/badge/commands/jamesmontemagno/monkeymcp/create-functions-mcp-server/github.svg)](https://agentmods.dev/commands/jamesmontemagno/monkeymcp/create-functions-mcp-server)
Your own site
<a href="https://agentmods.dev/commands/jamesmontemagno/monkeymcp/create-functions-mcp-server"><img src="https://agentmods.dev/badge/commands/jamesmontemagno/monkeymcp/create-functions-mcp-server/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-functions-mcp-server

Your own site · 80×15
<a href="https://agentmods.dev/commands/jamesmontemagno/monkeymcp/create-functions-mcp-server"><img src="https://agentmods.dev/badge/commands/jamesmontemagno/monkeymcp/create-functions-mcp-server.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,558 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.01558
Opus 5.5 $0.00008 $0.00623
Sonnet 5.5 $0.00004 $0.00312
Haiku 4.5 $0.00002 $0.00156

Measured 1mo ago against content hash 228a615aa855, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-functions-mcp-server scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/prompts/create-functions-mcp-server.prompt.md · 137 lines

How it starts

The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Your goal is to take the MCP server in the current codebase and add the necessary files to turn it into an MCP server that runs on Azure Functions.

Prerequisites

  • Languages supported: Node.js (TypeScript, JavaScript), Python, C#
  • Create the Azure Functions project structure in the root of the MCP server project (e.g., folder where package.json, or *.csproj is located). If you can't find the root, ask for it. Specifically it is the MonkeyMCPSSE

Additional validations

Important: STOP if the MCP server does not meet the following requirements. Do not attempt to fix the MCP server code, just inform the user that the MCP server does not meet the requirements and exit.

  1. The MCP server must use streamable HTTP transport, not stdio.

    • For Node.js, it must use StreamableHTTPServerTransport.
    • For Python, the FastMCP server must be run with transport="streamable-http".
  2. The MCP server must be stateless.

    • For Node.js, StreamableHTTPServerTransport must not have sessionIdGenerator configured.
    • For Python, the server FastMCP server must be created with stateless_http=True. The default value is False, so it must be explicitly set it to True.

Again, this is super important -- if the above conditions are not met, STOP and don't make any changes.

Steps

Take these general steps to convert the MCP server into an Azure Functions app.

Duplicate

Duplicate the current codebase to a new folder named <original-folder-name>Remote where <original-folder-name> is the name of the current folder. This is to ensure that the original MCP server code remains unchanged.

Create the Azure Functions project structure

Add the necessary files to run the MCP server as a custom handler in Azure Functions.

  1. Create a host.json file with the following content:
    {
        "version": "2.0",
        "extensions": {
            "http": {
                "routePrefix": ""
            }
        },
        "customHandler": {
            "description": {
                "defaultExecutablePath": "",
                "workingDirectory": "",
                "arguments": []
            },
            "enableProxyingHttpRequest": true
        }
    }
    

Read the full file on GitHub · 137 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 137 lines · 20 tokens per session scan A 228a615aa855

Subscribe to this mod's changes

create-functions-mcp-server is a command published in the GitHub repository jamesmontemagno/MonkeyMCP (126 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 1,558 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-30.

Related

create-functions-mcp-server compared with commands from other repositories

create-functions-mcp-server next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-functions-mcp-serverjamesmontemagno/MonkeyMCPCommand1261mo agoMITA20GitHub Copilot
migrate-architectureTheLobbi/claudeCommand217d agoMITA0Claude Code
scaffold-python-workerkumaran-is/claude-code-onboardingCommand364mo agoMITA33Claude Code
diagnose-ssedatabayt/hogwartsCommand183d agononeA0Claude Code
saasheymegabyte/claude-skillsCommand221mo agononeA43Claude Code
la-migrate-iseTheLobbi/Claude-mCommand181mo agononeA25Claude Code
apim-setupTheLobbi/Claude-mCommand181mo agononeA19Claude Code