Skip to main content
Glama

portcheck

Test TCP port connectivity to verify if a server is running, check firewall rules, or validate deployments by attempting connections with configurable timeouts.

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