Skip to content

AI via MCP

Geksy has two MCP servers, both built from one tool description:

Remote MCPLocal geksy-mcp
Wherehttps://api.geksy.cc/mcpon the computer with the Geksy app
TransportStreamable HTTP (stateless)stdio
Sign-inan ak_… API key in the header, or OAuththe app you’re signed in to; an API key for cloud tools
Toolsaccount, usage, plans and payment, profiles and templates, proxies, computers, support, webhooksthe same cloud tools + page actions: snapshot, click, typing, scrolling, tabs, asking a person
Browserdoesn’t launch onelaunches profiles in the app on this computer

Every call runs with the member’s permissions and within the key’s limits, like a regular cloud API request. An error comes with an action field telling what to do next (see Error codes). How to get a key or access by code: Geksy for AI agents.

The address is https://api.geksy.cc/mcp. Clients with OAuth support sign in by themselves: give them just the address, and the client opens a sign-in page where a person picks the workspace, permissions, access period and spend limit. Other clients send an API key in the Authorization: Bearer ak_… header.

Clients that add a server with a terminal command (example: claude mcp add):

Окно терминала
claude mcp add --transport http geksy https://api.geksy.cc/mcp --header "Authorization: Bearer ak_…"

Clients with an mcpServers JSON configuration (the address field is called url or httpUrl, depending on the client):

{
"mcpServers": {
"geksy": {
"url": "https://api.geksy.cc/mcp",
"headers": { "Authorization": "Bearer ak_…" }
}
}
}

A check without a client:

Окно терминала
curl -s https://api.geksy.cc/mcp -H "Authorization: Bearer ak_…" -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Without a key, the server answers 401 with the OAuth metadata address (resource_metadata), which is how a client finds where to sign in. The server description for catalogs is https://api.geksy.cc/.well-known/mcp/server-card.json.

Окно терминала
pip install "geksy[mcp]"
geksy-mcp # same as: geksy mcp or python -m geksy.mcp

The Geksy app must be running and signed in: the server takes the local API port and token from agent.json. For cloud tools, set GEKSY_SERVER=https://api.geksy.cc and GEKSY_API_KEY=ak_….

Clients that add a server with a terminal command (example: claude mcp add):

Окно терминала
claude mcp add geksy -e GEKSY_SERVER=https://api.geksy.cc -e GEKSY_API_KEY=ak_… -- geksy-mcp

Clients with an mcpServers JSON configuration:

{
"mcpServers": {
"geksy": {
"command": "geksy-mcp",
"env": { "GEKSY_SERVER": "https://api.geksy.cc", "GEKSY_API_KEY": "ak_…" }
}
}
}

Clients with a TOML configuration ([mcp_servers.<name>]):

[mcp_servers.geksy]
command = "geksy-mcp"
env = { GEKSY_SERVER = "https://api.geksy.cc", GEKSY_API_KEY = "ak_…" }

The fewer tools, the more accurately the model picks them. The GEKSY_MCP_TOOLSETS variable sets the toolsets, comma-separated:

ToolsetWhat’s in it
localpage actions and launching profiles on this computer
coreaccount, usage, profiles, templates, computers
billingplans, price before buying, payment, top-up
proxiesproxies and Geksy proxies
supportsupport tickets
webhookswebhooks
dangercustom JavaScript on the page (geksy_page_eval); it must also be turned on in the app
alleverything

The default is local,core. Tools from earlier geksy-mcp versions (geksy_workspaces, geksy_start, geksy_run, geksy_scenario, Geksy proxy tools and others, see Python SDK) are always available.

  1. geksy_session_open: start the profile (or take the one already open);
  2. geksy_page_snapshot: a page snapshot with element refs (e12);
  3. geksy_page_click, geksy_page_type, geksy_page_fill … by a ref from the snapshot;
  4. geksy_page_snapshot again to check the result;
  5. a person is needed (an SMS code, a confirmation): geksy_ask_human;
  6. geksy_session_close: close the profile; its data goes to the cloud.

