Skip to main content
Glama

FastMCP Boilerplate

server.ts673 B
import { FastMCP } from "fastmcp"; import { PropertySearchSchema, searchProperties } from "./property-search.js"; const server = new FastMCP({ name: "Realtor MCP", version: "1.0.0", }); server.addTool({ annotations: { openWorldHint: true, // This tool interacts with external API readOnlyHint: true, // This tool doesn't modify anything title: "Property Search", }, description: "Search for a real estate property via spatial, semantic, or hybrid search", execute: async (args) => { return await searchProperties(args); }, name: "property_search", parameters: PropertySearchSchema, }); server.start({ transportType: "stdio", });

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/CrypticSplicer/realtor_mcp'

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