SiLA MCP Server
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., "@SiLA MCP Serverlist all available commands on the device"
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.
SiLA MCP Server
A Model Context Protocol (MCP) server that acts as a bridge between Claude (or other MCP clients) and an existing SiLA server controlling lab devices.
Overview
This MCP server exposes laboratory device functionality through the MCP protocol, allowing AI assistants to:
Query device information and status
List available commands
Execute device commands
Monitor device parameters in real-time
Related MCP server: UART MCP Server
Prerequisites
Node.js 18+
A running SiLA server with REST API endpoints
npm or yarn
Installation
Clone or download this project
Install dependencies:
npm installBuild the TypeScript code:
npm run buildConfiguration
The server reads configuration from environment variables:
SILA_SERVER_URL: The URL of your SiLA server (default:http://localhost:50051)SILA_SERVER_INSECURE: Whether to allow insecure connections (default:true)
Example:
export SILA_SERVER_URL=http://192.168.1.100:50051
export SILA_SERVER_INSECURE=falseRunning the Server
Development mode (with auto-rebuild):
npm run watchProduction mode:
npm startMCP Capabilities
Tools
get_device_info: Retrieve device information including name, type, manufacturer, serial number, and firmware version
list_device_commands: Get all available commands the device supports
execute_command: Execute a command on the device with optional parameters
get_device_status: Get real-time device status including operational state
Resources
sila://device/info: Device metadata and capabilities (read-only)
sila://device/status: Current device status (read-only)
Integration with Claude
To use this MCP server with Claude, add it to your MCP configuration:
{
"mcpServers": {
"sila": {
"command": "node",
"args": ["path/to/build/index.js"],
"env": {
"SILA_SERVER_URL": "http://localhost:50051"
}
}
}
}SiLA Server Requirements
Your SiLA server should provide the following REST API endpoints:
GET /health- Health check endpointGET /device/info- Device informationGET /device/status- Device statusGET /device/commands- List available commandsPOST /device/commands/{commandName}- Execute a commandGET /device/parameters/{parameterName}- Get parameter valuePUT /device/parameters/{parameterName}- Set parameter value
Project Structure
.
├── src/
│ ├── index.ts # Main MCP server implementation
│ └── sila-client.ts # SiLA server client library
├── build/ # Compiled JavaScript (generated)
├── package.json
├── tsconfig.json
└── README.mdDevelopment
Build for production:
npm run buildWatch mode (recommended for development):
npm run watchTroubleshooting
Connection Issues
Verify the SiLA server is running at the configured URL
Check firewall rules allow communication
Enable debug logging by setting
DEBUG=*
Missing Device Endpoints
Ensure your SiLA server implements all required REST endpoints
Check the endpoint paths match the expected format
Review SiLA server documentation
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ahueber/sila-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server