Skip to main content
Glama
IFS Cloud Bridge

IFS Cloud Bridge

by dchemwetich

MCP Server for IFS Cloud (Python)

MCP License: MIT Python IFS Cloud

An open source project to connect IFS Cloud to the AI agent you already use. No new platform, no extra product to buy.

This is a standard Model Context Protocol (MCP) server that runs on your own machine. Use it with Claude Code, Codex CLI or any other AI agent that supports MCP. The setup differs per tool; the server is the same.

Version 2 is a Python rewrite of knakit/ifs-mcp-server-local (TypeScript). Tools, skills and the ~/.ifs-mcp config and session files are unchanged, so existing setups keep working.

WARNING

This is anopen source initiative, provided as-is under the MIT license. You are in control of what your AI agent can do with IFS, so be cautious about using it in production: start with a test instance and review what the agent does before it changes data. See Your data and your control.


The idea

Connecting an AI agent to IFS Cloud is hard for one reason: the data. IFS exposes its functionality through projections (OData endpoints), and there are around 5,000 of them, each with its own data structure. Building an agent that knows all of that is practically impossible.

But nobody uses all of IFS. In their day-to-day work, the average user touches only a handful of screens and needs only the data they see on them.

This project doesn't try to teach an agent everything. It gives you a framework to connect IFS Cloud to your AI agent, and lets you build skills for the parts of IFS you actually use. You build a skill once, from your own requirements, and then use it however you like.

MCP Server for IFS Cloud demo

Related MCP server: SmartSuite MCP Server

What you can do

Ask in plain language, for example:

  • "Find the customer Acme and show me their delivery address."

  • "Run the quick report 'Session Stats'."

  • "Export all open purchase orders to a CSV."

  • "I work in the Purchase Order screen every day. Create a skill so you can help me with it."

You can register several IFS instances (dev, test, prod), switch between them and mark any of them read-only.

How it works

The server is a broker between your AI agent and IFS Cloud. It turns requests into IFS API calls and brings the data back. To pick the right endpoint, the agent needs to know your IFS endpoints, and that knowledge lives in skills.

MCP Server for IFS Cloud outlook

What is a skill?

A skill is a plain Markdown file that describes an IFS area: its endpoints, how to call them and what the data looks like. The agent reads the matching skill before it calls an API, so it doesn't have to guess IFS-specific paths and field names.

It ships with skills for finding the projection behind a screen and running Quick Reports, plus guides for OData syntax and for building skills.

Build your own (no coding needed):

  • From a screen name: tell the agent which IFS screen you use. It finds the projection behind it, fetches the live OpenAPI spec and drafts the skill. Best for master data such as customers, suppliers and parts. If you already know the projection name, you can give that instead.

  • From a browser recording: record your workflow in IFS (DevTools → Network → Save as HAR). The agent extracts the API calls and builds the skill with you. Best for multi-step transactions.

  • Import one: take a skill from a URL or a local file. Share yours, and find others', in the community skills repository.

If no skill matches, the agent finds the projection in the IFS navigator and asks before it creates one.

TIP

Skills are saved inside the server's own folder by default, so an update can wipe them. Set askills directory (a folder on your machine, or a git repo) before you start building. See Configuration.


Your data and your control

  • Runs locally. The server runs on your machine and talks only to your IFS Cloud instance (and to a URL you give it when importing a skill). No telemetry.

  • Credentials stay local. OAuth tokens are stored only on your machine, are sent only to your IFS Cloud instance, and are never returned to the agent. The server won't accept a client secret in chat. For headless client_credentials login you supply the secret yourself (environment variable or config.json).

  • Limit what the agent can do. Mark an environment readOnly to block everything except GET. For a hard limit, use a dedicated IFS user with only the permission sets it needs.

  • Know what reaches the AI model. Data that a tool returns into the conversation is sent by your AI agent to its model provider. The server does not control that step. The FAQ lists, action by action, what the model sees and what stays local.


