1 / 10
Para asistentes de IA · Sin programación

Habilidad para IA y conexión MCP

Copia estas instrucciones y pégalas en ChatGPT, Claude, Gemini o cualquier asistente — o conecta el servidor MCP.

Abrir SKILL.md en pestaña nueva
Ilustración invernal estilizada de una viajera con un mapa y una brújula brillante en la parada

1. Copia la habilidad de IA (SKILL.md)

Explica al asistente exactamente cómo consultar horarios, andenes, direcciones y transbordos reales.

---
name: vrap-vilnius-district-transit
description: Look up official Vilnius District bus timetables, stops, village platforms, Registrų Centras addresses, fares, service alerts, and door-to-door routes on https://vrap.mpro.site via MCP 2.0 (POST /mcp) or public JSON GET endpoints. No API key or login needed for passenger queries.
---

# Vilnius District Bus Park (VRAP) — AI Assistant Skill

Use this skill when a user asks about bus routes, departures, stops, addresses, fares, disruption notices, or trip planning across **Vilnius District (Vilniaus rajonas)** and connecting **Vilnius City (JUDU)** stops.

- Portal (8 languages: `lt`, `en`, `pl`, `ru`, `de`, `fr`, `es`, `it`): https://vrap.mpro.site/lt/
- Coverage currently indexed: 136 VRAP regional routes, 3543 stops (+ Registrų Centras address registry & JUDU city connectors)
- Timezone for all dates and times: `Europe/Vilnius`

---

## Option A — MCP 2.0 Streamable HTTP (Recommended if your AI tool supports MCP)

Important: MCP uses **HTTP POST** to `https://vrap.mpro.site/mcp`. Opening `/mcp` directly in a browser (`HTTP GET`) returns `405 Method Not Allowed` per the MCP Streamable HTTP specification — always send `POST` with the headers below. Read tools require **zero authentication**.

- **Endpoint:** `POST https://vrap.mpro.site/mcp`
- **Required headers:**
  - `Content-Type: application/json`
  - `Accept: application/json, text/event-stream`
- **Metadata descriptor (HTTP GET):** `https://vrap.mpro.site/.well-known/mcp.json`

### Minimal MCP JSON configuration
```json
{
  "mcpServers": {
    "vrap-vilnius-transit": {
      "type": "http",
      "url": "https://vrap.mpro.site/mcp"
    }
  }
}
```

### Example MCP `tools/list` request
```bash
curl -sS -X POST "https://vrap.mpro.site/mcp" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

### Example MCP `plan_journey` tool call
```bash
curl -sS -X POST "https://vrap.mpro.site/mcp" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/call",
    "params": {
      "name": "plan_journey",
      "arguments": {
        "from": "stop:53_V0106",
        "to": "Spaudos rūmai",
        "mode": "arrive_by",
        "date": "2026-11-25",
        "timeHm": "10:00",
        "limit": 5
      }
    }
  }'
```

### Public Read-Only MCP Tools (No token required)
1. `plan_journey` — Door-to-door routing (`from`, `to`, optional `via`, `mode`: `"depart_at"` | `"arrive_by"`, `date`: `"YYYY-MM-DD"`, `timeHm`: `"HH:MM"`, `limit`).
2. `search_addresses` — Unified stop & Registrų Centras address lookup (`query`, `limit`).
3. `search_stops` — Diacritic-insensitive bus stop search (`query`, `limit`).
4. `get_stop_departures` — Live day timetable at a stop + active overrides (`stopId`, `date`, `fromTimeHm`, `limit`).
5. `list_routes` — List VRAP bus routes and corridors (`corridorSlug`, `query`).
6. `get_route_details` — Direction stop sequences, alerts, overrides (`routeId`).
7. `list_announcements` — Active disruptions, schedule changes, fare news (`activeOnly`, `severity`).
8. `get_fares_and_passes` — Official T3-410 tariffs and monthly passes (`routeFilter`).
9. `get_legacy_page` — Preserved informational pages (`slug`).
10. `get_data_contradictions` — Logged legacy vs GTFS timetable discrepancies (`category`).

Note: Do NOT call operator write tools (`publish_announcement`, `upsert_timetable_override`, `update_site_page`, `set_emergency_mode`, `trigger_gtfs_resync`); those require private operator Bearer credentials.

---

## Option B — Direct HTTP GET APIs (For web-browsing AI assistants without MCP)

If you only have URL fetching / `GET` access, use these public read-only JSON & text endpoints directly:

1. **Find exact stop IDs or street addresses:**
   `GET https://vrap.mpro.site/api/places/search?q=Nemen%C4%8Din%C4%97l%C4%97&limit=10`
