Skip to main content
Glama

portcheck

Check if a TCP port is open on a host to verify server status, test firewall rules, or validate deployments. Supports hostnames, IPv4, and IPv6 addresses with configurable timeout.

Instructions

Check if a TCP port is open on a host. Tests connectivity by attempting a TCP connection with a configurable timeout. Returns OPEN/CLOSED status with response time or error details. Useful for verifying if a server is running, checking firewall rules, or validating deployments. Supports hostnames, IPv4, and IPv6 addresses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesHostname or IP address to check,required
portYesPort number to check (1-65535),required
timeout_secNoConnection timeout in seconds. Default: 5, Max: 30

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/knewstimek/agent-tool'

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