MCP-smallest-ai
MCP-Smallest.ai is designed to provide seamless integration between client applications and the Smallest.ai API through a Model Context Protocol (MCP) server. It simplifies the interaction with knowledge base management features, offering tools and standardized communication methods to enhance API usage and error handling.
MCP-Smallest.ai
A Model Context Protocol (MCP) server implementation for Smallest.ai API integration. This project provides a standardized interface for interacting with Smallest.ai's knowledge base management system. It acts as a middleware between clients and the Smallest.ai API, providing tools for listing, creating, and retrieving knowledge bases.
Components
-
MCP Server
- Handles client requests
- Manages API communication
- Provides standardized responses
- Implements error handling
-
Knowledge Base Tools
listKnowledgeBases
: Lists all knowledge basescreateKnowledgeBase
: Creates new knowledge basesgetKnowledgeBase
: Retrieves specific knowledge base details
Prerequisites
- Node.js 18+ or Bun runtime
- Smallest.ai API key
- TypeScript knowledge
Usage
Starting the Server
Ensure Node.js or Bun runtime is installed, clone the repository, install dependencies, and configure the environment variables for Smallest.ai API key.