ipt-mcp
It lets an AI assistant drive a GBIF IPT end-to-end — create, fill metadata, validate data, map to Darwin Core, and publish — across one or more configured IPTs.
Instances & health: list configured IPTs (never credentials) and check IPT status (disk, registry/network).
Browse published data: list/search public datasets (optionally in abstracts and keywords), read published EML summaries.
Manage resources: list resources you can manage, create empty resources or import a DwC-A, delete resources (with confirmation).
Metadata: read/edit metadata sections (basic, contacts, coverage, keywords, methods, project, citations, …), fetch the draft EML, or replace EML from a file.
Data sources: add local files, URLs or SQL sources; configure parsing (delimiter, encoding, header lines, date format); peek at parsed rows; delete sources.
Local validation: validate TSV/CSV files before upload (column counts, encoding, dates, coordinates, duplicate IDs) — safe on multi-GB files.
Darwin Core mapping: list extensions, add mappings, assign columns/fixed values/ID columns, unmap or delete mappings, and see unmapped or required missing terms.
Pre-flight checks: per-resource status and a publish-readiness check (invalid metadata, unanalysed sources, missing mappings).
Publishing: publish a new version (full or metadata-only), wait for completion, and inspect publication status and log tails.
Visibility & scheduling: request public/private visibility and configure automatic publication (e.g. weekly).
Safety: read-only mode per IPT or globally, and explicit confirmation required for publishing, visibility changes, deletions and EML replacement.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ipt-mcp Create an occurrence resource with shortname flora_valencia_2025"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ipt-mcp
Experimental proof of concept. It shows what could be done with a GBIF IPT with the help of an AI agent: create a resource, fill in its metadata, validate and add data, map it to Darwin Core and publish it, all by asking in plain language. It is not production software: expect rough edges, and try it on a test IPT first.
An MCP server that lets an AI assistant manage an IPT from resource creation up to publication, validating data before it reaches the IPT.
Setup
You need Node.js 22 or newer and git.
Quick way (Linux, macOS, Windows): the installer checks Node, installs the dependencies, saves your IPT(s) in a small config file (without the password) and connects the server to your MCP client.
git clone https://github.com/vjrj/ipt-mcp.git
cd ipt-mcp
node scripts/install.mjsIt asks for a name (for example demo), the IPT URL, your login email (any manager account works, see
IPT account roles) and your MCP client (claude-desktop,
claude-code, or print to just show the configuration). Then set the password in the environment that launches the
client; the installer tells you the exact variable (for demo: IPT_DEMO_PASSWORD):
export IPT_DEMO_PASSWORD='your-password' # Linux / macOS (Windows: setx IPT_DEMO_PASSWORD "your-password")Non-interactive, and how to add more IPTs (run it again with another name):
node scripts/install.mjs --name demo --url https://ipt-demo.example.org/ipt --email me@example.org --client claude-desktop
node scripts/install.mjs --name prod --url https://ipt.example.org/ipt --email me@example.org --client claude-desktop --readonlySeveral IPTs (demo, production, …)
The installer writes ~/.config/ipt-mcp/instances.json (Windows: %APPDATA%\ipt-mcp\instances.json); you can also edit
it by hand. ${VAR} takes the value from an environment variable, so no password lives in the file:
{
"default": "demo",
"instances": {
"demo": { "url": "https://ipt-demo.example.org/ipt", "email": "me@example.org", "password": "${IPT_DEMO_PASSWORD}" },
"prod": { "url": "https://ipt.example.org/ipt", "email": "me@example.org", "password": "${IPT_PROD_PASSWORD}", "readonly": true }
}
}Every tool accepts an instance argument, so you can say "list the datasets on prod" or "create the resource on
demo"; without it the default IPT is used. ipt_list_instances shows what is configured (never the credentials).
"readonly": true makes every write operation refuse to run on that IPT.
Manual configuration
If you prefer to write the MCP client configuration yourself, for one IPT (no config file):
{ "mcpServers": { "ipt": {
"command": "node", "args": ["--import", "tsx", "/path/to/ipt-mcp/src/server.ts"],
"env": { "IPT_URL": "https://my-ipt.example.org/ipt", "IPT_EMAIL": "me@example.org", "IPT_PASSWORD": "…" }
} } }Or for several IPTs, pointing IPT_INSTANCES at the file the installer writes (see
Several IPTs above) and exporting each password before launching the client:
{ "mcpServers": { "ipt": {
"command": "node", "args": ["--import", "tsx", "/path/to/ipt-mcp/src/server.ts"],
"env": { "IPT_INSTANCES": "/home/me/.config/ipt-mcp/instances.json" }
} } }export IPT_DEMO_PASSWORD='…'
export IPT_PROD_PASSWORD='…'IPT_INSTANCES also accepts the JSON inline instead of a file path; whitespace does not matter to it, only where you
set it does. As a shell variable it can span several lines:
export IPT_INSTANCES='{
"default": "demo",
"instances": {
"demo": { "url": "https://ipt-demo.example.org/ipt", "email": "me@example.org", "password": "${IPT_DEMO_PASSWORD}" },
"prod": { "url": "https://ipt.example.org/ipt", "email": "me@example.org", "password": "${IPT_PROD_PASSWORD}", "readonly": true }
}
}'
export IPT_DEMO_PASSWORD='…'
export IPT_PROD_PASSWORD='…'Inside a client's own JSON config file it has to stay on one line, because a JSON string cannot contain a literal line break — set it to this value (most client UIs quote it for you, so you rarely have to escape it by hand):
{"default":"demo","instances":{"demo":{"url":"https://ipt-demo.example.org/ipt","email":"me@example.org","password":"${IPT_DEMO_PASSWORD}"},"prod":{"url":"https://ipt.example.org/ipt","email":"me@example.org","password":"${IPT_PROD_PASSWORD}","readonly":true}}}alongside IPT_DEMO_PASSWORD and IPT_PROD_PASSWORD in the same env block. The file form above is easier to read
and edit, so prefer it unless your client cannot point IPT_INSTANCES at a file.
Without credentials only the public queries work.
IPT_URLdefaults tohttps://ipt.gbif.org.IPT_INSTANCES(a JSON file path, or inline JSON as above) replacesIPT_URL/IPT_EMAIL/IPT_PASSWORDwhen you have several IPTs.IPT_READONLY=1makes every write operation refuse to run on all IPTs.Publishing, changing visibility, deleting and replacing the EML do nothing without explicit confirmation: the assistant explains what will happen (and on which IPT) and asks you first.
IPT account roles
The server logs in with your IPT account exactly like the web interface, so the assistant can do what that account can do in the IPT and nothing more. It only uses the resource manager pages, never the IPT administration pages, so you don't need an admin account.
IPT role | What the assistant can do |
No credentials | Public queries only: list datasets, read published metadata, check the IPT is up. |
User | The same public queries: IPT users have no access to resource management. |
Manager (with or without registration rights) | The whole flow (create, metadata, sources, mapping, publish, visibility, delete) on the resources the account created or was added to as a manager. |
Admin | The same as a manager, on every resource of the IPT. |
Registration rights make no difference yet: GBIF registration and DOIs are not covered (see Not covered yet).
To restrict any account further, use
"readonly": truefor that IPT orIPT_READONLY=1.The integration tests run with an admin account; manager accounts have not been tested yet.
Related MCP server: dSIPRouter MCP Server
What to ask (prompts by use case)
The examples assume a test IPT; replace names and paths. You can give everything in one message or go step by step.
1. See what is there
Which resources can I manage on the IPT and what state is each one in (published version, visibility, valid metadata)?
List the public datasets on my IPT that mention "plants" and tell me how many records each has.
Which IPTs can you use? Now list the public datasets on
prod.
2. Create a resource from scratch
Create an occurrence resource with shortname
flora_valencia_2025.
Create a checklist resource called
bryophyte_catalogue.
3. Create a resource from an existing DwC-A
Create the resource
herbarium_uvby importing/data/herbarium_uv.zip, and tell me whether it is ready to publish.
4. Fill in the metadata
In
flora_valencia_2025set the title "Vascular flora of the province of Valencia", language Spanish, licence CC0 and this description: "…". Contact, creator and metadata provider: Ana Perez, Valencia Botanical Garden, ana@example.org.
Add geographic coverage (lat 38–40, lon −1 to 0.5, "Province of Valencia"), temporal coverage from 2019-01-01 to 2023-12-31 and taxonomic coverage for Quercus ilex and Pinus halepensis.
Add the keywords "flora" and "Valencian Community" and these methods: study extent "province of Valencia", sampling "random transects", quality control "manual review by a botanist".
Replace the resource metadata with the contents of this EML file:
/data/revised_eml.xml.
Show me the fields of the project section and fill in the title and funding with …
5. Add the data (with validation)
Validate
/data/occurrences.txtbefore uploading it and tell me what problems it has.
Upload
/data/occurrences.txtas a source offlora_valencia_2025. If it has problems, do not upload it and explain them.
Add the URL
https://example.org/export.csvas a source namedexport, comma delimiter, UTF-8, and show me the first rows as the IPT understands them.
My large file has records split by line breaks: tell me how many rows are broken and on which lines.
6. Map to Darwin Core
Map the source
occurrencesto Darwin Core Occurrence and tell me which columns were left unmapped.
In the Occurrence mapping, assign
obs_datetoeventDateandsptoscientificName, and setkingdom= Plantae andbasisOfRecord= HumanObservation as fixed values.
Show me the current mapping and which required terms are missing.
7. Check before publishing
Check whether
flora_valencia_2025is ready to publish and tell me everything that is missing, section by section.
8. Publish
Publish
flora_valencia_2025with the summary "First version" and tell me when it finishes, how many records were generated and whether there were warnings.
Publish only the metadata of
bryophyte_catalogue(no data).
9. Make it public
Make
flora_valencia_2025public and publish a new version so the change takes effect. Then check that it appears in the public list with its record count.
10. Update a version
I changed
/data/occurrences.txt. Validate it, upload it again as the sourceoccurrences, re-analyse it, check that the mapping is still complete and publish the next version.
11. Automatic publication
Configure
flora_valencia_2025to publish automatically every Friday at 12:00.
12. Diagnosis and clean-up
The last publication of
flora_valencia_2025failed: show me its status and the end of the log.
Delete the source
testand the resourcedraft_test.
camaras_2024has been "publishing" for hours and is locked: cancel that publication.
13. Camtrap DP / data package metadata
The IPT reads datapackage.json from its data directory only at startup, and rewrites it on every save, so editing
that file by hand while the IPT runs does nothing (and restarting is not needed). Edit it through the MCP instead:
Give me the datapackage.json of
camaras_2024and save it to/data/camaras_2024.json.
I edited
/data/camaras_2024.json: replace the metadata ofcamaras_2024with it, tell me if the IPT dropped any property, and publish a new version so GBIF re-indexes it.
For Camtrap DP the IPT only serves the last published datapackage.json (the draft is not exposed as JSON): replacing
with an edit of it discards changes made in the IPT's metadata forms since that publication, so publish those first
(or redo them in the JSON), and publish again afterwards to see the result. The IPT resets name, id and created, keeps the version and silently
drops properties it does not model (listed under dropped when the draft can be read back, as with ColDP).
The whole flow in one message
Using
/data/occurrences.txt, create an occurrence resourceflora_valencia_2025. Title "…", description "…", licence CC-BY, contact and creator Ana Perez (Botanical Garden, ana@example.org). Validate and upload the file, map it to Occurrence, check that it is ready and, if it is, tell me which version will be created and ask me to confirm before publishing.
Tips
Always ask to "validate first" when working with new files: the assistant uses
validate_tsvand will not upload broken data.If something fails, the error includes the IPT's own message; ask the assistant to fix it and retry.
For actions that need confirmation, answer "yes, go ahead" once it has described what it is going to do.
Security
The password is never returned to the model: every tool result and error is scrubbed of
IPT_PASSWORD, URL credentials and any field named password/secret/token/API key.Local files are only read or uploaded when they are real data files (
.txt .tsv .csv .xls .xlsx .zip .gzfor data,.xmlfor EML,.zipfor a DwC-A) and not inside hidden paths (~/.ssh,~/.config,~/.mcp.json, …). SetIPT_ALLOWED_DIRS=/data:/home/me/exportsto restrict them to specific directories.Prefer keeping passwords out of files the assistant can read: use
${VAR}in the instances file (the installer does) and export the variables from your secrets manager in the environment that launches the MCP client.
Technical reference, tests and CI: DEVELOPMENT.md.
Available Tools
32 toolsipt_add_mappingA
[writes to the IPT] Map a source to an extension (Occurrence, Taxon, Event, …). The IPT automaps columns by header name. Refuses a second mapping of the same row type unless allowDuplicate (it multiplies published records).
Inputs: source (required), rowType (required), shortname (required), allowDuplicate.
ipt_add_sourceA
[writes to the IPT] Add a data source: a local file (.txt/.csv/.tsv/.xlsx/.zip), a URL, or an (unconfigured) SQL source. Text files are validated first and refused when they have problems (embedded newlines/tabs, bad encoding, …) unless skipValidation.
Inputs: type (required), shortname (required), url, name, +3 more.
ipt_configure_sourceB
[writes to the IPT] Set how a source is parsed (delimiter, quote character, header lines, encoding, date format) and re-analyse it; for SQL sources pass raw fields (host, database, credentials, SQL).
Inputs: source (required), shortname (required), fields, analyze, +6 more.
ipt_create_resourceB
[writes to the IPT] Create a resource, empty or importing a Darwin Core Archive (.zip) from a local path.
Inputs: type (required), shortname (required), dwcaPath.
ipt_delete_mappingC
[writes to the IPT] Delete a mapping.
Inputs: rowType (required), shortname (required), mid, confirm.
ipt_delete_resourceA
[writes to the IPT] Delete a resource from the IPT (never touches the GBIF registry).
Inputs: shortname (required), confirm.
ipt_delete_sourceA
[writes to the IPT] Delete a source (its mappings must be removed first).
Inputs: source (required), shortname (required), confirm.
ipt_get_draft_emlC
The draft EML the IPT currently holds for the resource.
Inputs: shortname (required).
ipt_get_mappingB
Show a mapping: source columns, ID column, the term assignments (mapped terms and required unmapped terms unless all=true), the source columns that are not mapped to any term, and the required terms still unmapped.
Inputs: rowType (required), shortname (required), all, mid.
ipt_get_metadataA
Fetch a published dataset's EML and return a summary (title, abstract, license, contact count).
Inputs: shortname (required).
ipt_get_metadata_formA
Editable fields (names and current values) of a metadata section, to use with ipt_set_metadata_fields. Sections: basic, contacts, acknowledgements, geocoverage, taxcoverage, tempcoverage, additionalDescription, keywords, project, methods, citations, collections, physical, additional.
Inputs: section (required), shortname (required).
ipt_get_publication_statusC
State of the latest publication (running/completed/failed) and the tail of the publication log.
Inputs: shortname (required), logLines.
ipt_get_settingsC
Publication options form (page: auto-publish | publication-settings).
Inputs: page (required), shortname (required).
ipt_get_statusA
Status of a resource: visibility, sources (rows/columns), mappings, metadata validity and problems, published/next version.
Inputs: shortname (required).
ipt_healthA
IPT status (disk, registry/network flags). Public.
Inputs: no named parameters.
ipt_list_datasetsA
List published datasets of the IPT (id, title, version, records, core, DwC-A/EML URLs). Public: private resources do not appear. query matches id and title; with searchMetadata it also looks in each dataset's abstract and keywords ("datasets that mention plants"). A records value of 0 means the IPT inventory reports no count, not necessarily an empty dataset.
Inputs: limit, query, searchMetadata.
ipt_list_extensionsC
Extension row types available for mapping on this resource.
Inputs: shortname (required).
ipt_list_instancesA
The IPT servers this MCP can talk to (name, URL, default, whether it has credentials, read-only). Never shows credentials.
Inputs: no named parameters.
ipt_list_managed_resourcesA
Resources the configured IPT user can manage (needs IPT_EMAIL/IPT_PASSWORD).
Inputs: no named parameters.
ipt_peek_sourceC
First rows of a source as the IPT parsed them.
Inputs: source (required), shortname (required).
ipt_publishA
[writes to the IPT] Validate then publish a new version (DwC-A + EML). Refuses when the pre-flight finds problems. Waits for completion by default. Note: making a resource public also needs a publication to take effect.
Inputs: shortname (required), wait, confirm, summary, +1 more.
ipt_replace_emlB
[writes to the IPT] Replace the resource's metadata with an EML file from a local path.
Inputs: path (required), shortname (required), confirm, validate.
ipt_set_basic_metadataA
[writes to the IPT] Set title, description, license (cczero | ccby | ccbync), language, update frequency, type. Omitted fields are left as they are.
Inputs: shortname (required), title, license, coreType, +4 more.
ipt_set_contactsA
[writes to the IPT] Replace agent lists. The IPT requires at least one contact and one creator; lists not given keep their current rows. Each agent needs a last name, an organisation or a position.
Inputs: shortname (required), contacts, creators, associatedParties, +1 more.
ipt_set_coverageA
[writes to the IPT] Replace geographic, taxonomic and/or temporal coverage (only the ones given).
Inputs: shortname (required), temporal, taxonomic, geographic.
ipt_set_keywords_methodsC
[writes to the IPT] Replace keyword sets and/or methods (study extent, sampling, quality control, steps).
Inputs: shortname (required), methods, keywords.
ipt_set_mappingB
[writes to the IPT] Adjust a mapping: columns maps a term (URI, dwc:name or name) to a source column header (null to unmap); defaults gives constant values; idColumn picks the record ID column.
Inputs: rowType (required), shortname (required), mid, columns, +2 more.
ipt_set_metadata_fieldsA
[writes to the IPT] Save any metadata section by raw field names (get them with ipt_get_metadata_form). Repeatable items use indexed names such as eml.citation.citation or eml.physicalData[0].name.
Inputs: fields (required), section (required), shortname (required).
ipt_set_settingsC
[writes to the IPT] Save publication options (page auto-publish: updateFrequency, updateFrequencyDayOfWeek, updateFrequencyDay, updateFrequencyTime, skipUnchanged, …).
Inputs: page (required), values (required), shortname (required).
ipt_set_visibilityC
[writes to the IPT] Request public/private visibility. The IPT applies the change at the next publication (a new version).
Inputs: shortname (required), visibility (required), confirm.
ipt_validate_resourceA
Pre-flight check before publishing: invalid metadata (per section), missing/unanalysed sources, missing mappings, unmapped required terms. The IPT itself does NOT block these.
Inputs: shortname (required), metadataOnly.
validate_tsvA
Validate a local Darwin Core text file BEFORE uploading it: column-count consistency (embedded newlines/tabs), UTF-8/mojibake, year/month/day and lat/long ranges, duplicate occurrenceID. Streams; safe for multi-GB files.
Inputs: path (required), idColumn, delimiter, maxIssues.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 32 tools
Tools are broadly distinct: reads vs writes, resources vs mappings vs metadata, and validation stages are clearly separated. The main ambiguity is that several specialized metadata setters (basic, contacts, coverage, keywords/methods) overlap with the generic ipt_set_metadata_fields, so an agent could choose either route.
The dominant pattern is ipt_<verb>_<noun>, with list for collections and get for single items. Minor deviations include `ipt_health` with no verb, `validate_tsv` lacking the ipt_ prefix, and `ipt_publish` being a bare verb.
At 32 tools, the server is above the 25+ threshold and feels heavy for an agent to navigate. Several specialized metadata setters duplicate the generic ipt_set_metadata_fields and could be consolidated without losing functionality.
The surface covers the full publish lifecycle: create resources, add/configure sources, map terms, validate, publish, change visibility, and delete resources. Minor gaps exist, such as refreshing an existing URL source or directly downloading a published archive, but agents can work around them.
Maintenance
Related MCP Connectors
Create, edit, translate, and export SCORM eLearning modules from a connected AI assistant.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Connect AI clients to biomedical data and tools.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to manage WordPress sites through natural conversation, supporting post creation, content updates, site queries, and draft-to-publish workflows via the WordPress REST API.9MIT

dSIPRouter MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage dSIPRouter operations such as endpoint groups, carrier groups, inbound mappings, and call data retrieval through natural language.Apache 2.0- AlicenseAqualityAmaintenanceEnables AI assistants to search, explore, and query any CKAN open data portal through natural language, making public datasets accessible without requiring knowledge of the portal's API.201,850 npm81MIT
- AlicenseBqualityFmaintenanceEnables AI assistants to manage Deriva catalogs and execute ML workflows, including dataset versioning, controlled vocabularies, and feature management.100Apache 2.0