Bring Purchase Orders
to VS Code Copilot
Create your Vinkius account to connect SAP S/4HANA to VS Code Copilot and start using all 9 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the SAP S/4HANA MCP Server?
Connect your SAP S/4HANA system to any AI agent and manage core ERP operations through natural conversation.
What you can do
- Business Partners — Create, read, and update business partner master data including customers, suppliers, and contacts
- Purchase Orders — Create purchase orders, check approval status, and query PO history with full line-item detail
- Sales Orders — Retrieve sales order data, delivery status, and billing documents across your sales organization
- Inventory Management — Query material master data, stock levels by plant/storage location, and goods receipt history
- Financial Postings — Post journal entries, retrieve G/L account balances, and query cost center reports
- Production Planning — Check production order status, planned orders, and material requirements planning (MRP) results
- Custom OData Queries — Execute any exposed OData v4 service on your S/4HANA system for tailored data access
How it works
- Subscribe to this server
- Enter your SAP S/4HANA Communication User credentials and instance URL
- Start managing ERP operations through Claude, Cursor, or any MCP-compatible client
77% of global commercial transactions touch an SAP system. Now your AI agent speaks SAP.
Who is this for?
- Procurement Teams — create purchase orders and manage supplier data through simple chat commands
- Finance Teams — post journal entries and query G/L balances without navigating SAP GUI transactions
- Supply Chain Managers — check inventory levels and production order status through conversation
- SAP Consultants — accelerate data retrieval and configuration audits across client landscapes
Built-in capabilities (9)
Provide JSON with BusinessPartnerCategory (1=Person, 2=Organization), FirstName/LastName or OrganizationBPName1. Create a new business partner
Provide JSON with CompanyCode, PurchaseOrderType, Supplier, PurchasingOrganization, PurchasingGroup, and line items in _PurchaseOrderItem array. Create a purchase order
Get a specific business partner by ID
Get G/L account balances
Returns available quantities across storage locations. Get material stock levels
Use OData $filter syntax for filtering — e.g. BusinessPartnerCategory eq '2' for organizations. List SAP business partners
Filter by supplier, purchasing org, or status using OData $filter syntax. List purchase orders
Filter using OData syntax. List sales orders
Provide the service path and entity set. Supports $filter, $select, $expand. Execute a custom OData v4 query
Why VS Code Copilot?
GitHub Copilot Agent mode brings SAP S/4HANA data directly into your VS Code workflow. With a project-scoped config, the entire team shares access to 9 tools. Copilot queries live data, generates typed code, and writes tests from actual API responses, all without leaving the editor.
- —
VS Code is used by over 70% of developers. adding MCP tools to Copilot means your team can leverage external data without leaving their primary editor
- —
Project-scoped MCP configs (
.vscode/mcp.json) let you commit server configurations to your repository, ensuring the entire team shares the same tool access - —
Copilot's Agent mode integrates MCP tools seamlessly with file editing, terminal commands, and workspace search in a single agentic loop
- —
GitHub's enterprise compliance and audit features extend to MCP tool usage, providing visibility into how AI interacts with external services
SAP S/4HANA in VS Code Copilot
Why run SAP S/4HANA with Vinkius?
The SAP S/4HANA connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 9 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect SAP S/4HANA using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
SAP S/4HANA and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect SAP S/4HANA to VS Code Copilot through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
SAP S/4HANA for VS Code Copilot
Every request between VS Code Copilot and SAP S/4HANA is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
What authentication does SAP S/4HANA require?
SAP S/4HANA uses Communication Arrangements with a dedicated Communication User. You create a technical user in the Fiori Launchpad, assign it to a Communication System, and link it to the appropriate Communication Scenario (e.g. SAP_COM_0008 for Business Partners).
Can I create purchase orders through the agent?
Yes. The create_purchase_order tool posts to the A_PurchaseOrder OData endpoint. Provide the supplier, purchasing organization, plant, material, quantity, and price — the agent returns the PO number on success.
Does it support querying custom OData services?
Absolutely. The query_odata tool executes GET requests against any OData v4 service exposed via your Communication Arrangement, including custom CDS views. Full $filter, $expand, and $select support is included.
Can I check stock levels across multiple plants?
Yes. The get_material_stock tool queries the A_MaterialStock OData service, returning current stock quantities by plant and storage location. You can filter by material number, plant, or storage location.
Which VS Code version supports MCP?
MCP support requires VS Code 1.99 or later with the GitHub Copilot extension. Ensure both are updated to the latest version. Older versions of Copilot may not expose the Agent mode toggle.
How do I switch to Agent mode?
Open the Copilot Chat panel and look for two mode options: "Ask" and "Agent". Click "Agent" to enable autonomous tool calling. In Ask mode, Copilot provides conversational answers but cannot invoke MCP tools.
Can I restrict which MCP tools Copilot can access?
Yes. VS Code shows a tool consent dialog before any MCP tool is invoked for the first time. You can also configure tool access policies at the organization level through GitHub Copilot settings.
Does MCP work in VS Code Remote or Codespaces?
Yes. MCP servers configured via .vscode/mcp.json work in Remote SSH, WSL, and GitHub Codespaces environments. The MCP connection is established from the remote host, so ensure the server URL is accessible from that environment.
MCP tools not available
Ensure you are in Agent mode in Copilot Chat. MCP tools only appear in Agent mode.
Explore More MCP Servers
View all →
Emplifi
10 toolsEquip your AI agent to manage social profiles, track post metrics, and monitor care automation via the Emplifi API.

PokéAPI
20 toolsAccess Pokémon data, stats, abilities, types, and evolution chains via AI.

Cody AI
10 toolsEnable your AI agent to manage knowledge-base bots, import documents, and query trained AI assistants via the Cody AI API.

Observe.AI
10 toolsAnalyze and evaluate contact center interactions via Observe.AI — track transcripts, QA scores, and coaching directly from your AI agent.
