Selector AI FastMCP Server logo

Selector AI FastMCP Server

by automateyournetwork

This repository provides a full implementation of the Model Context Protocol (MCP) for Selector AI. It includes a streaming-capable server and a Docker-based interactive client that communicates via stdin/stdout.

View on GitHub

Last updated: N/A

What is Selector AI FastMCP Server?

The Selector AI FastMCP Server is a Python-based implementation of the Model Context Protocol (MCP) designed for integration with Selector AI. It offers real-time SSE streaming support and interactive AI chat capabilities, allowing users to interact with Selector AI through a client that communicates via stdin/stdout.

How to use Selector AI FastMCP Server?

To use the server, clone the repository, install the Python dependencies, set the environment variables (SELECTOR_URL and SELECTOR_AI_API_KEY), build the Docker image, and then start the client. The client can be used interactively or programmatically. It can also be integrated with Claude Desktop by running the server and exposing a socket or HTTP endpoint.

Key features of Selector AI FastMCP Server

  • FastMCP-compatible and built on Python

  • Real-time SSE streaming support

  • Interactive AI chat with Selector AI

  • Minimal boilerplate

  • Built-in health check for container orchestration

  • Request/response logging and retries

  • Supports both CLI and programmatic access

  • Environment variable configuration using .env

Use cases of Selector AI FastMCP Server

  • Integrating Selector AI with other applications

  • Building custom AI-powered tools

  • Automating IT operations tasks

  • Interacting with Selector AI programmatically

  • Using Selector AI with Claude Desktop

FAQ from Selector AI FastMCP Server

What is MCP?

MCP stands for Model Context Protocol. It's a protocol for interacting with AI models.

What is Selector AI?

Selector AI is an AI platform (details not fully provided in the README).

How do I set up the environment variables?

Create a .env file in the root directory of the project and set the SELECTOR_URL and SELECTOR_AI_API_KEY variables.

How do I build the Docker image?

Run the command docker build -t selector-mcp . in the root directory of the project.

How do I run the server natively (without Docker)?

Ensure you have the dependencies installed (pip install -r requirements.txt) and then run python mcp_server.py.