Skip to main content
Glama
IFS Cloud Bridge

IFS Cloud Bridge

by dchemwetich

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

IFS Cloud endpoints, projection names and OData syntax are customer-specific and cannot be guessed. Before any call_protected_api call, load the matching skill with get_api_guide (call it with no argument to list guides). To find which projection a screen, page or menu entry uses, load the 'ifs-framework-client-navigator' guide first. If no guide matches, find the projection through the navigator, show the user the hit(s), and get their confirmation (always when there are several hits) before building a new skill with the ifs-skill-authoring guide and save_skill. Never probe or invent endpoints.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
add_ifs_environmentA

Register (or update) a named IFS Cloud environment with its URL, OAuth realm, and client ID. The first environment added becomes the active one automatically. Use this during setup when no environment is configured yet, or to add another instance (e.g. test, dev). Auth mode defaults to interactive browser login (authorization_code). Set authMode to 'client_credentials' for headless/service-account auth (works without a browser) - this needs a confidential client, and all calls run as the integration user rather than the end user. NEVER ask the user for a client secret and never accept one in chat: this tool takes no secret. For client_credentials the user supplies it themselves, outside the conversation - via the IFS_CLIENT_SECRET_ environment variable, or by editing config.json (the response says exactly how). If the user pastes a secret into chat anyway, do not use or repeat it; tell them to rotate it in IFS IAM.

list_ifs_environmentsA

List all configured IFS Cloud environments, showing which one is active and whether each is currently authenticated. Use this to show the user their options before they choose an environment to work with.

use_ifs_environmentA

Select which IFS Cloud environment subsequent IFS calls target. The selection persists until changed. Call this when the user says which environment to work with (e.g. 'use test', 'switch to prod').

remove_ifs_environmentA

Delete a configured IFS Cloud environment and its saved authentication token. If the removed environment was active and only one other remains, that one becomes active; otherwise no environment is active.

start_oauthA

Start OAuth 2.0 authentication flow - opens a login window in the browser. Call this automatically whenever an API tool returns an authentication_required error or session expiry. Do not ask the user to trigger this manually.

get_session_infoA

Get information about the current saved session for the active IFS environment, including which environment is active and expiration status.

call_protected_apiA

Call a protected IFS Cloud API endpoint using an authenticated session. IFS Cloud projection names, endpoint paths, key fields, and OData filter syntax are non-standard and vary per customer configuration. Guessing them will produce 404 errors or silently return wrong data. You MUST call get_api_guide first to get the correct endpoint and query pattern for the workflow - do not skip this step even if you think you know the endpoint. Do NOT call $metadata, probe unknown paths, or construct endpoints from scratch. If get_api_guide returns no matching guide, follow the instruction in its result: look up the screen in the client navigator, show the user the matching projection(s), and ask for confirmation before creating a new skill (always ask which one when there are several). If the response contains error 'authentication_required', immediately call start_oauth - do not relay the error to the user or ask them to authenticate manually. Targets the active IFS environment unless 'environment' is given. If the response contains error 'no_environment_selected', do not guess - show the user the listed environments and ask which one to use, then call use_ifs_environment. Pass an If-Match header for conditional PATCH/DELETE on projections that require optimistic concurrency (check the API guide or a prior GET response's @odata.etag). Pass X-IFS-Content-Disposition to set the filename IFS uses for a file upload/download.

get_api_guideA

Look up the skill guide for an IFS workflow before querying the API. IFS Cloud endpoint paths, projection names, key fields, and OData filter syntax are customer-specific and non-standard - they cannot be inferred from general OData or REST knowledge. Call this first with a keyword (e.g. 'customer', 'sales', 'parts') to get the correct endpoints and query patterns. Call without arguments to list all available guides. To find which projection a screen or page uses, load the 'ifs-framework-client-navigator' guide. If no guide matches, the result explains how to find the projection via the navigator and offer to build a new skill.

export_api_dataA

Export large API result sets to a CSV file. Fetches data in batches of 100 records using $top/$skip pagination and saves to ~/Downloads/ (or ~/.ifs-mcp/exports/ if that doesn't exist). Use this when call_protected_api returns a 'Response too large' warning. Keyed/singleton endpoints (e.g. CompanySet(Company='10')) are also supported - exported as a single row, without pagination.

import_skillA

Import an IFS resource guide (skill) from an HTTPS URL or local file path and make it available immediately. Useful for sharing skills between users - share the .md file and others can import it with this tool. The skill is available immediately after import - no restart needed.

save_skillA

Save an IFS resource guide (skill) to the skills library. For new skills, writes immediately. For existing skills, writes the update and returns a summary of what changed. Call this after drafting a skill with the ifs-skill-authoring guide (or the build_ifs_skill_from_* prompts), and only after the user has confirmed the projection and filename.

parse_har_fileA

Read and summarise a browser HAR file for skill authoring. Returns a structured summary of the IFS API calls found in the recording.

read_openapi_fileA

Read and summarise a downloaded OpenAPI/Swagger JSON file for skill authoring. Returns a structured summary of the entity sets, methods, and properties found in the spec.

Prompts

Interactive templates invoked by user choice

NameDescription
build_ifs_skill_from_projectionBuild an IFS skill by fetching the OpenAPI spec live for a named projection.
build_ifs_skill_from_harBuild an IFS skill from a browser HAR recording.
build_ifs_skill_from_openapiBuild an IFS skill from a downloaded OpenAPI/Swagger spec file.

Resources

Contextual data attached and managed by the client

NameDescription
IFS OData Query ReferenceOData query syntax for IFS: $filter, $select, $orderby, $top, $expand, $count, paging and operators. Use when constructing or fixing query parameters for callprotectedapi endpoints.
IFS Framework Client NavigatorFind the projection (OData service) behind an IFS screen, page, form, menu entry or navigator label. Use when the user names a screen or asks which projection or API to use, and before building a new skill. Never guess a projection name.
IFS Framework Quick ReportsSearch, inspect and run IFS Quick Reports. Use when the user asks to find, list or run a quick report, report category, or ad-hoc/saved report by name or description.
IFS Skill Authoring GuideHow to create, build, format and save a new IFS skill (resource guide) from a projection, OpenAPI spec or HAR file. Use when no existing guide covers the user's workflow.

TDQS

A4/5.0

Scored across 13 tools

Disambiguation4/5

Most tools have clearly distinct purposes: environment CRUD, auth, API calling, export, and skill authoring form separable clusters. The main overlap is get_session_info versus list_ifs_environments, which both report the active environment and auth/expiry status, and the four skill-related tools (get_api_guide, save_skill, import_skill, parse_har_file, read_openapi_file) sit close together, though descriptions do enough to separate read/author/import workflows.

Naming Consistency5/5

Every tool follows a clean snake_case verb_noun pattern (list_, use_, add_, remove_, get_, call_, export_, import_, save_, parse_, read_, start_). Environment tools consistently carry the ifs_ infix, and resource nouns match their domain (api_guide, skill, har_file, openapi_file).

Tool Count4/5

13 tools is well within the well-scoped 3-15 range and each maps to a plausible step in a setup-auth-query-author workflow. Slight over-surface in the five skill-authoring tools relative to a single core API tool, but nothing feels redundant.

Completeness4/5

Environment lifecycle (add/list/use/remove), auth (start_oauth, get_session_info), querying (call_protected_api), export, and skill lifecycle (guide/save/import plus HAR and OpenAPI ingestion) are all covered. Minor gaps: no explicit logout/token-clear or force-refresh operation, and no way to inspect or delete individual skills beyond overwriting via save_skill.