Skip to content

csogreen/soap-mcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

Basic MCP server for making SOAP requests to an application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages