mcp-device-server
A Model Context Protocol (MCP) server for seamless integration with peripheral devices connected to your computer. Control, monitor, and manage hardware devices through a unified API.
Documentation
Devices MCP Server
A Model Context Protocol (MCP) server for seamless integration with peripheral devices connected to your computer. Control, monitor, and manage hardware devices through a unified API.
Supported Tools
- Camera Control: Capture images and record video from connected cameras
- Print Management: Send documents to printers and manage print jobs
- Audio Capabilities: Record from microphones and play audio through speakers
- Screen Capture: Take screenshots and record screen activity from connected displays
Prerequisites & Installation
System Dependencies
The following system dependencies are required for full functionality:
- FFMPEG: Required for screen and camera recording functionality
- PortAudio: Required for audio recording functionality
macOS
brew install ffmpeg portaudioLinux (Ubuntu/Debian)
sudo apt update
sudo apt install ffmpeg portaudio19-devLinux (Fedora)
sudo dnf install ffmpeg portaudio-develWindows
winget install ffmpegProject Installation
1. Clone the repository:
git clone https://github.com/akshitsinha/mcp-device-server.git
cd mcp-device-server2. Install Python dependencies:
uv syncUsage
Option A: Run directly:
uv run src/main.pyOption B: Use with Claude Desktop:
Add the following configuration to your `claude_desktop_config.json`:
{
"mcpServers": {
"mcp-device-server": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-device-server",
"run",
"src/main.py"
]
}
}
}Then restart Claude Desktop to load the server.
Configuration
Configure the server using environment variables. You can set these or create a `.env` file in the project root.
Available configuration options:
MCP_HOST=127.0.0.1 # Server host address
MCP_PORT=8000 # Server port
MCP_ENABLE_CAMERA=true # Enable camera functionality
MCP_ENABLE_PRINTER=true # Enable printer functionality
MCP_ENABLE_AUDIO=true # Enable audio functionality
MCP_ENABLE_SCREEN=true # Enable screen functionalityAvailable MCP Tools
Camera
| Tool | Description |
|---|---|
| `list_cameras` | List all connected cameras |
| `get_camera_info` | Get detailed camera information |
| `capture_image` | Take a picture from a camera |
| `start_video_recording` | Begin video recording |
| `stop_video_recording` | Stop video recording |
Printer
| Tool | Description |
|---|---|
| `list_printers` | List available printers |
| `print_file` | Send a file to a printer |
| `print_as_pdf` | Print file as PDF |
| `get_print_job` | Get print job information |
| `cancel_print_job` | Cancel a print job |
Audio
| Tool | Description |
|---|---|
| `list_audio_devices` | List all audio input/output devices |
| `record_audio` | Record from an input device |
| `stop_record_audio` | Stop recording from an input device |
| `play_audio` | Play audio through a device |
Screen
| Tool | Description |
|---|---|
| `list_displays` | List connected displays |
| `capture_screenshot` | Take a screenshot |
| `record_screen` | Start screen recording |
| `stop_record_screen` | Stop screen recording |
Documentation
For detailed information about all available tools and their usage, see the Tools Reference Wiki.
License
Frequently asked questions
What is mcp-device-server?
mcp-device-server is A Model Context Protocol (MCP) server for seamless integration with peripheral devices connected to your computer. Control, monitor, and manage hardware devices through a unified API.
How do I install mcp-device-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-device-server open source?
Yes — it is hosted on GitHub at https://github.com/akshitsinha/mcp-device-server and has 5 stars.
Related MCP tools
🙌 OpenHands: Code Less, Make More for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
Universal memory layer for AI Agents; Announcing OpenMemory MCP - local and secure memory management. Python-based implementation.
基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择ChatGPT/Claude/DeepSeek/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
🚀 The fast, Pythonic way to build MCP servers and clients Trusted by 19900+ developers. Trusted by 19900+ developers. Trusted by 19900+ developers.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. MaxKB 是强大易用的开源企业级智能体平台。 for the Model Context Protocol. Enhance AI assistants with po
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP