Linux MCP Server
by algony-tony
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MYMCP_HOST | No | Bind address | 0.0.0.0 |
| MYMCP_PORT | No | Listen port | 8765 |
| MYMCP_ENV_FILE | No | Path to .env file to load (used by serve command) | |
| MYMCP_LOG_LEVEL | No | Application log level (DEBUG, INFO, WARNING, ERROR, CRITICAL) | INFO |
| MYMCP_TOKEN_FILE | No | Token store path | /etc/mymcp/tokens.json |
| MYMCP_ADMIN_TOKEN | No | Admin token for managing user tokens (required for /admin) | |
| OTEL_SERVICE_NAME | No | Service name for OpenTelemetry | mymcp |
| MYMCP_AUDIT_ENABLED | No | Enable audit logging | false |
| MYMCP_AUDIT_LOG_DIR | No | Audit log directory (auto-protected) | /var/log/mymcp |
| MYMCP_METRICS_TOKEN | No | Bearer for /metrics endpoint (empty = disabled) | |
| OTEL_TRACES_SAMPLER | No | Sampler for traces | parentbased_traceidratio |
| MYMCP_AUDIT_MAX_BYTES | No | Max audit log file size before rotation | 10485760 |
| MYMCP_PROTECTED_PATHS | No | Additional protected paths, comma-separated | |
| MYMCP_PUBLIC_BASE_URL | No | Base URL for transfer endpoints behind reverse proxy | |
| MYMCP_GLOB_MAX_RESULTS | No | Max file paths returned by glob | 1000 |
| MYMCP_GREP_MAX_RESULTS | No | grep hard max matches | 5000 |
| MYMCP_RECORDER_ENABLED | No | Enable server overview recorder (requires extra dependency) | false |
| MYMCP_TRANSFER_ENABLED | No | Enable prepare_upload/prepare_download tools | true |
| OTEL_TRACES_SAMPLER_ARG | No | Sampling ratio | 1.0 |
| MYMCP_AUDIT_BACKUP_COUNT | No | Number of rotated log files to keep | 5 |
| MYMCP_SHUTDOWN_GRACE_SEC | No | Seconds to wait for in-flight bash children on SIGTERM | 5 |
| MYMCP_TRANSFER_MAX_BYTES | No | Max bytes for transfer (2 GB default) | 2147483648 |
| MYMCP_READ_FILE_MAX_LIMIT | No | read_file max lines per request | 50000 |
| MYMCP_TRANSFER_MAX_TTL_SEC | No | Max ticket TTL for transfers | 900 |
| MYMCP_WRITE_FILE_MAX_BYTES | No | write_file max size (10MB) | 10485760 |
| OTEL_EXPORTER_OTLP_HEADERS | No | OTLP auth headers | |
| MYMCP_BASH_MAX_OUTPUT_BYTES | No | bash stdout/stderr default cap (100KB) | 102400 |
| MYMCP_EDIT_STRING_MAX_BYTES | No | edit_file max old/new string size (1MB) | 1048576 |
| OTEL_EXPORTER_OTLP_ENDPOINT | No | OTLP target endpoint | |
| OTEL_EXPORTER_OTLP_PROTOCOL | No | OTLP protocol (http/protobuf or grpc) | http/protobuf |
| OTEL_METRIC_EXPORT_INTERVAL | No | Metrics push period in ms | 60000 |
| MYMCP_READ_FILE_DEFAULT_LIMIT | No | read_file default lines per request | 2000 |
| MYMCP_GREP_DEFAULT_MAX_RESULTS | No | grep default max matches | 500 |
| MYMCP_READ_FILE_MAX_LINE_BYTES | No | Max bytes per line before truncation (32KB) | 32768 |
| MYMCP_TRANSFER_DEFAULT_TTL_SEC | No | Default ticket TTL for transfers | 300 |
| MYMCP_BASH_MAX_OUTPUT_BYTES_HARD | No | bash output hard cap (1MB) | 1048576 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/algony-tony/mymcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server