Skip to main content

MCP Watson Discovery Server

A Model Context Protocol (MCP) server that enables secure interaction with Watson Discovery. This server allows AI assistants to list projects, list collections in projects, execute queries through natural language process.

Features

  • List available projects
  • List available collections in project
  • Execute queries in NLP in a collection

Configuration

Set the following environment variables:

WATSONX_DISCOVERY_APIKEY=
WATSONX_DISCOVERY_URL=
WATSONX_DISCOVERY_VERSION=2023-03-31

Usage

With Claude Desktop

Add this to your claude_desktop_config.json:

{
	"mcpServers": {
		"watsonx-discovery": {
			"command": "wsl.exe",
			"args": [
				"bash",
				"-c",
				"/home/morpheus/.local/bin/uv --directory /home/morpheus/workspace/mcp-discovery run 'server/__main__.py'"
			]
		}
	}
}

As a standalone server

# Install dependencies
uv install 

# Run the server
uv run server/__main__.py

Development

# Clone the repository
git clone https://github.com/matlock08/watson_discovery_mcp.git
cd watson_discovery_mcp

# Create virtual environment
uv venv 
source venv/bin/activate  # or `venv\Scripts\activate` on Windows

# Install development dependencies
uv install

# Run 
uv run run server/__main__.py

License

MIT License - see LICENSE file for details.

Metadata

Release files for mcp-watson-discovery 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-watson-discovery 0.1.10
File Size Uploaded Provenance
mcp_watson_discovery-0.1.10.tar.gz 3.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-watson-discovery 0.1.10
File Interpreter ABI Platform
mcp_watson_discovery-0.1.10-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / mcp_watson_discovery-0.1.10.tar.gz

Download URL mcp_watson_discovery-0.1.10.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bb4085a11bb8ded0255af993ed9b81eaa522a4ea0216f6a495a3ccaa0b742cea
BLAKE2b-256 checksum
How to use checksums
e2324be45c1bd0670fa8e93f167c74f761f03cc3e6168391a81cd99e2382c03d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.8

Release files / mcp_watson_discovery-0.1.10-py3-none-any.whl

Download URL mcp_watson_discovery-0.1.10-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bbc7d880aae04b6ca0252fcebd5ee566254519c8cc9f882e43ecf7bb7fdf815d
BLAKE2b-256 checksum
How to use checksums
42ef13738f77104c9ce2ef2e4a28a6324e79372f4b18d8cfb03924b2c84ea741
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.8

Security for mcp-watson-discovery 0.1.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page