Skip to main content

MCP server for searching SAP test cases using Azure AI Search

Project description

SAP Search MCP Server

MCP server that provides semantic search over SAP test cases using Azure AI Search.

Quick Start

1. Install

pip install sap-search-mcp

2. Set Environment Variables

Create a .env file:

AZURE_SEARCH_ENDPOINT=https://your-service.search.windows.net
AZURE_SEARCH_KEY=your_key
AZURE_SEARCH_OPENAI_ENDPOINT=https://your-openai.cognitiveservices.azure.com/
AZURE_SEARCH_OPENAI_KEY=your_key

3. Test

python test.py

4. Use with Claude Desktop

Edit %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "sap-search": {
      "command": "sap-search-mcp",
      "env": {
        "AZURE_SEARCH_ENDPOINT": "https://your-service.search.windows.net",
        "AZURE_SEARCH_KEY": "your_key",
        "AZURE_SEARCH_OPENAI_ENDPOINT": "https://your-openai.cognitiveservices.azure.com/",
        "AZURE_SEARCH_OPENAI_KEY": "your_key"
      }
    }
  }
}

Restart Claude Desktop.

Tools

search_sap_test_cases

Find single best-matching test case.

{"prompt": "Create sales order"}

search_sap_test_cases_with_options

Get multiple results (1-10).

{"prompt": "Show me 5 invoice test cases"}

select_test_case_option

Select from previous results.

{"option_number": 2, "original_prompt": "Show me 5 invoice test cases"}

Development

git clone <repo>
cd sap_search_mcp
pip install -e .
python test.py

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sap_search_mcp-1.0.2.tar.gz (28.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sap_search_mcp-1.0.2-py3-none-any.whl (28.0 MB view details)

Uploaded Python 3

File details

Details for the file sap_search_mcp-1.0.2.tar.gz.

File metadata

  • Download URL: sap_search_mcp-1.0.2.tar.gz
  • Upload date:
  • Size: 28.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for sap_search_mcp-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d742e07661382cb6ce2f08713ace49e0e50cf1ec005838d73f451e5c3f169cc5
MD5 92e42c8f51523670dfefaf27a38e7032
BLAKE2b-256 a7cda66aedd25b85e97a0944ca56a74f1769ce8da4720c6e7d55ff9dd91eb78f

See more details on using hashes here.

File details

Details for the file sap_search_mcp-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: sap_search_mcp-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 28.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for sap_search_mcp-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 032ee7932a58879865b5065e685486ae62f05bc5a7726eeeff81fbec26c22a68
MD5 52d8680440120b86a5800cab9c718189
BLAKE2b-256 9c9fee5b3148a9a395f75ff19af26960761c78e1cb35e4cd915bf64c5bdf1b0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page