
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
gradio_url_buttons
Gradio custom compnent for adding URL buttons
pip install gradio_url_buttons
import gradio as gr
from gradio_url_buttons import source_buttons
def add_source():
return [{"link": "https://www.github.com", "hostname": "Github.com"}, {"link": "https://www.hkk.de", "hostname": "HKK.de"}]
with gr.Blocks() as demo:
gr.Markdown("# Change the value (keep it JSON) and the front-end will update automatically.")
source_buttons(value=[])
buttons = source_buttons()
click = gr.Button("Click me")
source_buttons(value=[{"link": "https://www.google.com", "hostname": "Google.com"}, {"link": "https://www.hkk.de", "hostname": "HKK.de"}])
click.click(add_source, inputs=[], outputs=[buttons])
if __name__ == "__main__":
demo.launch()
source_buttons
name | type | default | description |
---|---|---|---|
value |
| None | None |
label |
| None | None |
info |
| None | None |
show_label |
| None | None |
container |
| True | None |
scale |
| None | None |
min_width |
| None | None |
interactive |
| None | None |
visible |
| True | None |
elem_id |
| None | None |
elem_classes |
| None | None |
render |
| True | None |
load_fn |
| None | None |
every |
| None | None |
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.