• GEOMETRY
  • OPTIMIZATION
  • DATA
  • HUMAN

How to calculate shortest paths around obstacles with your agent

Connect this MCP to your AI client to automate pathfinding. Once linked, your agent handles the geometry and the math.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I find the shortest route around obstacles using AI?

Your agent builds a visibility graph of the environment and then finds the most direct route. You get the exact coordinates for the optimal path.

Pathfinding outcomes

What you get from your agent

Your agent processes your spatial data to produce these results.

GEOMETRY

Visibility graph generation

Your agent maps lines of sight between all vertices. This creates the necessary framework to navigate the space.

OPTIMIZATION

Shortest path calculation

Your agent finds the most efficient route through the graph. You receive the specific sequence of points to follow.

DATA

Coordinate outputs

Your agent provides the final path data. You can plug these coordinates directly into your simulation or map.

HUMAN

Obstacle refinement

You decide if the polygonal shapes are accurate. Your agent cannot change your original obstacle geometry.

The workflow

What your agent does when the data arrives.

Your agent takes your coordinates and obstacle shapes to solve the navigation problem.

  1. Map the environment

    Your agent analyzes the polygons to determine which points can see each other without hitting an obstacle.

    get_visible_graph
  2. Solve the route

    Your agent uses the visibility graph to find the mathematically shortest distance between your start and end points.

    calculate_shortest_path
  3. Verify the path

    Your agent checks the calculated route against the visibility graph to ensure no collisions occur.

    get_visible_graph
  4. Deliver waypoints

    Your agent outputs the final list of coordinates for your use.

    calculate_shortest_path

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Visibility Graph Path Calculator tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger the pathfinding process.

Starting points

Replace the bracketed text with your specific polygon coordinates and start/end points.

Visibility Graph Path Calculator Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_EAXzf31OjyvcXeBMHHkVWg3XtGrreG0GlPeWjG1z/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Visibility Graph Path Calculator capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "visibility-graph-path-calculator-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_EAXzf31OjyvcXeBMHHkVWg3XtGrreG0GlPeWjG1z/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate the shortest path from [start_coords] to [end_coords] avoiding these polygons: [polygon_list].

  • 02

    Generate a visibility graph for a workspace defined by these obstacles: [obstacle_data].

  • 03

    Find the most efficient route between [point_a] and [point_b] using the current obstacle map.

  • 04

    Check if a straight line between [start] and [end] is possible given these polygonal constraints.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Visibility Graph Path Calculator once, then ask.

One click connects this MCP to your AI client. Your credentials stay encrypted, and you can start asking for paths immediately.

Connect Visibility Graph Path Calculator to your agent

FAQ

How this task behaves

  • 01

    Can your agent move the obstacles for me?

    No. Your agent only calculates paths based on the obstacle coordinates you provide.

  • 02

    Does your agent handle curved walls?

    No. This tool is specifically designed for polygonal obstacles.

  • 03

    Can I use this in any AI client?

    Yes, as long as your client supports the MCP standard, like Claude or Cursor.

  • 04

    Will your agent delete my original map data?

    No. Your agent only reads the data to perform calculations; it has no permission to modify your source files.

  • 05

    Can your agent suggest a path that goes through an obstacle?

    No. The visibility graph ensures the calculated path stays clear of all defined polygons.

  • More questions about Visibility Graph Path Calculator? The Connector page answers them. See everything the Visibility Graph Path Calculator Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Visibility Graph Path Calculator to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Visibility Graph Path Calculator plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Visibility Graph Path Calculator to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.