Skip to main content
Glama
evalstate

Hugging Face MCP Server

by evalstate
skybridge1.py803 B
import asyncio from fast_agent import FastAgent from fast_agent.mcp.skybridge import SkybridgeServerConfig # Create the application fast = FastAgent("mcp server tests") # Define the agent @fast.agent(name="skybridge",instruction="You are a helpful AI Agent",servers=["skybridge"]) async def main(): # use the --model command line switch or agent arguments to change model async with fast.run() as agent: await agent.interactive() hf_config: SkybridgeServerConfig = await agent.skybridge._aggregator.get_skybridge_config("skybridge") for res in hf_config.ui_resources: content = await agent.skybridge.get_resource(str(res.uri)) print(content.contents[0]) await agent.interactive() if __name__ == "__main__": asyncio.run(main())

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/evalstate/hf-mcp-server'

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