A Model Context Protocol (MCP) server built with Spring Boot and Spring AI that provides translation capabilities using a local Ollama instance.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"translate-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server built with Spring Boot and Spring AI that provides translation capabilities using
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in writing
A markdown editor — and the bridge to your LLM. Local-first, MIT, ~15 MB. Bundled MCP server lets Claude Code / Codex / Cursor drive your vault directly. 14 AI providers BYOK.
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
Define task-specific AI sub-agents in Markdown for any MCP-compatible tool.
一键同步文章到多个内容平台,支持今日头条、WordPress、知乎、简书、掘金、CSDN、typecho各大平台,一次发布,多平台同步发布。解放个人生产力
MCP Security Weekly
Get CVE alerts and security updates for Translate Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server built with Spring Boot and Spring AI that provides translation capabilities using a local Ollama instance.
This project implements an MCP server that exposes a translation tool. It leverages Spring AI's MCP support and uses the
translategemma model via Ollama for high-quality translations.
ollama pull translategemma:latest
http://localhost:11434../gradlew build
./gradlew bootRun
Note: The application requires --enable-native-access=ALL-UNNAMED, which is pre-configured in build.gradle.
./gradlew clean
./gradlew test
./gradlew test --tests "OllamaChatClientServiceTest"
OllamaChatClientServiceTest, TranslateToolTest): Use Mockito for mocking dependencies. Run without external services.TranslationIntegrationTest): Require a running Ollama instance with the translategemma:latest model.The application is configured via src/main/resources/application.yml. Key configurations include:
http://localhost:11434translategemma:latest (configured via spring.ai.ollama.chat.model)8080com.gmail.arthurstrokov and MCP protocols are enabled at DEBUG level.app.prompt.translate property.Currently, the application relies on application.yml. You can override these using standard Spring Boot environment
variables if needed:
SPRING_AI_OLLAMA_BASE_URL: Base URL for Ollama.SPRING_AI_OLLAMA_CHAT_MODEL: Ollama model to use.src/main/java/.../configuration/: Spring configuration for ChatClient and MCP tools.src/main/java/.../service/: Core translation logic (OllamaChatClientService implements ChatClientService).src/main/java/.../tool/: MCP tool definitions using @Tool annotation.src/main/resources/: Configuration files including prompt templates.src/test/java/.../: Unit tests (Mockito-based) and integration tests (@SpringBootTest).The server exposes the following tools:
translate: Translates the provided text.
text (The text to be translated).This project is licensed under the MIT License - see the LICENSE file for details.