
greatapo/concrete-properties-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Concrete Section Properties AI MCP Server
Обзор
A Model Context Protocol Server for Reinforced Concrete Section Analysis The Concrete-Properties-MCP Server provides a unified API interface for interacting with the Python library. It enables AI-driven calculation of section properties and capacities of reinforced concrete sections through a consistent interface. - : - Calculate geometric properties (area, centroid, moment of inertia, etc.) - Compute transformed section properties - : - Calculate axial, bending, and combined capacities - Determine interaction diagrams - : - Define concrete and reinforcement material properties - Support for multiple concrete grades and steel types The server provides the following main API functions: - rectangular_concrete_area_properties: Compute the rectangular concrete section geometric properties. - arbitrary_concrete_area_properties: Compute arbitrary concrete section geometric properties.
README
Показан фрагмент оригинального README. Открыть оригинал.
Concrete-Properties-MCP Server
A Model Context Protocol Server for Reinforced Concrete Section Analysis
🚀 Overview
The Concrete-Properties-MCP Server provides a unified API interface for interacting with the Concrete Properties Python library. It enables AI-driven calculation of section properties and capacities of reinforced concrete sections through a consistent interface.
✨ Supported Features
- Section Properties:
- Calculate geometric properties (area, centroid, moment of inertia, etc.)
- Compute transformed section properties
- Reinforced Concrete Analysis:
- Calculate axial, bending, and combined capacities
- Determine interaction diagrams
- Material Properties:
- Define concrete and reinforcement material properties
- Support for multiple concrete grades and steel types
🖥️ MCP Tools
The server provides the following main API functions:
rectangular_concrete_area_properties: Compute the rectangular concrete section geometric properties.arbitrary_concrete_area_properties: Compute arbitrary concrete section geometric properties.rectangular_concrete_bending_capacity: Compute the rectangular concrete section bending capacities (Mx+, Mx- and My) under the given axial load.rect_concrete_axial_moment_x_points: Compute the rectangular concrete section axial - moment/bending (around X) interaction diagram points.rect_concrete_axial_moment_y_points: Compute the rectangular concrete section axial - moment/bending (around Y) interaction diagram points.rect_concrete_axial_moment_x_image: Plots the rectangular concrete section axial - moment/bending (around X) interaction diagram points.rect_concrete_axial_moment_y_image: Plots the rectangular concrete section axial - moment/bending (around Y) interaction diagram points.
⚙️ Installation
Requirements
Required Python libraries:
mcp>=0.1.0 # Model Control Protocol library
matplotlib>=3.10.1 # Library for plots
concreteproperties>=0.6.4 # Concrete Properties library
Guide
-
Install the required Python libraries from the command line:
pip install mcp concreteproperties matplotlib //or pip install -r requirements. txt -
Download this repository and save the extracted files locally (e.g., at
C:\your_path_to_the_extracted_server\concrete-properties-mcp\). -
(Optional) Edit the MCP server configuration file, located at
src/config.json(see configuration section). -
Install Claude Desktop (or another AI client with MCP support).
-
Configure Claude Desktop to launch the MCP Server automatically (see Claude Desktop section).
-
You are good to go!
Configuration
The configuration file is located at src/config.json and contains the following main settings:
{
"server": {
Установка
npx @modelcontextprotocol/inspector mcp run src\server.pyКонфигурация
{
"mcpServers": {
"concrete": {
"command": "python",
"args": [
"C:\\your_path_to_the_extracted_server\\concrete-properties-mcp\\src\\server.py"
]
}
}
}