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.
curl -O https://raw.githubusercontent.com/jamesmontemagno/MonkeyMCP/main/.github/prompts/create-functions-mcp-server.prompt.mdgit clone --depth 1 https://github.com/jamesmontemagno/MonkeyMCPWrote 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.
[](https://agentmods.dev/commands/jamesmontemagno/monkeymcp/create-functions-mcp-server)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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*.csprojis 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.
-
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".
- For Node.js, it must use
-
The MCP server must be stateless.
- For Node.js,
StreamableHTTPServerTransportmust not havesessionIdGeneratorconfigured. - For Python, the server FastMCP server must be created with
stateless_http=True. The default value isFalse, so it must be explicitly set it toTrue.
- For Node.js,
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.
- Create a
host.jsonfile with the following content:{ "version": "2.0", "extensions": { "http": { "routePrefix": "" } }, "customHandler": { "description": { "defaultExecutablePath": "", "workingDirectory": "", "arguments": [] }, "enableProxyingHttpRequest": true } }
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.
- 1mo ago First seen · 137 lines · 20 tokens per session scan A 228a615aa855
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.
create-functions-mcp-server compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| create-functions-mcp-serverjamesmontemagno/MonkeyMCP | Command | 126 | 1mo ago | MIT | A | 20 | GitHub Copilot |
| migrate-architectureTheLobbi/claude | Command | 21 | 7d ago | MIT | A | 0 | Claude Code |
| scaffold-python-workerkumaran-is/claude-code-onboarding | Command | 36 | 4mo ago | MIT | A | 33 | Claude Code |
| diagnose-ssedatabayt/hogwarts | Command | 18 | 3d ago | none | A | 0 | Claude Code |
| saasheymegabyte/claude-skills | Command | 22 | 1mo ago | none | A | 43 | Claude Code |
| la-migrate-iseTheLobbi/Claude-m | Command | 18 | 1mo ago | none | A | 25 | Claude Code |
| apim-setupTheLobbi/Claude-m | Command | 18 | 1mo ago | none | A | 19 | Claude Code |