Skip to content

Commit 28d3e46

Browse files
authored
chore: update mcp package with changes from published package (#6481)
1 parent 93f2d8b commit 28d3e46

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

packages/mcp/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
## Getting started
88

9-
[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Primer+MCP&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22%40primer%2Fmcp%40latest%22%5D%7D) [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Primer+MCP&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22%40primer%2Fmcp%40latest%22%5D%7D&quality=insiders)
9+
[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Primer&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22%40primer%2Fmcp%40latest%22%5D%7D) [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Primer&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22%40primer%2Fmcp%40latest%22%5D%7D&quality=insiders)
1010

1111
The `@primer/mcp` package provides a server that can be run in your local
1212
development environment or can be setup in tools like GitHub Actions to be used
@@ -21,14 +21,14 @@ follow these steps:
2121
2. Type `MCP: Install Server` and select it
2222
3. Select the `stdio` type
2323
4. Enter in the following command: `npx @primer/mcp@latest`
24-
5. Enter the name `Primer MCP` for the server
24+
5. Enter the name `Primer` for the server
2525

2626
Your MCP servers configuration should look like:
2727

2828
```json
2929
{
3030
"servers": {
31-
"Primer MCP": {
31+
"Primer": {
3232
"type": "stdio",
3333
"command": "npx",
3434
"args": ["@primer/mcp@latest"]

packages/mcp/bin/mcp.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env node
2+
3+
import '../dist/stdio.js'

packages/mcp/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
{
22
"name": "@primer/mcp",
3-
"version": "0.0.0",
4-
"private": true,
3+
"description": "An MCP server that connects AI tools to the Primer Design System",
4+
"version": "0.0.2",
55
"type": "module",
6-
"bin": "./dist/stdio.js",
6+
"bin": {
7+
"mcp": "./bin/mcp.js"
8+
},
79
"exports": {
810
"./transports/stdio": {
911
"types": "./dist/transports/stdio.d.ts",
1012
"default": "./dist/stdio.js"
1113
}
1214
},
1315
"files": [
16+
"bin",
1417
"dist",
1518
"src",
1619
"README.md"

0 commit comments

Comments
 (0)