litport-mcp

v0.3.0
io.github.litportnet/litport-mcp Checked 4 days ago Published 26 days ago

MCP server for the Litport API: create and manage proxies, traffic caps, usage, pools, proxy URLs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

explain_proxy_error

Look up what an X-Proxy-Error-Code or SOCKS5 reply means, whether to retry, and what action to take. Purely local — makes no API call.

ParameterTypeDescription
codeintegerThe numeric X-Proxy-Error-Code.
messagestringA wire message, error symbol, or SOCKS5 reply (e.g. "0x01") to search for.

search_docs

Search the Litport documentation index (llms.txt) for pages matching a query.

ParameterTypeDescription
query *string
limitinteger

get_doc

Fetch a Litport documentation page as markdown, by full URL or bare slug (e.g. "api/tokens").

ParameterTypeDescription
url *string

contact_support

Contact Litport support: start a conversation with a first message. Without LITPORT_API_KEY this is a guest conversation: "email" is required (where we can reach you) and only general questions can be answered; at most 3 new guest conversations per hour. With LITPORT_API_KEY it is the account's own conversation, where support can help with orders and proxies, and "email" is not used. Replies are not instant: call get_support_replies about every 30 seconds. To add to a conversation that already exists, use reply_to_support. Never put API keys or proxy passwords in the message.

ParameterTypeDescription
message *stringThe question or request, up to 4,000 characters.
emailstringRequired without LITPORT_API_KEY; not used with it.

get_support_replies

Read a support conversation: the messages after "after", oldest first, and who the conversation is waiting on (waitingOn: "us" means Litport, "customer" means you). Replies are not pushed, so poll about every 30 seconds (pollAfterSeconds). Pass the last seq you already have as "after" to get only new messages; leave it out to read from the start. When "more" is true, call again with "after" set to the last seq received.

ParameterTypeDescription
afterintegerThe highest message seq you already have.
conversationIdstringDefaults to the conversation started or used most recently in this session.

reply_to_support

Add a message to a support conversation started with contact_support: an answer to a question from support, or more detail. Up to 4,000 characters, 30 messages per conversation per 24 hours. No attachments. Never put API keys or proxy passwords in the message.

ParameterTypeDescription
message *string
conversationIdstringDefaults to the conversation started or used most recently in this session.