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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sap_search_mcp-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 01b21e8a8ab33a61b457defc08e11f11cc604f0943871c7c5e58e44dfb04153c
MD5 cfb533d96c5207497260eee7b0ba02ae
BLAKE2b-256 1daddde9e90d939518a85e94b935bd832147c447b8feae719e22624b825aca65

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sap_search_mcp-1.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 150721aa482cd1e4e353ed621131db2923261a782bba26feaaedbcf993dc43fb
MD5 ad4838edd17613ea7a316886fa982efc
BLAKE2b-256 c9ceaa9c9827ee456d73ffb63465c387cac2de063b31cf9ed654c245cb74c0dc

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