You don’t have to give passwords to the model: save them in the app and write {{secret:name}} in the typed text, see Secrets. The value never reaches the model: snapshots show the field as ••••.

Limited access. Instead of full access to the app, give geksy-mcp a limited token (python -m agent token create --name mcp --scopes automation.read,automation.control) in GEKSY_AGENT_TOKEN (for an app on another computer or in Docker, also GEKSY_AGENT_HOST and GEKSY_AGENT_PORT). The model sees only the tools the token allows: without automation.control the page is read-only, without automation.eval there is no custom JavaScript.

Large results. geksy_page_snapshot, geksy_page_extract and geksy_page_screenshot take to_file: the result is saved to a file (folder GEKSY_MCP_OUT_DIR, a temporary geksy-mcp folder by default) and the model gets its path and size. A snapshot or extraction larger than the response limit goes to a file by itself, with the start of the text in the response.

A person is needed. geksy_ask_human shows a Geksy tray notification; when the step is done, press “Done” in the tray or in the app window. On a server without a person (Docker) the response contains human_required: the program calls a person itself, and “Done” is POST /api/v1/human_done.

Your own Python AI agent with any model LiteLLM supports connects to the remote MCP like any Streamable HTTP server:

Окно терминала
pip install "openai-agents[litellm]"
import asyncio
from agents import Agent, Runner
from agents.extensions.models.litellm_model import LitellmModel
from agents.mcp import MCPServerStreamableHttp
async def main():
async with MCPServerStreamableHttp(
name="geksy",
params={"url": "https://api.geksy.cc/mcp", "headers": {"Authorization": "Bearer ak_…"}, "timeout": 60},
cache_tools_list=True,
) as geksy:
agent = Agent(
name="geksy-agent",
instructions="Work with Geksy profiles using the geksy_* tools.",
model=LitellmModel(model="<provider/model in LiteLLM format>", api_key="…"),
mcp_servers=[geksy],
)
result = await Runner.run(agent, "Show my profiles")
print(result.final_output)
asyncio.run(main())

Tested on 2026-10-15: openai-agents 0.24.0, litellm 1.83.0. The model receives the server’s tools, and a tool call and its result pass through the Agents SDK → LiteLLM → MCP chain. The model in the test was a stub of an OpenAI-compatible API, without AI keys.

Clients that support the MCP Apps extension show two interactive Geksy widgets next to the answer. Both servers, the remote one and geksy-mcp, serve them by themselves; there is nothing to set up:

WidgetWhen it appearsWhat’s in it
Spending and balanceafter geksy_usagethe balance and how many days it will last, spending over 7 days and per day on average, the key’s spending this month and its limit, GB packages (GB left), upcoming dates (trial end, plan renewal, dedicated IP term ends); Top up (pick an amount and the payment page opens) and Pay for the plan buttons
Profiles and launchafter geksy_profilesthe profile list with search, a Running / Free filter and tags; Stop buttons and, in geksy-mcp, Start

Widget buttons call the same tools (geksy_topup, geksy_profiles, geksy_profile_stop, geksy_start, geksy_stop) with the same key or token: permissions, limits and spend approval work as for any call. In the remote MCP the Stop button is shown only when the key has the profile.force_release permission; profiles are launched by the Geksy app on a computer, so Start is only in geksy-mcp.

A widget is a single page without external addresses or network requests: it gets data only through the client. The theme (light or dark) and language (English or Russian) come from the client. A client without MCP Apps gets the same tool answer as before, as text and structuredContent.

Cloud (remote MCP and geksy-mcp):

