MCPcopy Create free account

hub / github.com/KelvinQiu802/cursor-mcp-demo / functions

Functions17 in github.com/KelvinQiu802/cursor-mcp-demo

↓ 3 callersFunctionmake_nws_request
Make a request to the NWS API with proper error handling.
quickstart-resources/weather-server-python/weather.py:12
↓ 3 callersMethodrun
()
hn-server/src/index.ts:169
↓ 1 callersMethodchat_loop
Run an interactive chat loop
quickstart-resources/mcp-client/client.py:111
↓ 1 callersMethodcleanup
Clean up resources
quickstart-resources/mcp-client/client.py:129
↓ 1 callersMethodconnect_to_server
Connect to an MCP server Args: server_script_path: Path to the server script (.py or .js)
quickstart-resources/mcp-client/client.py:20
↓ 1 callersMethodfetchStories
(type: string = 'top')
hn-server/src/index.ts:54
↓ 1 callersFunctionformat_alert
Format an alert feature into a readable string.
quickstart-resources/weather-server-python/weather.py:26
↓ 1 callersFunctionisValidStoryType
(type: string)
hn-server/src/index.ts:23
↓ 1 callersFunctionmain
()
quickstart-resources/mcp-client/client.py:133
↓ 1 callersFunctionmain
()
quickstart-resources/weather-server-typescript/src/index.ts:63
↓ 1 callersFunctionmain
()
dify-demo/src/index.ts:75
↓ 1 callersMethodprocess_query
Process a query using Claude and available tools
quickstart-resources/mcp-client/client.py:49
↓ 1 callersMethodsetupToolHandlers
()
hn-server/src/index.ts:100
Method__init__
(self)
quickstart-resources/mcp-client/client.py:14
Methodconstructor
()
hn-server/src/index.ts:31
Functionget_alerts
Get weather alerts for a US state. Args: state: Two-letter US state code (e.g. CA, NY)
quickstart-resources/weather-server-python/weather.py:38
Functionget_forecast
Get weather forecast for a location. Args: latitude: Latitude of the location longitude: Longitude of the location
quickstart-resources/weather-server-python/weather.py:57