Skip to main content
Glama

privateGPT MCP Server

by Fujitsu-AI
# mcpcli/messages/tools.py from anyio.streams.memory import MemoryObjectReceiveStream, MemoryObjectSendStream from .send_message import send_message from .message_types.tools_messages import CallToolMessage async def send_call_tool( tool_name: str, arguments: dict, read_stream: MemoryObjectReceiveStream, write_stream: MemoryObjectSendStream, ) -> dict: # create the message message = CallToolMessage(tool_name=tool_name, arguments=arguments) try: # send the message response = await send_message( read_stream=read_stream, write_stream=write_stream, message=message, ) # get the result return response.get("result", {}) except Exception as e: return {"isError": True, "error": str(e)}

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/Fujitsu-AI/MCP-Server-for-MAS-Developments'

If you have feedback or need assistance with the MCP directory API, please join our Discord server