Skip to main content

Add your description here

Project description

AI Makerspace: MCP Event

This project is a demonstration of the MCP (Model Context Protocol) server, which utilizes the Tavily API for web search capabilities. The server is designed to run in a standard input/output (stdio) transport mode.

Project Overview

The MCP server is set up to handle web search queries using the Tavily API. It is built with the following key components:

  • TavilyClient: A client for interacting with the Tavily API to perform web searches.

Prerequisites

  • Python 3.13 or higher
  • A valid Tavily API key

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd <repository-directory>
    
  2. Configure environment variables: Copy the .env.sample to .env and add your Tavily API key:

    TAVILY_API_KEY=your_api_key_here
    

Running the MCP Server

To start the MCP server, you will need to add the following to your MCP Profile in Cursor:

{
    "mcpServers":  {
        "websearch-server": {
            "command" : "uv",
            "args" : ["--directory", "/PATH/TO/REPOSITORY", "run", "server.py"]
        }
    }
}

The server will start and listen for commands via standard input/output.

Usage

The server provides a web_search tool that can be used to search the web for information about a given query. This is achieved by calling the web_search function with the desired query string.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes.

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

Built Distribution

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

File details

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

File metadata

  • Download URL: iflow_mcp_ai_maker_space_aim_mcp_demo-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","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_ai_maker_space_aim_mcp_demo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5bb66f15e6194337c4b72dfa71dc42867e92f3df23c722eba6489d34db0c93bb
MD5 46c91ec46255e58952bb49cf27ffe412
BLAKE2b-256 cad027a86a2d365fc6cdbece097b9685bd9a483666be1de256b4f39e7bde50cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iflow_mcp_ai_maker_space_aim_mcp_demo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","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_ai_maker_space_aim_mcp_demo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f435105a208870c71c04cc434cab343617411a8caee40fe1b66727f8874c10ed
MD5 d7a63a0e804ff8a8052a21523c2bea39
BLAKE2b-256 7866451df6e6a1123005b79aba56c51025d80e4c7b981059ec88690dd19190dc

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