Skip to content

josego85/TechWordTranslatorMCP-Server

Repository files navigation

TechWord Translator MCP Server

A public Model Context Protocol (MCP) server that provides translation services for technical terms across English, Spanish, and German. Built with FastMCP and powered by the TechWordTranslator API.

✨ Features

  • 🌍 Multi-language Translation: Translate technical terms between English, Spanish, and German
  • πŸ” Smart Search: Search for technical terms with partial matching
  • πŸ“š Comprehensive Database: Access to a curated database of IT and technology terminology
  • ⚑ Fast & Efficient: Built on FastMCP with async HTTP client
  • πŸ”Œ Easy Integration: Works with Claude Desktop, Cursor, and other MCP clients
  • βœ… Production Ready: Comprehensive test suite, high coverage, enterprise-grade quality

πŸ§ͺ Testing

./run-tests.sh

See docs/testing.md for details.

πŸš€ Quick Start

# Build the Docker image
docker build -t techword-mcp .

# Run the server
docker run --rm -i \
  -e TECHWORD_TRANSLATOR_API_URL=http://localhost:8000 \
  techword-mcp

πŸ“– Documentation

Guide Description
Quickstart Get up and running in 5 minutes
API Reference Complete documentation of all 5 MCP tools
Docker Setup Detailed Docker configuration guide
Cursor Setup Integrate with Cursor IDE
Development Developer guide and architecture
Testing Testing guide and coverage
Deployment Production deployment options

πŸ› οΈ Available Tools

The server provides 5 MCP tools for technical term translation and search. See the API Reference for complete details.

  • translate_term - Translate a technical term from one language to another
  • search_tech_terms - Search for technical terms in the database
  • get_all_translations - Get all available translations for a term
  • get_term_details - Get detailed information about a specific term
  • list_tech_terms - List technical terms with pagination

πŸ”§ Integration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "techword-translator": {
      "command": "docker",
      "args": [
        "run", "--rm", "-i", "--network=host",
        "-e", "TECHWORD_TRANSLATOR_API_URL=http://localhost:8000",
        "techword-mcp"
      ]
    }
  }
}

Cursor IDE

See the complete Cursor Setup Guide for integration steps.

πŸ—οΈ Architecture

Built following SOLID principles with a clean, modular architecture:

  • models/ - Domain models (Word, Translation) and API response models
  • services/ - Business logic (APIClient, SearchService, TranslatorService)
  • formatters.py - Response formatting utilities
  • server.py - FastMCP server with tool definitions

πŸ“‹ Requirements

  • Docker (recommended) or Python 3.11+
  • TechWordTranslator API instance

Environment Variables

  • TECHWORD_TRANSLATOR_API_URL - Base URL of the TechWordTranslator API (required)

πŸ“„ License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

πŸ™ Acknowledgments

About

πŸ€– MCP Server: Translate technical terms πŸ”€ | English/Spanish/German 🌍 | FastMCP ⚑

Resources

License

Stars

Watchers

Forks

Packages

No packages published