Skip to main content

Crate onshape_mcp_core

Crate onshape_mcp_core 

Source
Expand description

Pure MCP protocol logic for Onshape integration.

This crate contains sans-IO business logic with no async runtime dependencies. All I/O operations are handled by the onshape-mcp-io crate.

Modules§

config
Configuration types and validation logic.
openapi
OpenAPI spec parsing, searching, and request building.
tools
Tool definitions and dispatch logic.

Structs§

AuthStatusResult
Result of checking authentication status.
ValidationState
Runtime credential validation state.

Enums§

AuthStatus
Authentication status for the Onshape API connection.
ValidationStatus
Whether credentials have been confirmed working via an API call.

Constants§

CATCH_PHRASE
The iconic Onshape regeneration success message.

Functions§

instructions
The instructions text shared between the initialize response and the onshape_mcp_get_started tool.
server_info
Creates the server info for MCP initialization.