Developer Tools

Felt MCP

Create, style, query and share Felt maps, layers, annotations and print pages through Felt's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Inspect data source table columns

    Get the full column schema for a table in a connected database, including column names and types.

  • Inspect layer

    Get the details of a single layer: the full column schema (column names, types, sample values, row count, cardinality, min/max for numeric columns), whether the layer is visible, and its legend items (categories or class breaks) with the ids set_visibility expects. Returns a table name for queryable layers that can be used as the table identifier in SQL queries. `processing_status` says whether the schema below can be trusted: - `completed` — an empty `columns` list means the layer really has no attributes. Raster layers never have columns; they list their `bands` (`id` like `band:1`, and name) instead. - `processing` — the layer is still processing, so its columns and row count are missing or provisional. `progress_percent` says how far along, when the pipeline reports it. - `failed` — processing failed and `processing_error` says why. Every column reports two names. Which one applies is fixed per use, so route by this list rather than by which name reads better: - `storage_name` — the attribute of an FSL style, and the group_by, aggregate_by and filter_by bindings of a layer component. This is the name the data itself carries, and it can be an opaque UUID for a column added by editing the layer. - `display_name` — a SQL query against this layer's table, the columns edit_layer_attributes names, and any title or wording you write for the user, including a layer component's title. This is the name Felt shows in its own UI. A layer component therefore takes both: its title is the display name, its attribute binding is the storage name. A style that renames a column makes the two names unrelated strings, so neither can be derived from the other — read both from this tool. A layer's features and columns can be edited by collaborators between turns, so treat results as a snapshot and re-inspect when correctness matters.

  • List annotations

    Return all lightweight markup annotations on a map. Only includes annotation types this tool family can edit: `Place`, `Rectangle`, `Polygon`, `Circle`, `Text`, `Note`, `Link`, `Line`. Other annotation types drawn in the UI are excluded but still exist on the map — mention that to the user if they ask why something is missing. Each returned annotation is shaped to pass straight back to `upsert_annotations` (modify by its `id`). Geometry conventions — every coordinate is `[latitude, longitude]`, the reverse of the `[longitude, latitude]` order that SQL and GeoJSON expect. Per type: - `Place` — `coordinates` is one point. - `Circle` — `center` and `radius` in meters. No polygon is returned; construct one if you need an area. - `Rectangle` — `corners` is the south-west corner then the north-east corner of an axis-aligned box. - `Polygon` — `coordinates` is the outer ring, left open: the first vertex is not repeated at the end. No holes. - `Line` — `coordinates` is an ordered list of vertices forming a single polyline. A route along roads or paths also has `routeMode` (`DRIVING`, `CYCLING` or `WALKING`), and its `coordinates` are the route's waypoints; send both back to change it. - `Text`, `Note`, `Link` — `corners` is the box the label occupies on screen. It is not a claim about an area on the ground; don't use it as one. Annotations are markup, not data — for circling, labelling, sketching and pointing things out. If the geometry comes from a query or a file, traces a real boundary, or runs to more than a handful of shapes, create a layer instead.

  • List data sources

    List connected external databases (Postgres, Snowflake, BigQuery, etc.). Returns source names, IDs, and database types. The type indicates the SQL dialect to use when querying.

  • List felt servers

    List the workspace's Felt Servers — named containers of reusable layers organized into folders. Returns each server's id, name, and description.

  • List layer components

    List the components on a layer — the charts, statistics, filters and histograms shown in the legend. Components belong to layers, so this is how you find out what a map already has: call it for each layer you are interested in, taking layer ids from list_map_layers. Also gives you a component's id and current state before you change it.

  • List map components

    List the map components on the map. Measurements, searches, spatial filters, and action buttons. Includes ids, types, titles, and creation times, plus the tool (search, measure, basemap, or table) an action button opens. In rendered order, topmost first.

  • List map layers

    List the layers on a map. Returns standalone layers and multi-layer groups (groups of related layers that share metadata) separately. Each layer carries its id, name, geometry type, visibility, and a `queryable` flag — but not column schemas; use inspect_layer for those. Everything is listed in legend order, topmost first; `stack_position` (0 = topmost) is the row's position in the stacking order shared by standalone layers and groups, and layers inside a group are listed topmost first.

  • List maps

    List maps the current user can access. Returns the most recently visited maps.

  • List print layouts

    List the layouts a new print page can start from with `create_print_page`: Felt's built-in layouts (`built_in`, which fit any page size and orientation) and the workspace's own (`workspace`, saved from pages, which keep their page size). Each lists what it holds.

  • List print pages

    List the print pages designed on a map in Felt's print editor, with each page's size and units, the file it prints to, and a summary of what is on it. `get_print_page` describes one in full and `export_print_page` prints one. Text is returned as authored and can hold Liquid tokens that are filled in when the page is printed: `{{ map.title }}`, `{{ map.description }}` and `{{ date }}` (the print date).

  • List projects

    List all projects in the current workspace.

  • Poll layer processing status

    Wait until a layer is ready to use, or until a refresh of it finishes. Polls until the status resolves or `wait_seconds` elapses. `wait_seconds` is one of `5`, `10`, or `30`. Pick `5` for a quick check before moving on; pick `30` when waiting for processing is better UX than an idle back-and-forth. The call returns early if the status resolves sooner. `waiting_for` picks which question you are asking. They are different: a layer being refreshed keeps serving its previous data, so it can be ready to use and have an unfinished refresh at the same time. Returns `status`, one of: - `processing` — still working; call this tool again. - `completed` — ready. - `failed` — it failed. An `error` field explains why. An `error_type` field (when present) gives the exception class name. When `waiting_for` is `layer` and something is refreshing the layer in the background, the result also carries `refresh_in_flight: true`: the layer is usable, but its data is about to change.

  • Render map

    Render a Felt map inline as an interactive widget for the user. This only shows the map: to learn its title, description, basemap or layers, read the map's properties and its layer list instead. The widget captures a one-shot snapshot of the map's state at the moment this tool is called and does NOT update live as you make further changes — call `render_map` LAST in any turn that creates or edits a map so the user sees the final state. If you added or imported layers in this turn, first call `poll_layer_processing_status` and wait for them to finish processing; rendering before that point shows an empty or incomplete map. ALWAYS pair this call with the map's URL in your text reply: include the returned `url` as a clickable markdown link (e.g. `[<map title>](<url>)`). The widget is a snapshot users can't navigate from — the link is how they actually open the map in Felt, so calling `render_map` is not a substitute for sharing the URL.

  • Resolve places

    Resolve place ids into names and lat/lng coordinates. Pass place ids exactly as they were returned by a search; do not invent ids. This is the only way to get coordinates for a place; never estimate them.

  • Sample raster value

    Read the value of every band of a raster layer at a single point — the pixel containing the coordinate, no interpolation. Use it for "what's the elevation / temperature / land-cover class here" questions about a place, a pin, or a feature's location. A `value` of null means the point is outside the raster or on nodata. For ranges and averages over an area or along a line use get_raster_stats instead.

  • Search places

    Search for places by name, address, or point of interest (e.g. "Al's Tireshop", "1600 Pennsylvania Ave", "Union Station Kansas City"). Pass up to 24 search strings. Each query returns up to 6 candidate places, each with a place id and a human-readable address label but NO coordinates — resolve those ids with `resolve_places`. This tool does NOT support category searches, such as "pizza restaurants". Results are biased toward the map named by `map_id`, which is what makes an ambiguous name resolve to the right place. Pass `bias` to search around a different point instead. Load `get_geocoding_guidance` before your first call. It decides whether this tool is the right path for the request at all, and the answer is not always yes.

  • Who am i

    Get information about the current user and workspace they are logged into.

PreviousPage 2 / 2