Skip to content

Commit ea2a1c6

Browse files
feat(api): manual updates
1 parent a386e8a commit ea2a1c6

10 files changed

Lines changed: 22 additions & 22 deletions

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 17
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser%2Fcas-parser-56b0f699c5437d9e5326626d35dfc972c17d01f12cb416c7f4854c8ea6d0e95e.yml
33
openapi_spec_hash: 158f405c1880706266d83e6ff16b9d2f
4-
config_hash: 3984d901dd3643875b212ecb24263a9d
4+
config_hash: 71b56825479262e2a16b9a2fe978c174

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ It is generated with [Stainless](https://www.stainless.com/).
1212

1313
Use the Cas Parser MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
1414

15-
[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=cas-parser-mcp&config=eyJuYW1lIjoiY2FzLXBhcnNlci1tY3AiLCJ0cmFuc3BvcnQiOiJodHRwIiwidXJsIjoiaHR0cHM6Ly9jYXMtcGFyc2VyLnN0bG1jcC5jb20iLCJoZWFkZXJzIjp7IngtYXBpLWtleSI6Ik15IEFQSSBLZXkifX0)
16-
[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22cas-parser-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fcas-parser.stlmcp.com%22%2C%22headers%22%3A%7B%22x-api-key%22%3A%22My%20API%20Key%22%7D%7D)
15+
[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=cas-parser-node-mcp&config=eyJuYW1lIjoiY2FzLXBhcnNlci1ub2RlLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL2Nhcy1wYXJzZXIuc3RsbWNwLmNvbSIsImhlYWRlcnMiOnsieC1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)
16+
[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22cas-parser-node-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fcas-parser.stlmcp.com%22%2C%22headers%22%3A%7B%22x-api-key%22%3A%22My%20API%20Key%22%7D%7D)
1717

1818
> Note: You may need to set environment variables in your MCP client.
1919

packages/mcp-server/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# This Dockerfile builds a Docker image for the MCP Server.
44
#
55
# To build the image locally:
6-
# docker build -f packages/mcp-server/Dockerfile -t cas-parser-mcp:local .
6+
# docker build -f packages/mcp-server/Dockerfile -t cas-parser-node-mcp:local .
77
#
88
# To run the image:
9-
# docker run -i cas-parser-mcp:local [OPTIONS]
9+
# docker run -i cas-parser-node-mcp:local [OPTIONS]
1010
#
1111
# Common options:
1212
# --tool=<name> Include specific tools
@@ -16,7 +16,7 @@
1616
# --transport=<type> Set transport type (stdio or http)
1717
#
1818
# For a full list of options:
19-
# docker run -i cas-parser-mcp:local --help
19+
# docker run -i cas-parser-node-mcp:local --help
2020
#
2121
# Note: The MCP server uses stdio transport by default. Docker's -i flag
2222
# enables interactive mode, allowing the container to communicate over stdin/stdout.

packages/mcp-server/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You can run the MCP Server directly via `npx`:
1111
```sh
1212
export CAS_PARSER_API_KEY="My API Key"
1313
export CAS_PARSER_ENVIRONMENT="production"
14-
npx -y cas-parser-mcp@latest
14+
npx -y cas-parser-node-mcp@latest
1515
```
1616

1717
### Via MCP Client
@@ -26,7 +26,7 @@ For clients with a configuration JSON, it might look something like this:
2626
"mcpServers": {
2727
"cas_parser_node_api": {
2828
"command": "npx",
29-
"args": ["-y", "cas-parser-mcp"],
29+
"args": ["-y", "cas-parser-node-mcp"],
3030
"env": {
3131
"CAS_PARSER_API_KEY": "My API Key",
3232
"CAS_PARSER_ENVIRONMENT": "production"
@@ -41,22 +41,22 @@ For clients with a configuration JSON, it might look something like this:
4141
If you use Cursor, you can install the MCP server by using the button below. You will need to set your environment variables
4242
in Cursor's `mcp.json`, which can be found in Cursor Settings > Tools & MCP > New MCP Server.
4343

44-
[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=cas-parser-mcp&config=eyJuYW1lIjoiY2FzLXBhcnNlci1tY3AiLCJ0cmFuc3BvcnQiOiJodHRwIiwidXJsIjoiaHR0cHM6Ly9jYXMtcGFyc2VyLnN0bG1jcC5jb20iLCJoZWFkZXJzIjp7IngtYXBpLWtleSI6Ik15IEFQSSBLZXkifX0)
44+
[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=cas-parser-node-mcp&config=eyJuYW1lIjoiY2FzLXBhcnNlci1ub2RlLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL2Nhcy1wYXJzZXIuc3RsbWNwLmNvbSIsImhlYWRlcnMiOnsieC1hcGkta2V5IjoiTXkgQVBJIEtleSJ9fQ)
4545

4646
### VS Code
4747

4848
If you use MCP, you can install the MCP server by clicking the link below. You will need to set your environment variables
4949
in VS Code's `mcp.json`, which can be found via Command Palette > MCP: Open User Configuration.
5050

51-
[Open VS Code](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22cas-parser-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fcas-parser.stlmcp.com%22%2C%22headers%22%3A%7B%22x-api-key%22%3A%22My%20API%20Key%22%7D%7D)
51+
[Open VS Code](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22cas-parser-node-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fcas-parser.stlmcp.com%22%2C%22headers%22%3A%7B%22x-api-key%22%3A%22My%20API%20Key%22%7D%7D)
5252

5353
### Claude Code
5454

5555
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
5656
environment variables in Claude Code's `.claude.json`, which can be found in your home directory.
5757

5858
```
59-
claude mcp add cas_parser_mcp_api --header "x-api-key: My API Key" --transport http https://cas-parser.stlmcp.com
59+
claude mcp add cas_parser_node_mcp_api --header "x-api-key: My API Key" --transport http https://cas-parser.stlmcp.com
6060
```
6161

6262
## Code Mode

packages/mcp-server/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ cp tsconfig.dist-src.json dist/src/tsconfig.json
2929

3030
chmod +x dist/index.js
3131

32-
DIST_PATH=./dist PKG_IMPORT_PATH=cas-parser-mcp/ node ../../scripts/utils/postprocess-files.cjs
32+
DIST_PATH=./dist PKG_IMPORT_PATH=cas-parser-node-mcp/ node ../../scripts/utils/postprocess-files.cjs
3333

3434
# mcp bundle
3535
rm -rf dist-bundle cas_parser_node_api.mcpb; mkdir dist-bundle

packages/mcp-server/jest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const config: JestConfigWithTsJest = {
77
'^.+\\.(t|j)sx?$': ['@swc/jest', { sourceMaps: 'inline' }],
88
},
99
moduleNameMapper: {
10-
'^cas-parser-mcp$': '<rootDir>/src/index.ts',
11-
'^cas-parser-mcp/(.*)$': '<rootDir>/src/$1',
10+
'^cas-parser-node-mcp$': '<rootDir>/src/index.ts',
11+
'^cas-parser-node-mcp/(.*)$': '<rootDir>/src/$1',
1212
},
1313
modulePathIgnorePatterns: ['<rootDir>/dist/'],
1414
testPathIgnorePatterns: ['scripts'],

packages/mcp-server/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dxt_version": "0.2",
3-
"name": "cas-parser-mcp",
3+
"name": "cas-parser-node-mcp",
44
"version": "1.5.1",
55
"description": "The official MCP Server for the Cas Parser API",
66
"author": {

packages/mcp-server/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "cas-parser-mcp",
2+
"name": "cas-parser-node-mcp",
33
"version": "1.6.2",
44
"description": "The official MCP Server for the Cas Parser API",
55
"author": "Cas Parser <sameer@casparser.in>",
@@ -73,8 +73,8 @@
7373
"tsconfig-paths": "^4.0.0"
7474
},
7575
"imports": {
76-
"cas-parser-mcp": ".",
77-
"cas-parser-mcp/*": "./src/*"
76+
"cas-parser-node-mcp": ".",
77+
"cas-parser-node-mcp/*": "./src/*"
7878
},
7979
"exports": {
8080
".": {

packages/mcp-server/tsconfig.build.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"compilerOptions": {
66
"rootDir": "./dist/src",
77
"paths": {
8-
"cas-parser-mcp/*": ["./dist/src/*"],
9-
"cas-parser-mcp": ["./dist/src/index.ts"]
8+
"cas-parser-node-mcp/*": ["./dist/src/*"],
9+
"cas-parser-node-mcp": ["./dist/src/index.ts"]
1010
},
1111
"noEmit": false,
1212
"declaration": true,

packages/mcp-server/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"moduleResolution": "node",
99
"esModuleInterop": true,
1010
"paths": {
11-
"cas-parser-mcp/*": ["./src/*"],
12-
"cas-parser-mcp": ["./src/index.ts"]
11+
"cas-parser-node-mcp/*": ["./src/*"],
12+
"cas-parser-node-mcp": ["./src/index.ts"]
1313
},
1414
"noEmit": true,
1515

0 commit comments

Comments
 (0)