Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
DEPRECATED: Replaced by mcp-app-builder. Previously used to build MCP servers with tools, resources, and prompts via mcp-use.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
evals/implementation.json
1[2{3"query": "Create a tool that fetches user profiles by ID",4"expected_behavior": "Uses server.tool() with z.object({ userId: z.string().describe('User ID') }). Returns object() with user data. Adds .describe() to all schema fields. Includes error handling for not-found case using error() helper."5},6{7"query": "Add a resource that returns the current server configuration",8"expected_behavior": "Uses server.resource() with uri 'config://settings', mimeType 'application/json'. Returns object() with config data. Does NOT use server.tool() for read-only data."9},10{11"query": "Create a prompt template for code review",12"expected_behavior": "Uses server.prompt() with z.object schema. Returns text() with the prompt message. Schema has .describe() on all fields."13},14{15"query": "I need a tool that needs an API key from OpenWeatherMap",16"expected_behavior": "Reads API key from process.env.OPENWEATHERMAP_API_KEY. Creates .env.example file. Returns error() if key is missing. Tells user to set the key in the Env tab."17},18{19"query": "How do I return an error from a tool?",20"expected_behavior": "Uses error() helper from mcp-use/server. Sets isError: true. Shows try/catch pattern with error() in catch block."21},22{23"query": "Create a parameterized resource for user profiles",24"expected_behavior": "Uses server.resourceTemplate() with uriTemplate 'user://{userId}/profile'. Callback receives (uri, { userId }) params. Returns object() with user data."25}26]27