Listed from the MCP registry; nobody on Odel publishes it.
Is this yours? Claim itCreate, list and check hrva.cc short links and read their click statistics.
One address for any MCP client. You sign in at hrva.cc once, after adding it.
At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
Odel could not list its tools without signing in.
hrva.cc is a privacy-first URL shortener with built-in link safety. This repository is the backend: a Spring Boot API that creates and redirects short links, checks them for phishing and malware, and counts clicks without tracking anyone. The frontend lives in HrvaLabs/URL-Shortener-FE.
The changelog is shown at app.hrva.cc/changelog and kept in CHANGELOG.md. AGENTS.md documents the architecture, commands, endpoints and configuration.
X-Api-Key). Each key makes up to 600 requests an hour by default (Site settings); every response carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset, and a key over the limit gets a 429 with Retry-After. A key expires after the days you choose (1 to 3,650), after 12 months by default, or never. Keys are stored as SHA-256 hashes: the full key is shown once, when it is made, and the lists show its first characters.go.example.com/menu. You apply in Settings; once an admin approves, you add one CNAME record and the certificate is issued through Cloudflare for SaaS.hrva.cc/@yourname, with a button for each of your short links.https://hrva.cc/mcp, signing in with OAuth 2.1. Both MCP 2025-11-25 and MCP 2026-07-28 are served; the Settings switch MCP_MODERN turns the newer one off. The admin moderation tools are a second connector at https://hrva.cc/mcp/admin.Build, test and run commands, local dev users and the end-to-end check (scripts/mcp-e2e.sh) are in AGENTS.md. The short version: docker compose -f docker/docker-compose.yml up -d for Postgres and Redis, then mvn spring-boot:run -Dspring-boot.run.profiles=local. For tests, run mvn -B test.
eclipse-temurin:25-jre, run by the non-root user app (uid 10001), listening on 8080, with a HEALTHCHECK that asks /actuator/health/liveness every 30 s (120 s start period, so the first boot and its Liquibase run aren't marked unhealthy). The check names a primary host (HEALTHCHECK_HOST, else the first APP_DOMAINS_PRIMARY_HOSTS entry, else hrva.cc), because every other host answers 404. CI pushes :latest and an immutable :<commit sha>. Java is PID 1, so docker stop ends the app cleanly with SIGTERM, well inside a 30 s stop_grace_period.
image: ghcr.io/hrvalabs/url-shortener:latest to image: ghcr.io/hrvalabs/url-shortener:<full commit sha> and update the stack. The webhook then redeploys the same sha, so the stack changes only when you edit it; a rollback is one edit back to the earlier sha. Keep :latest if you want every push to deploy.url-shortener-backend:8080 on the Docker network. The Portainer stack publishes none, so nobody can reach the origin around Cloudflare; keep it that way (or bind to 127.0.0.1 if a host port is ever needed).health is exposed over HTTP, plus its liveness and readiness probes, and (v2.30) prometheus only when APP_METRICS_TOKEN is set: it answers with Authorization: Bearer <APP_METRICS_TOKEN>, 401 for a wrong or missing token, and 404 when the variable is unset. env, beans, metrics, caches and info are off the web. https://hrva.cc/actuator/health checks the database and Redis (a 503 when either is down), disk space, ping and SSL, and not the mail server (management.health.mail.enabled: false): that check opened an SMTP connection on every call, about 110 of 185 ms in a local run with 30 ms of network delay to each service. The container check uses liveness.app.jwt-token-validity-seconds (7 days since v2.36, set with APP_JWT_TOKEN_VALIDITY_SECONDS, default 604800) after the last time the web app renewed it, which it does while you use it, when a signed-in page loads and when its tab becomes visible again, and never later than APP_JWT_SESSION_MAX_SECONDS after the sign-in (default 2592000, 30 days). Remember me keeps its 30 days.APP_INSPECTION_BROWSER_SECONDS_DAILY_LIMIT (default 600, Cloudflare's free allowance) is what the admin Health page compares today's screenshot seconds with.Retry-After: 60). Signed-in, API-key and MCP creates go on.169.254.169.254 and the private ranges other than the stack's Docker network on the host as well (DOCKER-USER iptables rules).codeql.yml needs code scanning on the repository and dependencies.yml's PR review needs the dependency graph; for a private repository both need GitHub Advanced Security.MERGE) and Redis 6.2 or newer (GETDEL, SMISMEMBER).APP_MCP_SIGNING_KEY is required, and the app won't start without it. Generate a private RSA JWK and keep it out of git and logs:
node -e "const {generateKeyPairSync, randomUUID} = require('node:crypto'); const {privateKey} = generateKeyPairSync('rsa', {modulusLength: 2048}); console.log(JSON.stringify({...privateKey.export({format: 'jwk'}), kid: randomUUID(), use: 'sig', alg: 'RS256'}))"
APP_NOTIFICATIONS_KEY is required too, and the app won't start without it. It encrypts the notification channels' URLs and tokens and signs the unsubscribe links, so keep it next to the MCP signing key: losing it means everyone re-adds their channels. Generate 32 random bytes:
openssl rand -base64 32
APP_TURNSTILE_SITE_KEY and APP_TURNSTILE_SECRET_KEY (the Turnstile widget's keys); without them the app starts and no check runs. Keep the secret key out of git and logs.CLOUDFLARE_API_TOKEN and CLOUDFLARE_ZONE_ID; without them the app starts and refuses approvals. The other variables (APP_DOMAINS_ENABLED, APP_DOMAINS_MAX_ACTIVE, APP_DOMAINS_FREE_ALLOWANCE, APP_DOMAINS_PER_USER, APP_DOMAINS_RESERVED, APP_DOMAINS_PRIMARY_HOSTS, APP_DOMAINS_IGNORED_HOSTNAMES, APP_DOMAINS_CNAME_TARGET, APP_CLOUDFLARE_API_BASE) have working defaults, listed in AGENTS.md (Config Profiles). Before the first deploy with custom domains:
CLOUDFLARE_ZONE_ID is the hrva.cc zone's id, and the token has Zone, SSL and Certificates, Edit on the hrva.cc zone only. Use that token nowhere else.default_server refuses non-Cloudflare addresses (444), like the proxy hosts. Custom hostnames reach the origin through it.APP_DOMAINS_PRIMARY_HOSTS (default hrva.cc,domains.hrva.cc; the host of app.server-url always counts). Any other Host answers 404 after the deploy, including a request to the container by IP or localhost, so health checks go through https://hrva.cc/actuator/health.APP_DOMAINS_IGNORED_HOSTNAMES lists the Cloudflare hostnames that aren't custom domains (default test.karlo.cc), so the nightly reconcile doesn't flag them. They answer 404.http.host eq "hrva.cc", and that redirects are never cached.CF-Connecting-IP, and the country counts trust CF-IPCountry. The origin must therefore accept traffic only from Cloudflare, through a Cloudflare Tunnel or a firewall limited to Cloudflare's IP ranges. Otherwise anyone can forge those headers.List-Unsubscribe header. A challenge breaks both:
/mcp and /mcp/admin, /oauth2/*, /.well-known/* and /api/v1/notifications/unsubscribe from WAF managed challenges and Super Bot Fight Mode. If Bot Fight Mode on the Free plan challenges them, turn it off.GET /oauth2/authorize or /.well-known/* at the edge.https://hrva.cc, resource https://hrva.cc/mcp, and 401 from /mcp without a token:
curl -s https://hrva.cc/actuator/health
curl -s https://hrva.cc/.well-known/oauth-authorization-server | jq '{issuer, registration_endpoint}'
curl -s https://hrva.cc/.well-known/oauth-protected-resource/mcp | jq '{resource, authorization_servers}'
curl -s -o /dev/null -w '%{http_code}\n' -X POST https://hrva.cc/mcp
We welcome contributions from the community!
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.
For questions, issues, or feature requests, please open an issue on GitHub or contact me directly via email.
Thank you for using URL-Shortener or just viewing this page!