Skip to main content
Glama

Device MCP Server

by akshitsinha
server.py708 B
from fastmcp import FastMCP from config import Settings from devices import camera, printer, audio, screen def create_app(settings: Settings) -> FastMCP: app = FastMCP( name="MCP Peripherals", instructions="A device server that provides access to various computer peripherals including camera, printer, audio and screen. Use the available tools to interact with connected hardware components.", ) if settings.enable_camera: camera.register_tools(app) if settings.enable_printer: printer.register_tools(app) if settings.enable_audio: audio.register_tools(app) if settings.enable_screen: screen.register_tools(app) return app

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/akshitsinha/mcp-device-server'

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