Skip to main content
Glama
exthnet
by exthnet

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TCS_MODENo実行モード: local または sshlocal
TCS_SSH_HOSTNoSSH ホスト名(ssh モード時)genkai.cc.kyushu-u.ac.jp
TCS_SSH_USERNoSSH ユーザ名(ssh モード時、必須)
TCS_WORK_DIRNoジョブ出力ファイルを探す作業ディレクトリ~/work
TCS_LOG_LEVELNoログレベルINFO
TCS_PJDEL_PATHNopjdel の絶対パス/usr/local/bin/pjdel
TCS_PJSUB_PATHNopjsub の絶対パス/usr/local/bin/pjsub
TCS_PJSTAT_PATHNopjstat の絶対パス/usr/local/bin/pjstat
TCS_SSH_KEY_FILENoSSH 秘密鍵パス~/.ssh/id_rsa

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
submit_jobA

Submit a batch job to the TCS/PJM scheduler on Genkai.

Provide the full job script content. Resource directives in the script take precedence over the parameters here. The parameters are ignored when the script already contains #PJM directives.

Returns: {"job_id": str, "message": str}

list_jobsA

List jobs for the current user.

history_days: include completed jobs from the past N days (max 90). rscgrp: filter by resource group name. Returns list of job dicts with keys: job_id, job_name, md, st, user, start_date, elapse_lim, node_require, vnode, core, v_mem.

get_job_statusA

Get status of a specific job by ID.

Returns list of job dicts (same format as list_jobs). Raises RuntimeError if the job is not found.

delete_jobC

Delete (cancel) a queued or running job.

Returns: {"success": bool, "job_id": str, "message": str}

get_resource_groupsA

List available resource groups and their sizes on Genkai.

rscgrp: filter by specific resource group name. Returns list of dicts with keys: rscunit, rscunit_size, rscgrp, rscgrp_size.

get_quota_limitsC

Get quota and limit information for the current user.

Returns a dict with sections: USER, GROUP, ALL. Each section contains a list of {limit_name, limit, alloc} dicts.

list_filesA

List files in a work directory.

directory: path to list (defaults to work_dir). pattern: glob pattern to filter filenames. Returns list of {path, name, is_dir} dicts.

read_fileA

Read a text file from the Genkai filesystem.

Only files within work_dir are accessible. Returns {content, truncated, size_bytes}.

read_job_outputA

Read the stdout or stderr output file of a completed job.

Searches for output files by common PJM naming patterns: .out / .err STDIN.out / .err

Returns {content, truncated, path}.

generate_job_templateA

Generate a PJM job script template for Genkai.

Available rscgrps: a-batch-low, a-batch, b-batch-low, b-batch, b-batch-mig-low, b-batch-mig, c-batch-low, c-batch, and their -inter variants.

Returns a shell script string with #PJM directives ready to submit with pjsub.

list_resource_groupsB

List all known Genkai resource groups and their type (cpu/gpu/gpu_mig).

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/exthnet/tcs_mcp_claude'

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