We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Matthew-Wise/umbraco-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { UmbracoManagementClient } from "@umb-management-client";
import { CreateUmbracoTool } from "@/helpers/create-umbraco-tool.js";
const GetTemporaryFileConfigurationTool = CreateUmbracoTool(
"get-temporary-file-configuration",
`Gets the global configuration for temporary files
This endpoint tells you the following
- imageFileTypes - which files are considered as images
- disallowedUploadedFilesExtensions - which file extensions are not allowed to be uploaded
- allowedUploadedFileExtensions - which file extensions are allowed to be uploaded
- maxFileSize - the maximum file size in bytes, if null then there is no limit
`,
{},
async () => {
const client = UmbracoManagementClient.getClient();
const response = await client.getTemporaryFileConfiguration();
return {
content: [
{
type: "text" as const,
text: JSON.stringify(response),
},
],
};
}
);
export default GetTemporaryFileConfigurationTool;