Smithery.ai Integration for Unity AI MCP Server

by GrandMasterK414

337 downloads Not rated yet
GitHub

About

A clean implementation of Smithery.ai integration for Unity AI MCP Server

Explore

- Connect Unity Editor to Smithery.ai services
- Dynamically load available AI tools from Smithery
- Secure credential management
- Efficient caching of tool responses
- Clean STDIO communication layer for seamless integration

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Smithery.ai Integration for Unity AI MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Node.js 14 or higher
- Unity 2022.3 or higher (for Unity integration)
- Smithery.ai API key

npm start
node dist/index.js --stdio
npm test

For deployment information, please refer to the Deployment Guide.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "smithery.ai integration for unity ai mcp server": {
            "smithery-ai-integration": {
                "command": "node",
                "args": [
                    "dist/index.js",
                    "--stdio"
                ]
            }
        }
    }
}

McpServers

{
    "smithery-ai-integration": {
        "command": "node",
        "args": [
            "dist/index.js",
            "--stdio"
        ]
    }
}

This repository contains the implementation of Smithery.ai integration for Unity AI MCP Server. It provides a bridge between Unity and the Smithery.ai API, enabling Unity developers to use AI-powered tools directly from the Unity Editor.

Features

- Connect Unity Editor to Smithery.ai services
- Dynamically load available AI tools from Smithery
- Secure credential management
- Efficient caching of tool responses
- Clean STDIO communication layer for seamless integration

Getting Started

Prerequisites

- Node.js 14 or higher
- Unity 2022.3 or higher (for Unity integration)
- Smithery.ai API key

Installation

1. Clone this repository:

   git clone https://github.com/GrandMasterK414/smithery-ai-integration.git
cd smithery-ai-integration

2. Install dependencies:

   npm install

3. Build the project:

   npm run build

Configuration

Create a .env file in the root directory with the following variables:

SMITHERY_ENABLED=true
SMITHERY_API_KEY=your_api_key_here
SMITHERY_API_URL=https://api.smithery.ai/v1
SMITHERY_CACHE_DURATION=3600

Usage

Running as a standalone service

npm start

Running with stdio communication for Unity integration

node dist/index.js --stdio

Development

Running tests

npm test

Linting

npm run lint

Formatting code

npm run format

Architecture

This integration consists of the following main components:

1. Credential Manager: Securely stores and manages the Smithery.ai API key
2. API Service: Handles communication with the Smithery.ai API
3. Tool Proxy Manager: Creates proxy functions for each available tool
4. Adapter: Bridges the MCP Server with the Smithery services
5. STDIO Communication: Enables the Unity Editor to communicate with the service

Deployment

For deployment information, please refer to the Deployment Guide.

License

This project is licensed under the MIT License - see the LICENSE file for details.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.