Skip to main content
Glama

Kintone Development Support MCP Server

by f4ah6o
test_resources_read.ts•931 B
import { describe, it, expect } from "vitest"; import { MCPServer } from "../../src/server/MCPServer"; import { FileStorageService } from "../../src/services/FileStorageService"; import { UpdateService } from "../../src/services/UpdateService"; describe("MCP resources read contract", () => { it("returns content list with uri and mimeType for a known resource", async () => { const storage = new FileStorageService(); const updateService = new UpdateService(storage); const server = new MCPServer(storage, updateService); const request = { uri: "kintone://api/field-types" }; const response = await server.readResource(request as any); expect(response).toHaveProperty("contents"); expect(Array.isArray(response.contents)).toBe(true); if (response.contents.length > 0) { const c = response.contents[0] as any; expect(typeof c.uri).toBe("string"); expect(typeof c.mimeType).toBe("string"); } }); });

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/f4ah6o/kntn-dev-mcp'

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