Welcome to SAP Ariba MCP server.
- Intoduction
- Running & Inspecting the MCP server locally
- Deploy the MCP server in BTP
- Setting up the destination for the MCP server
- Inspecting the remotely deployed MCP server
Intoduction
Running & Inspecting the MCP server locally
To run the mcp sevre locally opn the terminal and type
uv run main.pyYou can in the in the terminal Uvicorn running.Now open one more terminal and tye the command
uv run mcp dev main.pyIt will opne the inspector, just paste the inspector url in the brower.Set the parameters as below - - Transport Type as
STDIO. - Command asUV. - Arguments asrun --with mcp mcp run main.py.Now open the ⚙️ Configuration and fill the below fileds - - Inspector Proxy Address as
http://127.0.0.1:6277you can find the terminal as shown in the screenshop- Proxy Session Token - copy session id form the terminal ans paste.Now click on the connect button and it will connect to MCP server. Now you see the
resources,prompts,toolsnow click on tools the choose List Tools and you can see the tool that you have specified.Provie the tool
get_event_summaryand provide the below inputs -- doc_id- user- password_adapter- realm
and click on run tool and see the output.
> Conclustion - We have locally tested the MCP server successfully.
Deploy the MCP server in BTP
Setting up the destination for the MCP server
Inspecting the remotely deployed MCP server
Lest inspect the remotely deployed MCP servr.
Run the inspect command in terminal
uv run mcp dev main.pySet the parameters as below in the inspector as belwo-
- Transport Type as
STDIO. - Command as
UV. - Arguments as
run --with mcp mcp run main.py.
- Transport Type as