SM

stackpress/mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

0 stars 0 forks Качество 66 Тренд 0Apache-2.0

Stackpress Context Provider (experimental)

Обзор

Experimental MCP server implementation to provide Stackpress context to AI utilities like cline. The following sections describe several ways to install this MCP. Make sure you are using Node version 22. Run the following commands in the same folder your other MCP servers are. Copy the response from pwd and edit your MCP server configuration by following one of the options below. Add the following configuration to your claude_desktop_config.json where [pwd] is the response from the pwd command earlier. Add the following configuration to your cline_mcp_settings.json where [pwd] is the response from the pwd command earlier. Run the following commands in the same folder your other MCP servers are.

README

Показан фрагмент оригинального README. Открыть оригинал.

Stackpress Context Provider

Experimental MCP server implementation to provide Stackpress context to AI utilities like cline.

1. Install

The following sections describe several ways to install this MCP.

Make sure you are using Node version 22.

1.1. Option 1: Using NPX

Run the following commands in the same folder your other MCP servers are.

$ mkdir stackpress-mcp
$ cd stackpress-mcp
$ npx --y @stackpress/mcp fetch --output ./data
$ npx --y @stackpress/mcp verify --output ./data
$ pwd

Copy the response from pwd and edit your MCP server configuration by following one of the options below.

1.1.1 Using NPX With Claude Desktop

Add the following configuration to your claude_desktop_config.json where [pwd] is the response from the pwd command earlier.

{
  "name": "github.com/stackpress/mcp",
  "command": "npx",
  "args": [ 
    "-y", 
    "@stackpress/mcp", 
    "serve", 
    "--input", 
    "[pwd]/data" 
  ]
}

1.1.2 Using NPX With Cline

Add the following configuration to your cline_mcp_settings.json where [pwd] is the response from the pwd command earlier.

{
  "mcpServers": {
    "github.com/stackpress/mcp": {
      "command": "npx",
      "args": [ 
        "-y", 
        "@stackpress/mcp", 
        "serve", 
        "--input", 
        "[pwd]/data" 
      ]
    }
  }
}

1.2. Option 2: Direct From the Repository

Run the following commands in the same folder your other MCP servers are.

$ git clone https://github.com/stackpress/mcp.git stackpress-mcp
$ cd stackpress-mcp
$ npm i
$ npm run build
$ npm run fetch --output ./data
$ npm run verify --output ./data
$ pwd

Copy the response from pwd and edit your MCP server configuration by following one of the options below.

1.2.1. From the Repository With Claude Desktop

Add the following configuration to your claude_desktop_config.json.

{
  "name": "github.com/stackpress/mcp",
  "command": "node",
  "args": [ 
    "[pwd]/dist/scripts/serve.js", 
    "--input", 
    "[pwd]/data" 
  ]
}

1.2.2. From the Repository With Cline

Add the following configuration to your cline_mcp_settings.json.

{
  "mcpServers": {
    "github.com/stackpress/mcp": {
      "command": "node",
      "args": [ 
        "[pwd]/dist/scripts/serve.js", 
        "--input", 
        "[pwd]/data" 
      ]
    }
  }
}

1.3. From Prompt

  1. Copy and paste the following prompt.
Set up the MCP server from https://github.com/stackpress/mcp while adhering to these MCP server installation rules:
- Start by loading the MCP documentation.
- Use "github.com/stackpress/mcp" as the server name in cline_mcp_settings.json.
- Create the directory for the new MCP server before starting installation.
- Make sure you read the user's existing cline_mcp_settings.json file before editing it with this new mcp, to not overwrite any existing servers.
Открыть полный README на GitHub

Установка

npx -y @stackpress/mcp serve --input [pwd
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "github.com/stackpress/mcp": { "command": "npx", "args": [ "-y", "@stackpress/mcp", "serve", "--input", "[pwd]/data" ] } } }