Terminal MCP Server
by AcosX
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Host to bind the server. | 127.0.0.1 |
| MCP_PORT | No | Port to bind the server. | 8767 |
| MCP_JWKS_URI | No | JWKS URI for JWT mode. | |
| MCP_AUDIT_LOG | No | Path to audit log file. | /var/log/terminal-mcp/audit.log |
| MCP_AUTH_MODE | No | Authentication mode (jwt, entra, bearer, memory_oauth). | |
| MCP_TRANSPORT | No | Transport mechanism (streamable-http). | streamable-http |
| MCP_JWT_ISSUER | No | JWT issuer for JWT mode. | |
| MCP_BEARER_TOKEN | No | Bearer token for bearer auth mode. | |
| MCP_JWT_AUDIENCE | No | JWT audience for JWT mode. | |
| MCP_OAUTH_ISSUER | No | OAuth issuer URL (JWT mode). | |
| MCP_JWT_ALGORITHM | No | JWT algorithm for JWT mode. | RS256 |
| MCP_ENTRA_AUDIENCE | No | Entra audience (API client ID) (entra mode). | |
| MCP_COMMAND_TIMEOUT | No | Default command timeout in seconds. | 30 |
| MCP_ENTRA_TENANT_ID | No | Microsoft Entra tenant ID (entra mode). | |
| MCP_OAUTH_CLIENT_ID | No | OAuth client ID for memory_oauth mode. | |
| MCP_PUBLIC_BASE_URL | No | Public base URL for memory_oauth mode. | |
| MCP_REQUIRED_SCOPES | No | Required scope claim. | terminal.run |
| MCP_MAX_OUTPUT_BYTES | No | Maximum output bytes from command. | 131072 |
| MCP_ADVERTISED_SCOPES | No | Advertised OAuth scopes. | terminal.run |
| MCP_RESOURCE_BASE_URL | No | Public base URL for MCP resource. | |
| MCP_ENTRA_ALLOWED_OIDS | No | Comma-separated allowed user object IDs (entra mode, optional). | |
| MCP_COMMAND_MAX_TIMEOUT | No | Maximum allowed command timeout in seconds. | 120 |
| MCP_OAUTH_CLIENT_SECRET | No | OAuth client secret for memory_oauth mode. | |
| MCP_OAUTH_REDIRECT_URIS | No | Comma-separated redirect URIs for memory_oauth mode. |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/AcosX/Terminal-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server