Quick start

You need: an IFS Cloud instance where you can create an OAuth client (or ask your IFS administrator to), an AI agent that supports MCP, and Python 3.10+.

  1. Create an OAuth client in IFS Cloud (IAM → IAM Clients). See Installation, step 1.

  2. Install the server. Clone this repo and create its virtual environment once:

    python -m venv .venv
    .venv/Scripts/python -m pip install -e .     # Windows
    .venv/bin/python -m pip install -e .         # macOS / Linux

    Then register it with your AI agent:

Tool

How

Claude Code

claude plugin marketplace add /path/to/ifs-cloud-mcp-bridge, then claude plugin install ifs-mcp-server@ifs-local

Codex CLI

codex mcp add ifs -- python /absolute/path/to/ifs-cloud-mcp-bridge/launch.py

Other MCP tools

Register python /absolute/path/to/ifs-cloud-mcp-bridge/launch.py as a stdio MCP server

launch.py runs the server inside the repo's .venv. The Claude Desktop one-click .mcpb bundle from the TypeScript version is not offered for v2.

  1. Register your IFS instance by asking the agent to add an environment (how).

  2. Log in: ask the agent to log in to IFS (for a headless client_credentials environment this happens automatically). A local page shows which environment and instance you are signing in to, and whether it is read-only, before sending you to the IFS sign-in:

    Sign-in page

    After signing in

    Sign-in page

    Signed in

  3. Build your first skill: ask the agent to create a skill for a screen you use, for example "I work in the Purchase Order screen every day. Create a skill so you can help me with it." It finds the projection behind the screen, fetches the spec from your IFS, asks you a few questions and saves the skill. See Skill Authoring.

Once the skill is saved, ask for what you need in plain language, as in the examples above.

Full steps for each tool are in the installation guide.


Documentation

Document

What's in it

Get started

Installation

OAuth client, install for each AI agent, first login

Managing IFS Environments

Several IFS instances, interactive vs headless login, read-only

Configuration

Skills directory

Guides

Skill Authoring

Build, update and share skills

FAQ

Data flow and privacy, setup and cleanup

Reference

Tools, Prompts & Resources

Every tool and prompt

Architecture

Components and data flows

Project

Contributing

Share skills, report bugs, develop the server

Security · Privacy

Data handling and vulnerability reporting · privacy policy


MIT licensed. Not affiliated with IFS. Based on knakit/ifs-mcp-server-local by knak.it. Built with the help of Claude Code.

Available Tools

13 tools
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.

Inputs: name (required), apiBaseUrl (required), oauthRealm (required), oauthClientId (required), +2 more.

call_protected_apiA
Destructive

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.

Inputs: method (required), endpoint (required), body, headers, +2 more.

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.

Inputs: method (required), endpoint (required), body, headers, +3 more.

get_api_guideA
Read-only

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.

Inputs: guide.

get_session_infoA
Read-only

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

Inputs: no named parameters.

import_skillA
Destructive

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.

Inputs: source (required), filename.

list_ifs_environmentsA
Read-only

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.

Inputs: no named parameters.

parse_har_fileA
Read-only

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

Inputs: path (required).

read_openapi_fileA
Read-only

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.

Inputs: path (required).

remove_ifs_environmentA
Destructive

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.

Inputs: name (required).

save_skillA
Destructive

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.

Inputs: content (required), filename (required).

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.

Inputs: force.

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').

Inputs: name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    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.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      A production-ready MCP server that provides secure, delegated access to Microsoft 365 services including Email, SharePoint, OneDrive, and Calendar. It enables AI models to search messages, browse files, manage calendar events, and parse document contents using OAuth 2.1 authentication.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server for OData v4 endpoints, especially Microsoft Dataverse/Dynamics 365, enabling authentication, schema discovery, querying, CRUD, and more via natural language.
      MIT