Skip to main content
Glama
RhombusSystems

Rhombus MCP Server

Official
llms.pdf.ts687 B
import { McpServer, ResourceTemplate } from "@modelcontextprotocol/sdk/server/mcp.js"; import fs from "fs"; import { fileURLToPath } from "node:url"; import path from "path"; // change from _createResource to createResource to add it back in export function _createResource(server: McpServer) { server.resource("knowledge-base.pdf", "knowledge-base://llms.pdf", async uri => { const currentDir = path.dirname(fileURLToPath(import.meta.url)); const filePath = path.resolve(currentDir, "../../assets/llms.pdf"); return { contents: [ { uri: uri.href, text: fs.readFileSync(filePath).toString(), }, ], }; }); return; }

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