setup-region

setup-region is a command for Claude Code, Cursor from port-labs/port-skills. It costs 31 tokens per session (233 once invoked), scanned A, original, MIT.

A command for choosing whether the Port MCP server uses Port's European or US data center. An MCP server is a service that lets a coding agent use an external system.

In plain words
What is it for?
Use it after installing the Port plugin to set the region, update the local configuration, and reconnect the server.
Why use it?
It prevents the agent from connecting to the wrong regional Port service.

Command for Claude CodeCursor

Written for Cursor and Claude Code: a Cursor plugin manifest, but also shipped in a Claude Code plugin.

Part of the port-skills plugin — 13 skills, 1 command, 2 MCP servers shipped together

Good fit Use it after installing the Port plugin to set the region, update the local configuration, and reconnect the server.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/port-labs/port-skills/setup-region
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/port-labs/port-skills

Made for: Claude Code, Cursor.

Or install port-skills, the plugin that ships this one along with the rest of its 13 skills, 1 command, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-region

README.md
[![agentmods](https://agentmods.dev/badge/commands/port-labs/port-skills/setup-region/github.svg)](https://agentmods.dev/commands/port-labs/port-skills/setup-region)
Your own site
<a href="https://agentmods.dev/commands/port-labs/port-skills/setup-region"><img src="https://agentmods.dev/badge/commands/port-labs/port-skills/setup-region/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-region

Your own site · 80×15
<a href="https://agentmods.dev/commands/port-labs/port-skills/setup-region"><img src="https://agentmods.dev/badge/commands/port-labs/port-skills/setup-region.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 233 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00233
Opus 5.5 $0.00012 $0.00093
Sonnet 5.5 $0.00006 $0.00047
Haiku 4.5 $0.00003 $0.00023

Measured 2mo ago against content hash 676eb58f26f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup-region scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.cursor-plugin/commands/setup-region.md · 27 lines

What it actually says

Port region setup

Help the user configure the correct Port MCP server region.

Steps

  1. Ask the user which region their Port account is on:

    • EU: their Port app URL is app.getport.io
    • US: their Port app URL is app.us.getport.io

    If they are unsure, ask them to open Port in their browser and check the address bar.

  2. Read the current mcp.json at ~/.cursor/plugins/local/port-mcp/mcp.json.

  3. Update the url field based on their answer:

    • EU: https://mcp.port.io/v1
    • US: https://mcp.us.port.io/v1
  4. Write the updated file back.

  5. Confirm to the user which URL is now set and remind them to reconnect the Port MCP server in Cursor Settings → MCP for the change to take effect.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 27 lines · 31 tokens per session scan A 676eb58f26f0

Subscribe to this mod's changes

setup-region is a command published in the GitHub repository port-labs/port-skills (3 stars, last pushed 4d ago), licensed MIT. It adds 31 tokens to every session and 233 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

setup-region compared with commands from other repositories

setup-region next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-regionport-labs/port-skillsCommand34d agoMITA31Claude Code, Cursor
crivuorinen/skillsCommand4yesterdaynoneA0Claude Code
cacheivuorinen/skillsCommand4yesterdaynoneA0Claude Code
complexityivuorinen/skillsCommand4yesterdaynoneA0Claude Code
_audit-coverageivuorinen/skillsCommand4yesterdaynoneA0Claude Code
execute-planivuorinen/skillsCommand4yesterdaynoneA0Claude Code
leaksivuorinen/skillsCommand4yesterdaynoneA0Claude Code