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

apipost-mcp-server

v0.0.3

Published

A server to fetch API information from APIPost for large language models

Downloads

11

Readme

APIPost MCP Server

一个用于从 APIPost 获取 API 信息的服务器,专为大型语言模型(LLM)设计,基于 Model Context Protocol (MCP)协议实现。

功能介绍

APIPost MCP Server 提供了一个中间层服务,允许大型语言模型通过 MCP 协议与 APIPost 平台进行交互,获取 API 文档和详细信息。主要功能包括:

  • 支持通过 issue ID 和 target ID 获取 APIPost 上的 API 详细信息
  • 提供多种连接方式:HTTP、SSE 和标准输入输出(stdio)
  • 支持 MCP 协议的会话管理和进度通知
  • 可作为独立服务运行或集成到其他应用中

配置

# APIPost 配置
APIPOST_API_TOKEN=你的APIPost API令牌
APIPOST_BASE_URL=https://open.apipost.net

配置项说明

  • APIPOST_API_TOKEN: 必需,APIPost 的 API 访问令牌,在项目中获取,【项目】=》【项目设置】=》【OpenAPI】=》【新建】
  • APIPOST_BASE_URL: APIPost 开放 API 的基础 URL,默认为https://open.apipost.net,可选

在 AI 编辑器中配置使用方式

在 AI 编辑器中,如 Cursor、Trae,添加以下配置:

{
  "mcpServers": {
    "apipost sse mcp": {
      "command": "npx",
      "args": [
        "-y",
        "apipost-mcp-server",
        "--stdio"
      ],
      "env": {
        "APIPOST_API_TOKEN": "你的APIPost API 项目令牌"
      }
    }
  }
}

## 可用工具

服务器提供以下MCP工具:

### get_apipost_api_data

获取APIPost上的API信息。

参数:
- `issueId`: 文档ID,通常在URL中如 https://doc.apipost.net/docs/detail/<issueId>?...
- `targetId`: 目标API的ID,通常作为URL参数 target_id=<targetId>

## 许可证

MIT