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.1.0.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.1.0-py3-none-any.whl (28.0 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sap_search_mcp-1.1.0.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.1.0.tar.gz
Algorithm Hash digest
SHA256 83292bda909633ad83b43ddb8f1ba667b0444411c1c5b677f7cb192afb4f7ee5
MD5 1e3ad5c2cf4b0721b79a818ec381ae14
BLAKE2b-256 425a2674fbcc2db885b2ec1fff62248295a3e84ca91e0ffd1ea7ada3dea0a2a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sap_search_mcp-1.1.0-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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce17aad9f77f56eee58f726bb81d26f0d2dda7ea145784e61d2a3167de62bf9e
MD5 088455aadd133bdb5365dd6592469b62
BLAKE2b-256 f7edae480ccbba2f49cd07fd732a63ff1254e3a5c409fb6ecf323125403bc780

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