Skip to content

Commit c59b2ea

Browse files
committed
Updating README with updated source code
1 parent 2729530 commit c59b2ea

File tree

4 files changed

+7
-97
lines changed

4 files changed

+7
-97
lines changed

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ You are an ai assistant tasked assisting the developer to build and deploy MCP S
33
Here are some specific requirements and pieces of context:
44

55
- This must build a working Azure Function project complete with code, Readme changes, and AZD bicep. The original repo is already in this state, so your job is to preserve it.
6-
- There are some supporting files in the /migratefrom folder that should be translated from typescript to python and put in the root Readme. Most importantly is the readme file which sets all the text and format, but it needs to change to adapt to the folder structure and python files in this project.
6+
- if i ask you ever to say hello, save a snippet, or get a snippet, please do not prompt me to run the function first or run vs code tasks. instead simply run the tools provided as mcp servers
77
- AZD and the func (aka Azure Functions Core Tools) commandline tools are the main tools to be used for deployment, provisioning and running locally. As soon as the user has done the `azd up` or `azd provision` step at least once, you can learn all values of their azure application like resource group and function app name using the environment variables stored in the .azure folder. Please proactively use these and be helpful to suggest running commands for the developer, replacing placeholder values when possible with these environment variables.
88
- This particular project is Python Azure Function using the v2 programming model
99
- We prefer using Azure Functions bindings if they can work versus the Azure SDKs, but Azure SDKs are ok if there is no substitute.

CHANGELOG.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 0 additions & 76 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def hello_mcp(context) -> None:
211211
type="mcpToolTrigger",
212212
toolName="getsnippet",
213213
description="Retrieve a snippet by name.",
214-
toolProperties=f"[{{\"propertyName\":\"{_SNIPPET_NAME_PROPERTY_NAME}\",\"propertyType\":\"string\",\"description\":\"The name of the snippet.\"}}]"
214+
toolProperties=tool_properties_get_snippets_json
215215
)
216216
@app.generic_input_binding(
217217
arg_name="file",
@@ -240,9 +240,8 @@ def get_snippet(file: func.InputStream, context) -> str:
240240
type="mcpToolTrigger",
241241
toolName="savesnippet",
242242
description="Save a snippet with a name.",
243-
toolProperties=f"[{{\"propertyName\":\"{_SNIPPET_NAME_PROPERTY_NAME}\",\"propertyType\":\"string\",\"description\":\"The name of the snippet.\"}},"
244-
f"{{\"propertyName\":\"{_SNIPPET_PROPERTY_NAME}\",\"propertyType\":\"string\",\"description\":\"The content of the snippet.\"}}]"
245-
)
243+
toolProperties=tool_properties_save_snippets_json
244+
)
246245
@app.generic_output_binding(
247246
arg_name="file",
248247
type="blob",
@@ -267,7 +266,7 @@ def save_snippet(file: func.Out[str], context) -> str:
267266
268267
## Next Steps
269268
270-
- Add [API Management](https://learn.microsoft.com/azure/api-management/api-management-key-concepts) to your MCP server
271-
- Add [EasyAuth](https://learn.microsoft.com/azure/app-service/overview-authentication-authorization) to your MCP server
269+
- Add [API Management]() to your MCP server
270+
- Add [EasyAuth]() to your MCP server
272271
- Enable VNET using VNET_ENABLED=true flag
273-
- Learn more about [related MCP efforts from Microsoft](https://github.com/modelcontextprotocol)
272+
- Learn more about [related MCP efforts from Microsoft]()

0 commit comments

Comments
 (0)