Skip to main content
Glama

mcp-tool-builder

by hanweg
get_bitcoin_price.cpython-310.pyc680 B
o ӡig��@s dd�ZdS)cCszddlm}m}ddl}z*|�d��}|�|���}d|ddd��Wd�WS1s/wYWdSYdS) N�)�request�errorzKhttps://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usdzCurrent Bitcoin price: $ZbitcoinZusdz,.2fz$Error: Unable to fetch Bitcoin price)�urllibrr�json�urlopen�loads�read)rrr�response�data�r �[C:\Users\TMartikainen\Desktop\vscode\MCP\mymcps\mcp-tool-builder\tools\get_bitcoin_price.py�get_bitcoin_prices (�r N)r r r r r �<module>s 

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/hanweg/mcp-tool-builder'

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