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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sap_search_mcp-1.0.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.0.0.tar.gz
Algorithm Hash digest
SHA256 615822ad1d23011796fe6481cad1ecfd9735852ab8555b30caad32a36699a706
MD5 218ec366a5e48081aa16dd444924cf25
BLAKE2b-256 621253786afeafd36508cc8ad47ac36fdef3f3518df502b63ed032eaf04cc04e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sap_search_mcp-1.0.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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f61722648d871dd2cb8762a9da8139c3839af8f2ee04368b40e583579df9f065
MD5 f8592693dd0509e140f69ae83f363341
BLAKE2b-256 117e45a24702e97f967f3c9b7e08bafb950d19300c1a2faff910857d808cbca3

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