| Crates.io | rudof_mcp |
| lib.rs | rudof_mcp |
| version | 0.1.144 |
| created_at | 2025-10-21 17:23:56.987862+00 |
| updated_at | 2025-12-04 22:33:11.132064+00 |
| description | RDF data shapes implementation in Rust |
| homepage | https://rudof-project.github.io/rudof |
| repository | https://github.com/rudof-project/rudof |
| max_upload_size | |
| id | 1894166 |
| size | 401,688 |
Export rudof_lib functionality as a Model-Context-Protocol server with configurable transports.
rudof_mcp/
├── Cargo.toml
├── README.md
├── src/
│ ├── lib.rs
│ ├── as/ # Authentication server (Keycloak)
│ │ ├── docker-compose.yml
│ │ └── keycloak/
│ ├── server/
│ │ ├── mod.rs
│ │ ├── server_impl.rs # Main entry point + tracing
│ │ ├── transport.rs # TransportType enum
│ │ ├── stdio_server.rs # Stdio transport implementation
│ │ └── http/ # HTTP-specific modules
│ │ ├── mod.rs
│ │ ├── http_server.rs # HTTP server implementation
│ │ ├── config.rs # HTTP configuration constants
│ │ ├── middleware.rs # Protocol & origin guards
│ │ └── auth/ # Authentication module
│ │ ├── mod.rs
│ │ ├── config.rs # AuthConfig, JWKS cache
│ │ ├── validation.rs # Token verification & validation
│ │ ├── middleware.rs # Authorization guard
│ │ └── metadata.rs # OAuth2 discovery endpoint
│ └── rudof_mcp_service/ # MCP service implementation
│ ├── mod.rs
│ ├── service.rs # Main service state
│ ├── handlers.rs # MCP request handlers
│ ├── errors.rs # Error types & helpers
│ ├── resource_templates # Resource template implementations
| | ├── mod.rs
| | ├── resource_templates_impl.rs
│ ├── tools/ # Tool implementations
│ │ ├── mod.rs
│ │ ├── tools_impl.rs # Tool router & annotations
│ │ ├── data_tools_impl.rs # RDF data loading/export tools
│ │ ├── node_tools_impl.rs # Node inspection tools
│ │ ├── query_tools_impl.rs # SPARQL query tools
│ │ └── shex_validate_tools_impl.rs # ShEx validation tools
│ ├── prompts/ # Prompt implementations
│ │ ├── mod.rs
│ │ ├── prompts_impl.rs # Prompt router
│ │ ├── data_prompts_impl.rs # Data analysis prompts
│ │ ├── node_prompts_impl.rs # Node exploration prompts
│ │ └── validation_prompts_impl.rs # Validation error prompts
│ └── resources/ # Resource implementations
│ ├── mod.rs
│ ├── resources_impl.rs # Resource router
│ ├── data_resources_impl.rs # Current data resources
│ ├── node_resources_impl.rs # Node mode resources
│ ├── query_resources_impl.rs # Query result resources
│ └── shex_validate_resources_impl.rs # Validation resources
The MCP server exposes the following tools:
The MCP server exposes the following prompts:
The MCP server exposes the following resources: