MCP Server
MCP
io.github.SamYuan1990/i18n-agent-action
An i18n github action for language translate
Install
oci:ghcr.io/SamYuan1990/i18n-agent-action:mcp
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "oci",
"identifier": "ghcr.io/SamYuan1990/i18n-agent-action:mcp",
"runtimeHint": "docker",
"transport": {
"type": "sse",
"url": "https://example.com:8080/sse"
},
"runtimeArguments": [
{
"description": "Port mapping from host to container",
"value": "8080:8080",
"type": "named",
"name": "-p"
},
{
"description": "API key for the i18n service",
"value": "api_key={api_key}",
"variables": {
"api_key": {
"description": "Your API key for the translation service",
"isRequired": true,
"format": "string",
"isSecret": true
}
},
"type": "named",
"name": "-e"
},
{
"description": "Volume mount for model files",
"value": "{models_path}:/app/models",
"variables": {
"models_path": {
"description": "Path to your models directory on the host",
"isRequired": true,
"format": "filepath",
"default": "/path/to/your/models"
}
},
"type": "named",
"name": "-v"
},
{
"description": "Encoder model file path",
"value": "encoder={encoder_file}",
"variables": {
"encoder_file": {
"description": "Encoder model file name",
"isRequired": true,
"format": "string",
"default": "/app/models/your-encoder.onnx"
}
},
"type": "named",
"name": "-e"
},
{
"description": "Decoder model file path",
"value": "decoder={decoder_file}",
"variables": {
"decoder_file": {
"description": "Decoder model file name",
"isRequired": true,
"format": "string",
"default": "/app/models/your-decoder.onnx"
}
},
"type": "named",
"name": "-e"
},
{
"description": "Tokens model file path",
"value": "tokens={tokens_file}",
"variables": {
"tokens_file": {
"description": "Tokens model file name",
"isRequired": true,
"format": "string",
"default": "/app/models/your-tokens.onnx"
}
},
"type": "named",
"name": "-e"
}
]
}
]
}
mcp
model-context-protocol
oci
Comments
Sign in to leave a comment