ToolWhat it does
geksy_whoami, geksy_status, geksy_usagewho am I (workspace, permissions, key limits); service status; usage and forecast
geksy_plans, geksy_quote, geksy_checkout, geksy_topupplans; price before buying; paying for a plan; topping up the balance
geksy_x402_topuptopping up the balance by x402 with your own wallet (USDC on Base)
geksy_profiles, geksy_profile, geksy_profile_create, geksy_profile_update, geksy_profile_delete, geksy_profile_stopprofiles: list, one, create, change, move to trash, stop a running one (profile.force_release permission)
geksy_profile_fields, geksy_profile_field_create, geksy_profile_field_update, geksy_profile_field_deleteown profile fields (table columns): list, add, change (name, chip options), delete; values — fields in geksy_profile_create/update, filter and sort — where, sort in geksy_profiles
geksy_templates, geksy_profiles_from_templatetemplates; profiles from a template
geksy_proxies, geksy_proxy_import, geksy_proxy_catalog, geksy_proxy_package_buy, geksy_proxy_ports_create, geksy_proxy_buy, geksy_proxy_buy_and_attach, geksy_proxy_rotateproxies: list, import; Geksy proxies: catalog, traffic package (GB with no expiry), ports in a package, pay-as-you-go purchase, purchase attached to profiles, new IP
geksy_devicesthe workspace’s computers
geksy_support_create, geksy_support_ticketssupport tickets
geksy_webhooks_list, geksy_webhook_create, geksy_webhook_deletewebhooks

On the page (geksy-mcp only):

ToolWhat it does
geksy_session_open, geksy_session_close, geksy_sessionsstart a profile, close it, profiles running on this computer
geksy_page_navigateopen an address in the current tab
geksy_page_snapshot, geksy_page_screenshotsnapshot with element refs; screenshot (as an image)
geksy_page_click, geksy_page_type, geksy_page_fill, geksy_page_select, geksy_page_press, geksy_page_scrollclick, type like a person, fill a field, choose an option, press a key, scroll
geksy_page_wait_for, geksy_page_extractwait for an element, text or address; extract text, tables, links
geksy_tabstabs: list, open, switch, close
geksy_ask_humanask the person at the computer to do a step and wait
geksy_page_evalcustom JavaScript in an isolated world of the page (danger toolset)

Payment and deletion are marked as destructive for the client (destructiveHint), reading as safe (readOnlyHint). Full schemas are in the tools/list response.

You can also connect a browser MCP server of your own (Playwright MCP, Chrome DevTools MCP) to a profile through the permanent CDP address, see Connect your browser code.

Tested (2026-10-10): remote MCP with a reference MCP client, protocol versions 2025-03-26, 2025-06-18, 2025-11-25, 2026-07-28, sign-in with a key and OAuth 2.1; geksy-mcp with the mcp 2.2 package. The configurations above use the common format; check your client’s documentation for its exact field names.

The first-version MCP server worked on top of the old local server on port 8700 (…_URL and …_KEY variables, numeric profile numbers, session_id). It’s deprecated: it won’t get new features, so move to geksy-mcp. What changes:

  • a profile is identified by workspace_id + profile_id (IDs from the cloud) instead of a number and session_id;
  • you don’t need the old server’s address and key: geksy-mcp works through the app you’re signed in to;
  • instead of one tool with a list of actions, there’s a separate tool for each action.
Was (first version)Now (geksy-mcp)
profile listgeksy_profiles (with workspace_id; workspaces: geksy_workspaces)
start a profile or attach to a sessiongeksy_session_open
session listgeksy_sessions
stop a sessiongeksy_session_close
action list: gotogeksy_page_navigate
click by number, text or selectorgeksy_page_click by a ref from the snapshot or a selector
type, press, scroll, wait_for, extractgeksy_page_type, geksy_page_press, geksy_page_scroll, geksy_page_wait_for, geksy_page_extract
evalgeksy_page_eval (danger toolset; JavaScript is turned on in the app)
new_tab, switch_tabgeksy_tabs
backgeksy_page_navigate to the address you need, or the back action of the local API
ask_humangeksy_ask_human
snapshot: an image with numbers + an element listgeksy_page_snapshot (text with ref) and geksy_page_screenshot
screenshotgeksy_page_screenshot
switch window ↔ headlessclose and open again: geksy_session_open with headless