Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Device MCP Servertake a screenshot of my main display"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: MISP-MCP-SERVER
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
Clone the repository:
git clone https://github.com/akshitsinha/mcp-device-server.git
cd mcp-device-serverInstall 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 all connected cameras |
| Get detailed camera information |
| Take a picture from a camera |
| Begin video recording |
| Stop video recording |
Printer
Tool | Description |
| List available printers |
| Send a file to a printer |
| Print file as PDF |
| Get print job information |
| Cancel a print job |
Audio
Tool | Description |
| List all audio input/output devices |
| Record from an input device |
| Stop recording from an input device |
| Play audio through a device |
Screen
Tool | Description |
| List connected displays |
| Take a screenshot |
| Start screen recording |
| Stop screen recording |
Documentation
For detailed information about all available tools and their usage, see the Tools Reference Wiki.