[package]
edition = "2024"
name = "rmcp-openapi"
version = "0.25.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for converting OpenAPI specifications to MCP tools"
homepage = "https://gitlab.com/lx-industries/rmcp-openapi"
readme = "README.md"
keywords = [
"mcp",
"openapi",
"llm",
]
categories = [
"network-programming",
"web-programming",
]
license = "MIT"
repository = "https://gitlab.com/lx-industries/rmcp-openapi"
resolver = "2"
[features]
authorization-token-passthrough = ["rmcp-actix-web/authorization-token-passthrough"]
default = []
[lib]
name = "rmcp_openapi"
path = "src/lib.rs"
[[test]]
name = "test_error_scenarios"
path = "tests/test_error_scenarios.rs"
[[test]]
name = "test_http_integration"
path = "tests/test_http_integration.rs"
[[test]]
name = "test_image_responses"
path = "tests/test_image_responses.rs"
[[test]]
name = "test_tool_filter"
path = "tests/test_tool_filter.rs"
[[test]]
name = "test_with_js"
path = "tests/test_with_js.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.bon]
version = "3.7"
[dependencies.heck]
version = "0.5.0"
[dependencies.http]
version = "1.3.1"
[dependencies.indexmap]
version = "2.0"
[dependencies.jsonschema]
version = "0.45.0"
[dependencies.mime]
version = "0.3.17"
[dependencies.oas3]
version = "0.20.0"
[dependencies.regex]
version = "1.0"
[dependencies.reqwest]
version = "0.13"
features = [
"http2",
"json",
"charset",
"system-proxy",
"rustls",
"multipart",
"form",
]
default-features = false
[dependencies.rmcp]
version = "1.0.0"
features = [
"server",
"base64",
"macros",
"transport-streamable-http-server",
"transport-streamable-http-server-session",
"transport-worker",
]
default-features = false
[dependencies.rmcp-actix-web]
version = "0.12.1"
features = [
"transport-streamable-http",
"transport-streamable-http",
]
default-features = false
[dependencies.schemars]
version = "1.0.4"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
[dependencies.strsim]
version = "0.11.1"
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.5.4"
[dev-dependencies.actix-web]
version = "4.9.0"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.axum]
version = "0.8"
features = []
[dev-dependencies.insta]
version = "1.43.1"
features = ["json"]
[dev-dependencies.mockito]
version = "1.7.0"
[dev-dependencies.rmcp]
version = "1.0.0"
features = [
"server",
"base64",
"macros",
"transport-streamable-http-server",
"transport-streamable-http-server-session",
"transport-worker",
"server",
"client",
"transport-streamable-http-server",
]
default-features = false
[dev-dependencies.tokio]
version = "1.0"
features = [
"fs",
"process",
"time",
]
default-features = false
[dev-dependencies.tokio-util]
version = "0.7"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]