1. Conduid
  2. Agents
  3. Jts MCP
MCP server · Agents

Jts MCP

MCP server exposing selected library functions from library JTS (Java Topology Suite) to solve Geospatial problems using Agentic AI

Unclaimed agents
34Low

Scored 6 months ago · breakdown

About Jts MCP

Jts MCP is an MCP server in the Agents category: mCP server exposing selected library functions from library JTS (Java Topology Suite) to solve Geospatial problems using Agentic AI.

Install

From source
git clone https://github.com/shubhranshugupta/jts-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (20)

bufferGeometryBuffer a geometry by a given distance and return WKT.

Parameters not published.

calculateAreaCalculate the area of a polygon.

Parameters not published.

calculateCentroidCalculate the centroid of a polygon and return as Point WKT.

Parameters not published.

containsCheck if the first geometry contains the second.

Parameters not published.

createLineCreate a LineString geometry from a list of [x, y] coordinates and return WKT..

Parameters not published.

createPointCreate a Point geometry from [x, y] coordinates and return WKT.

Parameters not published.

createPolygonCreate a Polygon geometry from a list of [x, y] coordinates and return WKT.

Parameters not published.

distanceCalculate the distance between two geometries.

Parameters not published.

extractSubLineExtract a subline from a ring between two indices.

Parameters not published.

getBoundaryExtract the boundary of a geometry as a LineString.

Parameters not published.

Show all 20 tools
hausdorffDistanceCalculate the Hausdorff distance between two polygons.

Parameters not published.

intersectGeometriesIntersect two geometries and return the result as WKT.

Parameters not published.

intersectsCheck if two geometries intersect..

Parameters not published.

isValidGeometryCheck if a geometry is valid.

Parameters not published.

makePolygonFromRingCreate a Polygon from a closed LineString WKT.

Parameters not published.

mergeAndSelectLongestChainMerge intersected boundary segments into continuous chains and pick the longest one.

Parameters not published.

polygonizePolygonize: Create all possible polygons from a network of LineStrings.

Parameters not published.

projectOnRingProject a point onto a ring and return the index.

Parameters not published.

rebuildPolygonRingRebuild a polygon ring by splicing source ring and target chain.

Parameters not published.

unaryUnionLinesMerge all LineStrings into one network using UnaryUnionOp.

Parameters not published.

Ask AI

✦

Ask AI about Jts MCP

Powered by Claude · Grounded in docs

I know everything about Jts MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

jts-mcp

MCP server exposing selected library functions from library JTS (Java Topology Suite) to solve Geospatial problems using Agentic AI

Features

  • Extensive geospatial tools exposed as Spring AI tools
  • Endpoints for geometry creation, spatial queries, and transformations

Tools

  • createPoint - Create a Point geometry from [x, y] coordinates and return WKT.
  • createLine - Create a LineString geometry from a list of [x, y] coordinates and return WKT..
  • createPolygon - Create a Polygon geometry from a list of [x, y] coordinates and return WKT.
  • bufferGeometry - Buffer a geometry by a given distance and return WKT.
  • intersects - Check if two geometries intersect..
  • contains - Check if the first geometry contains the second.
  • distance - Calculate the distance between two geometries.
  • unaryUnionLines - Merge all LineStrings into one network using UnaryUnionOp.
  • getBoundary - Extract the boundary of a geometry as a LineString.
  • intersectGeometries - Intersect two geometries and return the result as WKT.
  • mergeAndSelectLongestChain - Merge intersected boundary segments into continuous chains and pick the longest one.
  • projectOnRing - Project a point onto a ring and return the index.
  • extractSubLine - Extract a subline from a ring between two indices.
  • makePolygonFromRing - Create a Polygon from a closed LineString WKT.
  • rebuildPolygonRing - Rebuild a polygon ring by splicing source ring and target chain.
  • isValidGeometry - Check if a geometry is valid.
  • polygonize - Polygonize: Create all possible polygons from a network of LineStrings.
  • calculateArea - Calculate the area of a polygon.
  • calculateCentroid - Calculate the centroid of a polygon and return as Point WKT.
  • hausdorffDistance - Calculate the Hausdorff distance between two polygons.

Integration with Agentic AI

  • Use the SSE integration from the MCP Client to inform your LLM about available endpoints and their usage.
    • e.g configuration in MCP client:
      mcp:
        client:
          enabled: true
          name: jts-mcp-client
          version: 1.0.0
          type: SYNC
          request-timeout: 20s
          toolcallback.enabled: true
          sse:
            connections:
              jts-mcp-sse:
                url: http://localhost:8081
      
  • Example workflow:
    1. User provides a geospatial problem statement.
    2. Spring AI app sends it to LLM.
    3. LLM returns actions (e.g., buffer, intersect, fix).
    4. Spring AI app calls MCP endpoints to execute actions and sends results back to LLM.
    5. LLM iterates until the problem is solved.
    6. Final result is presented to the user.

Running the Server

mvn spring-boot:run

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Jts MCP

How do I install Jts MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Jts MCP safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Jts MCP still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.