ssff-mcp

v0.6.0
ssff-mcp Checked 25 minutes ago Published 1 month ago

Read-only MCP server for SAP SuccessFactors OData v2 (STDIO and authenticated Streamable HTTP)

A local, read-only MCP (Model Context Protocol) server for SAP SuccessFactors OData v2. It lets an AI assistant — OpenCode, Claude Desktop, Cursor, Codex, Pi, or any MCP client — read your SuccessFactors data through natural language, safely: read-only by construction, one page per call, and with no way to write anything. You could write your own SuccessFactors client, but you would handle auth and token refresh, effective dating, $batch envelopes, cursor pagination, error sanitization and — above all — the read-only boundary yourself.

Summary extracted from the README.

ssff-mcp

npm version license node CI MCP Badge

ssff-mcp — read-only MCP server for SAP SuccessFactors OData v2

A local, read-only MCP (Model Context Protocol) server for SAP SuccessFactors OData v2. It lets an AI assistant — OpenCode, Claude Desktop, Cursor, Codex, Pi, or any MCP client — read your SuccessFactors data through natural language, safely: read-only by construction, one page per call, and with no way to write anything.

Release status. Published on npm — the registry page always shows the latest published version, and CHANGELOG.md documents what each release contains. Anything described here but missing from the changelog is still on main: build from source if you need it today.

🆚 ssff-mcp vs calling OData directly

You could write your own SuccessFactors client, but you would handle auth and token refresh, effective dating, $batch envelopes, cursor pagination, error sanitization and — above all — the read-only boundary yourself. ssff-mcp is exactly that layer, packaged for any MCP client, and it refuses to write by construction. See the full comparison.

✨ Key features

  • Read-only by construction. No tool can write; the boundary lives in server code, never in a prompt.
  • Schema-aware. inspect_entity and MCP resources browse the data model without spending a data query.
  • Safe by default. HTTPS-only, sanitized errors, metadata-only stderr logs, secrets never logged.
  • Efficient reads. One page per call, signed cursor continuation, and one GET-only $batch for up to 180 reads.
  • Any MCP client. A local STDIO server — no HTTP port, no third-party proxy.
  • Cross-platform. Linux, macOS and Windows; Basic or OAuth 2.0 per environment.

📋 Requirements

  • Node.js >= 20.12 (Linux, macOS, Windows).
  • Any MCP client: OpenCode, Claude Desktop, Cursor, Codex, Pi, or another.
  • pnpm — only if you build from source. The installed CLI needs nothing beyond Node.

🚀 Getting started

Run the configuration wizard — it asks for your tenant URL and credentials, validates them live against $metadata, writes ~/.config/ssff-mcp/config.json and prints the block for your client:

npx -y ssff-mcp@latest init

Then paste that block into your client and restart it. Already have a configuration file? The standard config works in most tools:

{
  "mcpServers": {
    "ssff-mcp": {
      "command": "npx",
      "args": ["-y", "ssff-mcp@latest"]
    }
  }
}
{
  "mcp": {
    "servers": {
      "ssff-mcp": {
        "type": "local",
        "command": ["npx", "-y", "ssff-mcp@latest"],
        "environment": {}
      }
    }
  }
}
{
  "mcpServers": {
    "ssff-mcp": {
      "command": "npx",
      "args": ["-y", "ssff-mcp@latest"],
      "env": {}
    }
  }
}
{
  "mcpServers": {
    "ssff-mcp": {
      "command": "npx",
      "args": ["-y", "ssff-mcp@latest"],
      "env": {}
    }
  }
}
{
  "mcpServers": {
    "ssff-mcp": {
      "command": "npx",
      "args": ["-y", "ssff-mcp@latest"],
      "env": {}
    }
  }
}
[mcp_servers.ssff-mcp]
command = "npx"
args = ["-y", "ssff-mcp@latest"]

Install globally instead of with npx (npm install -g ssff-mcp, then run ssff-mcp), or build from source.

⚙️ Configuration

Hosted service (Streamable HTTP)

The hosted mode provides ssff-mcp serve: an authenticated service with isolated tenants, environment-scoped legacy keys, and fixed MCP users with personal tokens and tenant-local roles. Local STDIO stays the default (a non-empty PORT selects HTTP). For the Dokploy pilot — mounted config, TLS, secrets, and remote-client examples — see Hosting →. Hosted mode and personal tokens ship in the stable 0.7.0 release; no finished production deployment or IAS integration is claimed. For local users, token rotation/revocation and running behind an HTTPS proxy, see Personal-token hosting →. Maintainers: release publication checklist.

The usual way is the ssff-mcp init wizard (see Getting started above): it writes ~/.config/ssff-mcp/config.json and prints the block for your client. To edit the file by hand, or for OAuth, the per-environment entity allowlist and denylist, secret providers and inline mode, see Configuration →.

💬 What you can ask

You drive the assistant in natural language; it picks the tool.

  • "List my SuccessFactors environments."
  • "Which entities can I read, and which of them are custom?"
  • "Show me the schema of EmpJob — keys, fields and navigations."
  • "Read the current job info for employee 1000001."
  • "Get the employees in PerPersonal whose last name is García, with id, name and email."
  • "Fetch these five entities at once: …" (one $batch request)

🎬 Demo

The assistant picks the tools and answers from the records it reads (output shapes are real; values are illustrative):

Example session: list_environments, inspect_entity and query_entity

🔒 Security

ssff-mcp is read-only by construction: no POST/PUT/PATCH/DELETE can come from tool input, credentials travel over HTTPS only (or not at all, in inline mode), errors are sanitized and logs are metadata-only on stderr. Use a least-privileged, read-only SuccessFactors account. Details in Security.

🧰 Tools

Tool What it does
list_environments Lists the configured environments (aliases and auth type).
inspect_entity Reads the data model: entity catalog, schema and Custom MDF classification.
resolve_picklist Resolves option IDs to labels, lists catalog options, or searches by label for $filter.
query_entity Reads one entity with $filter/$orderby/$select/$expand/$top/$skip and effective dating.
batch_get Runs up to 180 read-only GETs in one GET-only $batch request.

Plus read-only MCP resources for browsing the schema, and two MCP prompts (explore_entity, prepare_read_query) that guide the assistant through schema inspection and a bounded, confirmed read. Full argument reference: Tools & Resources →.

📚 Documentation

Document Contents
Configuration Config path, fields, Basic/OAuth auth, secret providers, entity allowlist, inline mode, locale, response-size cap.
Picklists Architecture Picklist resolution, two-tier L1/L2 lazy cache, ID retention (optionId + label), pagination and invalidation.
Tools & Resources The five tools and their arguments, query encoding and effective dating, pagination/cursors, MCP resources and prompts, Custom MDF discovery, picklist resolution, examples.
FAQ & comparison Common questions and how it compares to the SF UI, raw OData and ad-hoc scripts.
Security Read-only guarantees, secrets, logging, metadata cache, limits and scope.
Troubleshooting Every error code and how to fix it.
Development Build, test, the opt-in integration test, contributing.

🤝 Contributing

Issues and pull requests are welcome at chiptime/ssff-mcp. See Development for the build, the test suite and the opt-in integration test. Please keep changes read-only in spirit: this server must never gain the ability to write to SuccessFactors.

👤 Maintainers

@chiptime.

📄 License

MIT — Copyright (c) 2026 ChipTime. Published on npm as ssff-mcp.