We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gingerol/UnrealEngine-ai-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
---
description:
globs: Python/**/tools/*.py
alwaysApply: false
---
# Guidelines for using Python for MCP Tools
The following guidelines apply to any method or function marked with the @mcp.tool() decorator.
- Parameters should not have any of the following types: `Any`, `object`, `Optional[T]`, `Union[T]`.
- For a given parameter `x` of type `T` that has a default value, do not use type `x : T | None = None`. Instead, use `x: T = None` and handle defaults within the method body itself.
- Always include method docstrings and make sure to given proper examples of valid inputs especially when no type hints are present.
When this rule is applied, please remember to explicitly mention it.