You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,3 +91,17 @@ To format and fix all lint issues automatically:
91
91
```sh
92
92
$ pnpm fix
93
93
```
94
+
95
+
## Publishing and releases
96
+
97
+
Changes made to this repository via the automated release PR pipeline should publish to npm automatically. If
98
+
the changes aren't made through the automated pipeline, you may want to make releases manually.
99
+
100
+
### Publish with a GitHub workflow
101
+
102
+
You can release to package managers by using [the `Publish NPM` GitHub action](https://www.github.com/stainless-api/dbahn-stations-typescript/actions/workflows/publish-npm.yml). This requires a setup organization or repository secret to be set up.
103
+
104
+
### Publish manually
105
+
106
+
If you need to manually release a package, you can run the `bin/publish-npm` script with an `NPM_TOKEN` set on
"DBAHN_STATIONS_CLIENT_SECRET": "My Client Secret"
@@ -55,6 +36,29 @@ For clients with a configuration JSON, it might look something like this:
55
36
}
56
37
```
57
38
39
+
### Cursor
40
+
41
+
If you use Cursor, you can install the MCP server by using the button below. You will need to set your environment variables
42
+
in Cursor's `mcp.json`, which can be found in Cursor Settings > Tools & MCP > New MCP Server.
43
+
44
+
[](https://cursor.com/en-US/install-mcp?name=dbahn-stations-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImRiYWhuLXN0YXRpb25zLW1jcCJdLCJlbnYiOnsiREJBSE5fU1RBVElPTlNfQ0xJRU5UX0lEIjoiU2V0IHlvdXIgREJBSE5fU1RBVElPTlNfQ0xJRU5UX0lEIGhlcmUuIiwiREJBSE5fU1RBVElPTlNfQ0xJRU5UX1NFQ1JFVCI6IlNldCB5b3VyIERCQUhOX1NUQVRJT05TX0NMSUVOVF9TRUNSRVQgaGVyZS4ifX0)
45
+
46
+
### VS Code
47
+
48
+
If you use MCP, you can install the MCP server by clicking the link below. You will need to set your environment variables
49
+
in VS Code's `mcp.json`, which can be found via Command Palette > MCP: Open User Configuration.
50
+
51
+
[Open VS Code](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22dbahn-stations-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22dbahn-stations-mcp%22%5D%2C%22env%22%3A%7B%22DBAHN_STATIONS_CLIENT_ID%22%3A%22Set%20your%20DBAHN_STATIONS_CLIENT_ID%20here.%22%2C%22DBAHN_STATIONS_CLIENT_SECRET%22%3A%22Set%20your%20DBAHN_STATIONS_CLIENT_SECRET%20here.%22%7D%7D)
52
+
53
+
### Claude Code
54
+
55
+
If you use Claude Code, you can install the MCP server by running the command below in your terminal. You will need to set your
56
+
environment variables in Claude Code's `.claude.json`, which can be found in your home directory.
0 commit comments