What does the generated API function include?
The generated function includes proper TypeScript types, token-based authentication via Authorization header, error handling with try/catch, and a descriptive JSDoc comment with route and method.
@retz8
Basic information
Testing Internal MCP Server for KISA Dev team's pocha project
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
A Model Context Protocol (MCP) server that generates TypeScript API functions for the Pocha project. It provides a tool to automatically generate type-safe API function templates following a consistent pattern.
Clone the repository, install dependencies with pnpm install, build with pnpm build, then configure the server in Cursor IDE’s mcp.json using the compiled dist/index.js script. The server exposes a generate-api-function tool that accepts parameters like functionName, route, method, optional params, and returnType.
The generated function includes proper TypeScript types, token-based authentication via Authorization header, error handling with try/catch, and a descriptive JSDoc comment with route and method.
The server uses the MCP TypeScript SDK and Zod for schema validation. Node.js and pnpm are required to install and build.
Edit the Cursor MCP configuration file (e.g., `~/.cursor/mcp.json`) and add an entry under `mcpServers` with the command to run `dist/index.js` via `npx` and Node. Restart Cursor for the changes to take effect.
Yes, the `generate-api-function` tool accepts a `route` (string), `method` (one of "GET", "POST", "PUT", "DELETE"), and optional `params` array with names and types.
The server outputs the generated TypeScript code as a response; it does not automatically write files. The user must copy or integrate the output into their project.
不止于 CSS

B2B competitive intelligence, live sales battlecards, 5-axis ICP prospect fit scoring, and tech stack teardowns over MCP and REST with cited public-web evidence.
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct
A curated list of references for MLOps
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Comments