2. **Plan a trip (`depart_at` or `arrive_by`):**
   `GET https://vrap.mpro.site/api/plan?from=stop%3A53_V0106&to=Spaudos%20r%C5%ABmai&mode=arrive_by&date=2026-11-25&timeHm=10%3A00`
3. **Inspect a specific stop, all village platforms, directions & departures:**
   `GET https://vrap.mpro.site/api/stops/53_V0106?date=2026-11-25`
   - Look at `nearbyStops[]` for `stop_id`, `stop_name`, `directionSummary` (e.g. `→ Vilnius` vs `→ Paberžė`), `routes`, and `distanceM`.
4. **Browse routes, service announcements, fares, and contacts:**
   - `GET https://vrap.mpro.site/api/routes`
   - `GET https://vrap.mpro.site/api/announcements` (active service alerts & schedule changes)
   - `GET https://vrap.mpro.site/api/passes` (monthly passes & T3-410 tariffs)
   - `GET https://vrap.mpro.site/api/info` (contacts, depot hours, preserved pages, contradictions)
5. **Compact LLM docs:**
   - `GET https://vrap.mpro.site/llms.txt`
   - `GET https://vrap.mpro.site/llms-full.txt`

---

## Passenger Answer Checklist (Always Follow)

1. **Always distinguish same-name village stops:** Many Vilnius District villages have several platforms with identical names (e.g. `Nemenčinėlė` has 5 stops, plus nearby `Nemenčinėlis` stops). Always tell the passenger the **direction of travel** (`directionSummary`, e.g. `→ Vilnius` vs `→ Paberžė`) and route numbers, not raw stop IDs alone.
2. **Give clickable human links:**
   - Stop page: `https://vrap.mpro.site/lt/stop/{stopId}`
   - Prefilled planner: `https://vrap.mpro.site/lt/?fromId=stop:{fromId}&toId=stop:{toId}&mode=arrive_by&date=YYYY-MM-DD&timeHm=HH:MM`
3. **Mention separate city tickets when transferring:** If an itinerary returns `includesCityConnector: true` or includes a JUDU city bus leg, clarify that the displayed VRAP fare applies to the district bus leg and the Vilnius City (JUDU) leg requires a separate city ticket.
4. **Never guess times:** Only state departure/arrival times, platform names, fares, and alert notices directly observed in tool or API responses. If no trips exist for a requested time, check active alerts or suggest calling VRAP dispatch (`+370 5 237 1837`, daily 05:00–23:00).

2. Prueba preguntas en tu chat de IA

Haz clic en cualquier ejemplo para copiarlo y probarlo al instante:

“¿Qué autobús debo tomar mañana desde Nemenčinėlė para llegar a Spaudos rūmai en Vilna antes de las 10:00?”

“¿Qué líneas paran en Nemenčinėlė y hacia dónde va cada andén?”

“¿Hay avisos hoy hacia Nemenčinė y cuánto cuesta el billete?”

3. Conexión directa al servidor MCP 2.0

Si tu aplicación admite MCP, copia la dirección o la configuración JSON. Las consultas públicas no requieren clave.

Dirección del servidor MCP 2.0 (POST)
https://vrap.mpro.site/mcp
Configuración MCP lista (JSON)
{
  "mcpServers": {
    "vrap-vilnius-transit": {
      "type": "http",
      "url": "https://vrap.mpro.site/mcp"
    }
  }
}

Enlaces técnicos para herramientas de IA

Estos enlaces son para sistemas de IA (texto/JSON) y se abren en una nueva pestaña del navegador.

Volver al planificador de rutas