mcp-resource-tool-adapter
Click on "Install 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vineef/mcp-resource-tool-adapter'
If you have feedback or need assistance with the MCP directory API, please join our Discord server