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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sap_search_mcp-1.0.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.0.1.tar.gz
Algorithm Hash digest
SHA256 7c36ea243c597881ccfc006ecfcc38acb15e87fe04c5e70f91406f6932604711
MD5 2846ae453ce297706ba19e90b67a4515
BLAKE2b-256 83b8b34c9b10af139a11665e072ecddb5f5265b1654d5c7f22460827139db403

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sap_search_mcp-1.0.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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86bc7a00a94b103f045e7df1bbb5f2712af65cf62728dde4936de28512d48296
MD5 720a582094ca53cd706be78b6163dd2f
BLAKE2b-256 00e252ac5cfdd8c232aa130ea3e95268acf59071961cdfe2504b4aebed9e9d26

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