npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@devcoffee/mcp-tools

v1.5.1

Published

MCP tools for devcoffee system

Downloads

859

Readme

DevCoffee MCP Tools

DevCoffee MCP Tools is a Production-Grade Model Context Protocol (MCP) server implementation and an automated injector for the devcoffee ecosystem. It connects AI agents seamlessly to DevCoffee's local infrastructure, enabling them to explore databases, run queries, and utilize specialized skills.

🚀 Features

  • MCP Server (mcp): A robust, standard-compliant MCP Server running over stdio. It exposes tools to introspect and query the devcoffee-product PostgreSQL database safely.
  • Automated Setup (setup): An interactive CLI tool to inject MCP server configurations into various AI agents (Claude Code, Codex CLI, Gemini, and Antigravity).
  • Skill Injection (skills): Installs bundled, production-grade instructions (SKILL.md) directly into your AI agents' working directories to guide them on how to effectively use DevCoffee's infrastructure.
  • Strictly Typed: Built with TypeScript, validated by Zod, and configured with aggressive ESLint rules to guarantee stability and type safety.

📦 Installation

Ensure you have Node.js installed, then clone the repository and install dependencies:

npm install
npm run build

🛠️ Usage

This project exposes an executable CLI. You can run it locally using npx or npm run start.

1. Start the MCP Server

Typically, this command is executed automatically by AI agents, but you can test it directly:

npx @devcoffee/mcp-tools mcp

2. Setup MCP Configuration for Agents

Interactively configure the Database credentials and inject the server path into your AI assistants:

npx @devcoffee/mcp-tools setup

You can also bypass the prompt by specifying an agent: npx @devcoffee/mcp-tools setup claude

3. Inject DevCoffee Skills

Inject authoritative guidelines (mcp-guide, database-exploring) to teach AI agents how to interact with the system:

npx @devcoffee/mcp-tools skills

Supported targets include: Claude Code (.claude), Codex CLI (.codex), Gemini/Antigravity (.agents).

🗄️ Database Tools Available

The MCP Server exposes the following tools to the AI agents:

  • list_tables: Retrieves a complete list of tables in the public schema.
  • describe_table: Analyzes column data types, nullability, and extracts foreign-key relationships.
  • run_sql_query: Executes read-only SQL queries (SELECT or WITH) securely against the PostgreSQL database.

⚙️ Environment Configuration

The server relies on the following environment variables to connect to the PostgreSQL database (these are automatically collected and injected into the target config during setup):

  • DATABASES_DEFAULT_HOST
  • DATABASES_DEFAULT_PORT
  • DATABASES_DEFAULT_NAME
  • DATABASES_DEFAULT_USER
  • DATABASES_DEFAULT_PASSWORD

👨‍💻 Development

Start the development server with the MCP inspector:

npm run dev

Run Code Quality checks (Typecheck & Linting):

npm run check

We utilize path aliasing (@/*) via tsc-alias to ensure clean, readable imports without relative path nesting.

📄 License

ISC