rodin-api-mcp

Rodin API MCP is a service based on the Model Context Protocol (MCP) that exposes Rodin's API to AI models. This service aims to simplify the interaction between AI models and the Rodin API. Rodin API MCP supports integration with various AI models and offers efficient data transmission and processing capabilities. This allows developers to easily incorporate the functionalities of the Rodin API into their AI applications.

GitHub Stars

5

User Rating

Not Rated

Favorites

0

Views

78

Forks

1

Issues

0

Installation
Difficulty
Intermediate
Estimated Time
10-20 minutes
Requirements
uv: Latest version

Installation

Installation

Prerequisites

Please specify required software and versions:
uv: Latest version

Installation Steps

1. Clone Repository

bash
git clone https://github.com/DeemosTech/rodin-api-mcp.git
cd rodin-api-mcp

2. Install Dependencies

bash

Refer to the official installation guide for uv.

https://docs.astral.sh/uv/getting-started/installation/

3. Configure Claude Desktop

Edit claude_desktop_config.json to add the MCP server:
json
{
  "mcpServers": {
    "rodin": {
      "command": "uvx",
      "args": [
        "git+https://github.com/DeemosTech/rodin-api-mcp.git"
      ]
    }
  }
}

4. Restart Claude Desktop

If Claude Desktop is open, quit it and restart Claude Desktop.

Troubleshooting

Common Issues

Issue: Server won't start Solution: Ensure that uv is installed correctly. Issue: Not recognized by Claude Desktop Solution: Verify the configuration file path and syntax.

Configuration

Configuration

Basic Configuration

Claude Desktop Setup

Edit claude_desktop_config.json:
json
{
  "mcpServers": {
    "rodin": {
      "command": "uvx",
      "args": [
        "git+https://github.com/DeemosTech/rodin-api-mcp.git"
      ]
    }
  }
}

Environment Variables

Set the following environment variables as needed:
bash
export API_KEY="your-api-key"
export DEBUG="true"

Security Settings

Store API keys in environment variables or secure configuration files
Set appropriate file access permissions
Adjust logging levels

Configuration Example

Basic Configuration

json
{
  "mcpServers": {
    "rodin": {
      "command": "uvx",
      "args": [
        "git+https://github.com/DeemosTech/rodin-api-mcp.git"
      ]
    }
  }
}

Examples

Examples

Basic Usage

Here are basic usage examples for the MCP server:

Using with Claude Desktop

1Verify MCP Server Startup
Open Claude Desktop and confirm that the configuration has been loaded correctly.
2Execute Basic Commands

   Available tools from this MCP server:
   - tool1: Description of tool1
   - tool2: Description of tool2
   

Programmatic Usage

python

Python example

import requests import json def call_mcp_tool(tool_name, params): response = requests.post( 'http://localhost:3000/mcp/call', json={ 'tool': tool_name, 'parameters': params } ) return response.json()

Usage example

result = call_mcp_tool('analyze', { 'input': 'sample data', 'options': {'format': 'json'} })

Use Cases

Using the MCP interface for AI models to access data from the Rodin API
Automating the process of sending data to AI models via the Rodin API and retrieving results
Utilizing the MCP server to facilitate data sharing between different AI models
Developing AI applications that leverage the functionalities of the Rodin API

Additional Resources