Skip to main content
Glama
server.cpython-311.pyc2.06 kB
� �P�g���l�ddlmZddlZddlZddlmZdejd<ej�dd��Zeejd<e d e����ed ��Z e � ��d e d e fd ���Z e � ��d efd���Zd�Zedkr e��dSdS)�)�FastMCPN)�AsyncWebCrawlerz0.0.0.0�MCP_HOST�PORT�8000�MCP_PORTzStarting server on port �Demo�url�returnc���K�t��4�d{V��}|�|����d{V��}|jcddd���d{V��S#1�d{V��swxYwYdS)z3Crawl a web page and return the content as markdownN)r )r�arun�markdown)r �crawler�results �SC:\Users\bisun\OneDrive\Desktop\Dub2AI\5_Test_MCP_Deployment\MCP-Test-Run\server.py� crawl_webrs����� � ��������G��|�|��$� � � � � � � � ���� ��������������������������������s�#A � A�Ac� �ddiS)zCheck if the server is healthy�status�healthy�r�r� health_checkrs�� �i� � rc�8�t���dS)N)�mcp�runrrr�mainr!s���G�G�I�I�I�I�Ir�__main__)�mcp.server.fastmcpr�asyncio�os�crawl4air�environ�get�port�printr�tool�strr�dictrr�__name__rrr�<module>r*s*��&�&�&�&�&�&����� � � � �$�$�$�$�$�$�#�� �:�� �z�~�~�f�f�%�%���� �:����'��'�'�(�(�(��g�f�o�o�������������� ��������!�d�!�!�!� ��!����  �z����D�F�F�F�F�F��r

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/orange-fruit01/MCP-Test-Run'

If you have feedback or need assistance with the MCP directory API, please join our Discord server