soap-mcp-server

csogreen/soap-mcp-server

3.2

If you are the rightful owner of soap-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A minimal MCP server designed to facilitate SOAP requests and responses for integration with LLM contexts.

soap-mcp-server

A minimal MCP server for making SOAP requests to an application and returning structured responses for use in an LLM context.

Overview

  • Exposes SOAP operations as MCP tools.
  • Allows agents to query or update data through an application's SOAP API.
  • Uses locales for tool naming, prompts, and instructions.
  • Environment variables configure endpoints and headers.

Setup

  1. Clone and install dependencies
    git clone https://github.com/your-org/soap-mcp-server.git
    cd soap-mcp-server
    pip install -r requirements.txt

  2. Configure environment
    Copy example.env to .env and set values:

    ENDPOINT=https://your-soap-endpoint
    CONTENT_TYPE=text/xml; charset=utf-8
    PREFIX=urn:your-action-prefix
    LANGUAGE=en

  3. Customize locales
    Edit locales/example.yaml (rename or copy to your chosen language) to adjust tool names, descriptions, and prompts.

  4. Adjust payloads
    Modify main.py to fit your application's SOAP actions and required request bodies.

Usage

Run the MCP server:
python main.py

By default, it starts on http://0.0.0.0:8000 over SSE.

Notes

Extend as needed for additional SOAP actions.

License

MIT (or your preferred license).