sap_analytics_cloud_mcp
Integrates with SAP Analytics Cloud REST API, providing tools for content management, data export/import, multi actions, calendar, content transport, user management, monitoring, schedule & publication, translation, and smart query.
Click on "Install 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., "@sap_analytics_cloud_mcplist all stories in my SAC tenant"
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.
SAP Analytics Cloud MCP Server
An MCP (Model Context Protocol) server that exposes the SAP Analytics Cloud REST API as 90 tools consumable by any MCP-compatible client (Custom Agent, Claude Desktop, Claude Code, Cursor, etc.).
What it does
The server authenticates against an SAC tenant using OAuth 2.0 Client Credentials and manages CSRF tokens and session cookies automatically. It then exposes the full SAC REST API surface as discrete MCP tools grouped into 11 service areas:
Module | Tools | Covers |
Content | 10 | Stories, Resources, File Repository, Repositories, Widget Query |
Data Export | 22 | Namespaces, Providers, Subscriptions, FactData, MasterData, AuditData, Aggregation, Difference, Currency/Unit tables, Public Dimensions |
Data Import | 24 | Models, Import Jobs lifecycle (create/upload/validate/run/status), One-click Import, Public Dimensions, Currency Conversions, Unit Conversions |
Multi Actions | 2 | Execute and poll status |
Calendar | 3 | Get, update, copy calendar events |
Content Transport | 7 | Export/import jobs, packages, permissions |
User Management | 10 | SCIM v2 Users, Teams/Groups, Bulk operations |
Monitoring | 2 | Audit activity export, model monitoring |
Schedule & Publication | 4 | Schedule CRUD |
Translation | 4 | Artifact metadata, XLIFF download (single + bulk) |
Smart Query | 1 | Intelligent routing (Relational vs Analytical) |
Plus a ping connectivity check tool (90 total), and Prompt support for guided workflows.
Related MCP server: SAP OData to MCP Server
Prerequisites
Node.js >= 18.0 (required for native
fetchandHeaders.getSetCookie)npm
An SAP Analytics Cloud tenant with an OAuth client (see below).
SAC Tenant Setup
Open your SAC tenant and go to System > Administration > App Integration > Add a New OAuth Client.
Set the purpose to Interactive Usage and API Access.
Note down the following four values:
Base URL --
https://<tenant>.<datacenter>.sapanalytics.cloudToken URL -- shown on the OAuth client detail page
Client ID
Client Secret
Installation & Build
git clone https://github.com/JumenEngels/sap_analytics_cloud_mcp
cd sap_analytics_cloud_mcp
npm install
npm run buildQuick Start: Agent Client
The easiest way to test the server locally (after doing mcp setup above) is using the included Agent Client. It connects to the server and uses an LLM (SAP AI Core, Anthropic, OpenAI, etc.) to interact with your SAC tenant.
1. Setup Configuration
Navigate to the client directory and run the setup script:
cd AgentClient
npm install
npm run setupThis creates mcp_agentclient.json. Open this file and fill in your credentials:
SAC Credentials: Fill in
sacsection with the values from "SAC Tenant Setup".LLM Credentials: Fill in
aicore,anthropic, oropenaisections.Default Provider: Set
"defaultProvider"to your preferred LLM (e.g.,"genaicore","anthropic").
2. Run the Client
npm run build
npm startThe client will automatically load all necessary configuration (both for the LLM and the SAC Server) from your JSON file.
Configuration (For standard MCP Clients)
If you are using Claude Desktop, Cursor, or another MCP client, you need to configure the server environment variables directly.
The server reads four required environment variables at runtime:
Variable | Description | Example |
| Tenant root URL (no trailing slash) |
|
| OAuth token endpoint |
|
| OAuth Client ID |
|
| OAuth Client Secret |
|
MCP Client Configuration
Claude Desktop
To automatically generate a configuration file with the correct absolute path:
npm run setupThis creates an mcp_config.json file in the project root. fill in your SAC credentials there and copy the content to your Claude Desktop config file.
Cursor / Other Clients
Add the server with the command node build/index.js and set the 4 environment variables in the client's configuration UI.
Smart Query
The smart_query tool simplifies data access by intelligently routing your request:
Relational: Simple
SELECT *queries are routed to the OData API for raw entity data.Analytical: Queries with aggregations (
SUM,COUNT,GROUP BY) are analyzed and routed to the Widget Query API.
SELECT SUM(Amount) FROM Model123 GROUP BY RegionPrompts
The server provides pre-defined prompts to guide users through common workflows:
explore_content: Discover stories and files in your tenant.
analyze_story: Deep dive into a specific story's metadata and dependencies.
system_health_check: Quick status check of connectivity and recent failures.
Deployment
Docker
docker build -t sac-mcp-server .
docker run -e SAC_BASE_URL="..." ... sac-mcp-serverDevelopment
Watch mode recompiles on every file change:
npm run devSecurity Notes
Write Operations: All tools that modify data require
allowalteration=trueargument.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JumenEngels/sap_analytics_cloud_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server