Rahulghuge94/mcp_server
If you are the rightful owner of mcp_server 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.
The Model Context Protocol (MCP) server is a Ruby-based implementation designed to facilitate communication and data exchange between modeling software and external clients.
mcp_server
Model Context Protocol (MCP) implementation in Ruby 2.4.xx.
Overview
mcp_server
is a Ruby-based implementation of the Model Context Protocol (MCP), designed to facilitate communication and data exchange between modeling software and external clients. It provides a server interface for handling MCP requests, supporting multiple transport protocols and integration with Innovyze InfoWorks ICM and WS Pro environments.
Features
- Supports multiple MCP transport protocols (STDIO, TCP and HTTP)
- Modular server architecture for easy extension
- Ruby 2.4.xx compatibility
Directory Structure
.
āāā Gemfile # Ruby gem dependencies
āāā LICENSE # License information
āāā README.md # Project documentation
āāā mcp_server.gemspec # Gem specification
āāā lib/
ā āāā mcp_server.rb # Main library file
āāā scripts/
ā āāā icm_mcp_server.rb # ICM-specific server script
ā āāā mcp_server.rb # General server script
Installation
- Ensure you have Ruby 2.4.xx installed.
- Clone this repository:
git clone <repository-url> cd mcp_server
- Install dependencies:
bundle install
Usage
You can run the MCP server using the provided scripts. STDIO Mode. For example:
ruby scripts/icm_mcp_server.rb
`:
Example For integration with InfoWorks ICM:
ruby scripts/icm_mcp_server.rb
VS Code and Claude Desktop Setup
VS Code Configuration
- Open the project folder in VS Code.
- Ensure your Ruby interpreter is set to version 2.4.xx.
- Create mcp.json under .vscode folder
if vscode doesnt understand the iexchange command enter full path to iexchange.exe i.e. C:\Program Files\Innovyze\Infoworks ICM 2024.5\iexchange.exe
{ "mcpServers": { "ICM_MCP": { "command": "iexchange", "args": [ "{script_path}/{your_server_script_name}.rb", "/ICM" ], "env": {} } } }
Claude Desktop Setup
- Download and install Claude Desktop from the official source.
- Open claude desktop configuration from File -> Settings -> Developer and click on 'Edit config'
- And add same json file used for vscode.
- Restart claude desktop and Enjoy interacting with your application.
Contributing
Contributions are welcome! Please fork the repository and submit a pull request.
License
See the file for details.