mcp-resource-tool-adapter
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-resource-tool-adapterRead resource robot://current_state"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-resource-tool-adapter
mcp-resource-tool-adapter
Expose MCP resources through generic tools for MCP clients and models that
cannot call resources/read directly.
Why?
Some OpenAI-compatible LLM runtimes support tool calls but do not implement
the MCP resource protocol. This package keeps standard MCP resources available
while exposing a generic read_resource(uri) compatibility tool.
Related MCP server: Apollo Universal MCP Server
Installation
pip install mcp-resource-tool-adapterExample
from mcp.server.fastmcp import FastMCP
from mcp_resource_tool_adapter import ResourceToolAdapter
mcp = FastMCP("example-server")
resources = ResourceToolAdapter(mcp)
@resources.resource("robot://current_state")
def get_robot_state():
return {"battery_percent": 87, "mode": "standing"}
resources.register_tools()
mcp.run(transport="stdio")A tool-only client can then call:
{
"uri": "robot://current_state"
}through the read_resource tool.
Available compatibility tools
read_resource(uri): reads one registered resource.list_resources(): lists URIs that can be read throughread_resource.
Scope
This package does not handle robot control, ROS2, authentication, caching, authorization, or resource freshness. Those remain responsibilities of the application server.
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP tools for AI agent discovery, structured resources, and NIULAI information.
Unified gateway exposing 150+ tools across all NexGenData MCP servers via one endpoint.
Public read-only MCP for products, frameworks, guides, methodology, and blog metadata.
Related MCP Servers
AlicenseAqualityAmaintenanceExposes JustOneAPI endpoints as MCP tools, returning raw upstream JSON without field parsing for maximum data fidelity.721 npm30MIT- AlicenseNot gradedqualityDmaintenanceEnables access to Apollo's tools and services through a standardized MCP interface, compatible with MCP-compliant clients.1MIT
- AlicenseNot gradedqualityDmaintenanceProvides a standardized MCP interface for interacting with Shopify tools and services, enabling unified API access and compatibility with MCP-compliant clients.1MIT
- AlicenseNot gradedqualityDmaintenanceProvides a standardized interface for interacting with Reddit's tools and services through a unified API, enabling seamless integration with MCP-compliant applications.5MIT