1. Conduid
  2. Developer Tools
  3. Hono MCP Generator
MCP server · Developer Tools

Hono MCP Generator

Generate an MCP server for a Hono app using @hono/zod-openapi and openapi-ts

Unclaimed last commit a year ago devtools
41Fair

Scored 5 months ago · breakdown

About Hono MCP Generator

Hono MCP Generator is an MCP server published by ambergristle in the Developer Tools category: generate an MCP server for a Hono app using @hono/zod-openapi and openapi-ts.

The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/ambergristle/hono-mcp-generator

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Hono MCP Generator

Powered by Claude · Grounded in docs

I know everything about Hono MCP Generator. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

Getting Started

To install dependencies:

bun install

To generate OpenAPI spec, along with client SDK and MCP app:

bun client:gen

Then un-comment the mcpApp import and routing in src/index.ts:

import mcpApp from '../sdk/mcp.gen';
// ...
app.route('/mcp', mcpApp);

To run:

bun dev

open http://localhost:3000

To launch MCP inspector:

bun mcp:inspector

Testing

  1. Set the MCP Inspector target URL to http://localhost:3000/mcp.

  2. Select Connect, then List Tools.

  3. Select the Get User tool.

  4. Add an arbitrary ID value as a path parameter.

  5. Select Run Tool.

  6. The returned mock User should have the ID value you entered!

Notes

  • Client generation fails on any TypeScript errors, so the initial generated MCP import must be commented-out.
  • The @modelcontextprotocol/sdk dependency is only compatible with Zod 3, so the openapi-ts config was updated accordingly.
  • Paths in the openapi-ts config were updated to be compatible with this project's structure.
  • The api-config.ts file depends on a generated type file, which seems a little fragile, but doesn't cause any compile-time problems.
  • The api-config.ts file was modified to directly include clientConfig, and project-specific values like appConfig and ApiError were removed for simplicity.

Roadmap

  • The registerTool method is recommended over tool for more robust use-cases.
  • It may be helpful to add a List Tools MCP endpoint to help clients discover available tools and resources.
  • Passing auth credentials via MCP is not currently supported.

README fetched from the repository 7 days ago. The original is authoritative.

Questions

About Hono MCP Generator

How do I install Hono MCP Generator?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Hono MCP Generator safe to use with an AI agent?

Its trust score is 41 out of 100 (fair). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Hono MCP Generator still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.