drio
Open app

Model Context Protocol (MCP)

Source

The Model Context Protocol is an open standard that enables developers to build secure, two-way connections between their data sources and AI-powered tools. The architecture is straightforward: developers can either expose their data through MCP servers or build AI applications (MCP clients) that connect to these servers.

Catalog onlyCatalog onlySTDIO

Overview

The Model Context Protocol (MCP) is an open standard that allows developers to create secure, two-way connections between their data sources and AI-powered tools.

To use MCP, developers can either expose their data through MCP servers or build AI applications (MCP clients) that connect to these servers. Installation is done via the command: $ gem install mcp-ruby.

  • Enables secure connections between data sources and AI tools. - Supports both server and client architecture for flexibility. - Provides type checking and autocompletion through RBS.
  1. Connecting databases to AI applications for enhanced data analysis.
  2. Building AI-driven tools that require secure data access.
  3. Facilitating data sharing between different AI models and applications.

Add to your AI client

Use these steps to connect Model Context Protocol (MCP) in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-ruby-wilsonsilva": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-ruby-wilsonsilva"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-ruby-wilsonsilva": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-ruby-wilsonsilva"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-ruby-wilsonsilva": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-ruby-wilsonsilva"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-ruby-wilsonsilva": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-ruby-wilsonsilva"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-ruby-wilsonsilva": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-ruby-wilsonsilva"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-ruby-wilsonsilva": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-ruby-wilsonsilva"
      ]
    }
  }
}

FAQ

Is MCP secure?

Yes! MCP is designed to establish secure connections between data sources and AI tools.

How can I contribute to MCP?

Contributions are welcome on GitHub, and you can report issues or submit pull requests.

What license does MCP use?

MCP is available as open source under the MIT License.