Skip to main content
Glama
test-mcp-server.ts629 B
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; // Create a simple test server const server = new McpServer( { name: 'test-server', version: '1.0.0', }, { capabilities: { tools: {}, }, } ); // Add a simple test tool server.tool('test_tool', 'A simple test tool', async () => { return { content: [ { type: 'text' as const, text: 'Hello from MCP server!', }, ], }; }); console.log('MCP server created successfully with tools:'); console.log('- test_tool: A simple test tool'); console.log('- FluentBoards server should work similarly');

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/danieliser/fluent-boards-mcp-server'

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