Skip to main content
Glama
RhombusSystems

Rhombus MCP Server

Official
get-org-information-tool.ts879 B
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { RequestModifiers } from "../util.js"; import { getOrg } from "../api/get-org-information-tool-api.js"; import { TOOL_ARGS, type ToolArgs } from "../types/get-org-information-tool-types.js"; const TOOL_NAME = "get-org-information"; const TOOL_DESCRIPTION = "Get general information about the organization including org name, camera configuration defaults, contact information, and org settings."; const TOOL_HANDLER = async (args: ToolArgs, extra: any) => { const org = await getOrg(extra._meta?.requestModifiers as RequestModifiers, extra.sessionId); return { content: [ { type: "text" as const, text: JSON.stringify(org), }, ], }; }; export function createTool(server: McpServer) { server.tool(TOOL_NAME, TOOL_DESCRIPTION, TOOL_ARGS, TOOL_HANDLER); }

Latest Blog Posts

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/RhombusSystems/rhombus-node-mcp'

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