MCP server¶
The MCP server for LLM clients. Install with pip install "petrophys[mcp]" and run petrophys-mcp; see LLM agents (MCP).
Server¶
petrophys.mcp.server
Model Context Protocol server exposing Petrophys to LLM clients.
Functions
Build the Petrophys MCP server. |
|
Command-line entry point: |
Sessions¶
petrophys.mcp
Model Context Protocol (MCP) server for Petrophys.
Classes
Wells and interpretation results held by one MCP server process. |
|
A request refers to an unknown object or a disallowed path. |
Constants
- ROOTS_ENV_VAR: str = 'PETROPHYS_MCP_ROOTS'¶
Environment variable listing folders the server may read and write, separated like
PATH(:on Linux/macOS,;on Windows).
Also importable from petrophys.mcp: create_server, main.