Skip to main content
Glama
logfoxai

callspec

Official
by logfoxai

Define your API once with simple TypeScript โ€” methods like getProductById with typed inputs, outputs, and errors โ€” and Callspec gives you the whole stack from that one place: the server, a TypeScript SDK you use in your own app or ship to consumers, shared types (and optional form validators), docs, MCP tools, and OpenAPI 3.1.

On the frontend you call api.getProductById({โ€ฆ}) and get a Result back โ€” success value or a typed error code you can switch on. Same methods, same types, same errors as the server and as agents on MCP. No drift, no hand-rolled client, no guessing which status codes mean what.

  • ๐Ÿงช Unit-test the real handler โ€” .handler(input, ctx) โ€” no HTTP, no req/res, no mocks (unless you use singletons); 100% line/branch/function coverage is realistic

  • ๐ŸŽฏ Result-typed errors โ€” end-to-end error codes from handler โ†’ SDK โ†’ OpenAPI โ†’ MCP

  • ๐Ÿค– MCP from the same routes โ€” your TypeScript API is also a Cursor/Claude tool server

  • โšก RPC functions โ€” define simple functions like getProductById, not REST CRUD

  • ๐Ÿงฉ TypeScript SDK โ€” use it in your frontend or publish it for API consumers

  • ๐Ÿ“„ OpenAPI 3.1 โ€” for tooling, gateways, and multi-language generators when you need them

  • ๐Ÿ“˜ Docs UI โ€” white-label explorer to try methods and connect MCP clients

  • โœ… Shared types & schemas โ€” same preds end-to-end; optional exports land on generated schemas

Try the demo

Hosted (browse routes / MCP connect snippets): callspec.logfox.ai/demo

Live try-it + MCP locally:

git clone https://github.com/logfoxai/callspec.git
cd callspec && npm install
npm run build && npm run serve:chirp-demo

Open http://127.0.0.1:3456/v1/docs โ€” fictional Chirp API v2. Bearer token demo for authenticated routes and MCP.

Related MCP server: Graft

Contents

For coding agents: Working with Coding Agents (copy-paste skill + prompts). Skill file: SKILL.md.

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

โ€“Maintainers
4dResponse time
0dRelease cycle
43Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables building agent-ready APIs that expose tools as both HTTP and MCP endpoints from a single server definition, with automatic OpenAPI, discovery docs, and interactive API reference.
    5
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • MCP server exposing the Backtest360 engine API as tools for AI agents.

  • MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

View all MCP Connectors

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/logfoxai/callspec'

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