Laya Serve MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LAYA_MODELS | No | LAYA_MODELS accepts either a comma-separated list such as english,multilingual or a JSON array. | |
| LAYA_API_KEY | No | Use LAYA_API_KEY to require Authorization: Bearer <key> for REST and MCP HTTP requests. | |
| LAYA_REVISION | No | Set LAYA_REVISION to a reviewed Hugging Face commit or tag in a production deployment; the selected revision is included in GET /v1/models. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| laya_predictC | Answer typed choice, score, and yes/no questions using Laya. |
| laya_statusA | Report the checkpoints currently loaded by the Laya service. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
laya_predict performs inference while laya_status reports loaded checkpoints; these are clearly distinct resource+action pairs with no overlap. An agent cannot reasonably confuse one for the other.
Both tools follow the same laya_<verb> snake_case pattern (laya_predict, laya_status). The convention is uniform and predictable.
Two tools is minimal but each earns its place for a thin inference-serving surface (predict + service status). Slightly under the typical 3-15 range, though adding a model-list or health tool would round it out.
Core prediction and checkpoint status are covered, but there is no way to list/select available models, load or swap checkpoints, or check service health. Agents must assume a default model, which is a notable gap for a serving API.