Skip to main content

MCP server for Minds Enterprise

Project description

Minds MCP Server

An MCP (Model Context Protocol) server for Minds, allowing LLMs to interact with the Minds SDK through a standardized interface.

Installation

Install the required dependencies (virtual environment recommended)

python -m venv env
source env/bin/activate
pip install -r requirements.txt
pip install -r requirements-dev.txt

Configuration

The server can be configured using environment variables:

FastMCP Settings

  • FASTMCP_DEBUG: Enable debug mode (default: false)
  • FASTMCP_LOG_LEVEL: Set log level (default: INFO)
  • FASTMCP_HOST: Host to bind to (default: 0.0.0.0)
  • FASTMCP_PORT: Port to bind to (default: 8000)
  • FASTMCP_SSE_PATH: Path for SSE events (default: /sse)
  • FASTMCP_MESSAGE_PATH: Path for messages (default: /messages/)

Minds Settings

  • MINDS_BASE_URL: Base URL for the Minds API (default: https://mdb.ai)

Usage

Starting the Server

python -m server

Resource Templates

The server exposes the following resource templates according to the MCP specification:

  • minds://{api_key} - List all available Minds
  • minds://{mind_name}/{api_key} - Get a specific Mind by name

Tool Templates

The server provides the following tool templates:

  • completion - Generate a completion using a specified Mind
    • Parameters:
      • mind_name: The ID of the Mind to use
      • message: The message to complete
      • api_key: The Minds API key

Development

Running Tests

# Run all tests
python -m pytest

# Run only unit tests
python -m pytest tests/unit

Development Mode

For easier development, you can use the MCP development server:

mcp dev server.py

This will start the server and open the MCP Inspector in your browser for testing.

MCP Protocol

This server implements the Model Context Protocol (MCP), which provides:

  • Resource Templates: Parameterized URL patterns for retrieving data
  • Tool Templates: Function signatures for executing actions
  • Prompt Templates: Reusable interaction templates (not used in this server)

MCP clients can:

  1. Discover available resource and tool templates
  2. Instantiate templates with parameters
  3. Access resources and call tools in a standardized way

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

iflow_mcp_mindsdb_minds_mcp-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_mindsdb_minds_mcp-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_mindsdb_minds_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_mindsdb_minds_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_mindsdb_minds_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 88f9a5c6253464d999a1b61451ee77e5dd98b7b71261316d4d1f300d106cd6c3
MD5 211fdc9560a6eb1da10c932262b240a0
BLAKE2b-256 f704697f5cf0e471ef0e9dd7f7bb1e2ecc1aae843cd011b2bcbd7fbdea8d3c32

See more details on using hashes here.

File details

Details for the file iflow_mcp_mindsdb_minds_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_mindsdb_minds_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_mindsdb_minds_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c94d674373385e77b238c9e6ccce56e44293075acbaa8b30704fe8790959a737
MD5 473c21488cff9d283c99d4d6f5b4aa68
BLAKE2b-256 872a48640a9ad4efd2b3085154c6615b3f1dc4b5ef2508f069ce492a14644e2d

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