spiral-mcp

spiral-mcp

3.4

If you are the rightful owner of spiral-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Spiral MCP Server is a Python-based implementation of the Model Context Protocol for interacting with Spiral's language models.

The Spiral MCP Server provides a standardized interface for interacting with Spiral's language models using the Model Context Protocol (MCP). It is implemented in Python and allows users to generate text using various Spiral models. The server supports multiple input sources, including text, files, and URLs, and offers robust error handling and logging features. Users can easily set up the server by installing the necessary dependencies, configuring environment variables, and running the server script. The server is designed to be flexible and efficient, with asynchronous operations and type safety provided by Pydantic.

Features

  • Robust Error Handling: Comprehensive error handling and logging for all operations
  • Article Extraction: Smart extraction of article content from web pages
  • Flexible Input Sources: Support for text, files, and URLs as input
  • Async Operations: All operations are asynchronous for better performance
  • Type Safety: Full Pydantic type validation for all parameters

Tools

  1. list_models

    Lists all available Spiral models with their capabilities and metadata.

  2. generate

    Generates text using a specified Spiral model.

  3. generate_from_file

    Generates text using a Spiral model with input from a file.

  4. generate_from_url

    Generates text using a Spiral model with input from a URL.