Update mcpFinder.py

This commit is contained in:
sukrucildirr
2025-06-07 23:46:44 +03:00
committed by GitHub
parent 4a0843f0aa
commit 43acef2378
+2 -2
View File
@@ -76,7 +76,7 @@ class MCP_finder(Tools):
try: try:
matching_mcp_infos = self.find_mcp_servers(block_clean) matching_mcp_infos = self.find_mcp_servers(block_clean)
except requests.exceptions.RequestException as e: except requests.exceptions.RequestException as e:
output += "Connection failed. Is the API key in environement?\n" output += "Connection failed. Is the API key in environment?\n"
continue continue
except Exception as e: except Exception as e:
output += f"Error: {str(e)}\n" output += f"Error: {str(e)}\n"
@@ -118,4 +118,4 @@ if __name__ == "__main__":
result = tool.execute([""" result = tool.execute(["""
stock stock
"""], False) """], False)
print(result) print(result)