Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_MODELYesModel identifier (e.g. anthropic/claude-opus-4-5, gpt-4o)
WORKSPACE_DIRNoShared workspace directory. Defaults to ~/.featherflow/workspace~/.featherflow/workspace
OPENAI_API_KEYYesAPI key for the provider
OPENAI_BASE_URLYesAPI base URL (e.g. https://openrouter.ai/api/v1, https://api.openai.com/v1)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
translate_pdfA

Translate a PDF file while preserving formulas and layout.

    Args:
        file: Path to the input PDF file.  Absolute paths are used
              as-is; relative paths are resolved against the shared
              workspace directory (~/.featherflow/workspace by default,
              overridable via WORKSPACE_DIR env var).
        lang_in: Source language code (e.g. "en", "auto" for auto-detect).
        lang_out: Target language code (e.g. "zh", "ja", "ko", "fr", "de").
        output_dir: Directory for output files. Defaults to the shared
                    workspace directory so that other MCP tools
                    (e.g. feishu-mcp upload_file) can access the outputs.

    Returns:
        A summary with absolute paths to the mono (translated-only) and
        dual (bilingual side-by-side) output PDF files.  These paths
        can be passed directly to feishu-mcp upload_file / upload_file_and_share.

    Environment variables that control the LLM used for translation:
        OPENAI_BASE_URL – API base URL
        OPENAI_API_KEY  – API key
        OPENAI_MODEL    – Model name
    
list_supported_languagesA

List language codes supported for translation.

    Returns a table of common language codes that can be used as
    lang_in or lang_out parameters.
    

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/lichman0405/pdftranslate-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server