File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish to MCP Registry
2+
3+ on :
4+ push :
5+ tags : ['v*'] # Triggers on version tags like v1.0.0
6+
7+ jobs :
8+ publish :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ id-token : write # Required for OIDC authentication
12+ contents : read
13+
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v4
17+
18+ - name : Setup Node.js # Adjust for your language
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version : ' 20'
22+ registry-url : ' https://registry.npmjs.org'
23+
24+ - name : Install dependencies
25+ run : npm ci
26+
27+ - name : Run tests
28+ run : npm test
29+
30+ - name : Build package
31+ run : npm run build
32+
33+ - name : Publish to npm
34+ run : npm publish
35+ env :
36+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
37+
38+ - name : Install MCP Publisher
39+ run : |
40+ # Build publisher from source (requires Go)
41+ git clone https://github.com/modelcontextprotocol/registry publisher-repo
42+ cd publisher-repo
43+ make publisher
44+ cp cmd/publisher/bin/mcp-publisher ../mcp-publisher
45+ cd ..
46+ chmod +x mcp-publisher
47+
48+ - name : Login to MCP Registry
49+ run : ./mcp-publisher login github-oidc
50+
51+ - name : Publish to MCP Registry
52+ run : ./mcp-publisher publish
Original file line number Diff line number Diff line change @@ -141,4 +141,7 @@ pnpm-lock.yaml
141141
142142.DS_Store
143143
144- .bmad-core
144+ .bmad-core
145+
146+ .mcpregistry_registry_token
147+ .mcpregistry_github_token
Original file line number Diff line number Diff line change 11{
22 "name" : " source-map-parser-mcp" ,
3- "version" : " 1.3.1 " ,
3+ "version" : " 1.3.2 " ,
44 "type" : " module" ,
5- "description" : " " ,
5+ "description" : " Parse JavaScript error stack traces back to original source code using source maps" ,
6+ "mcpName" : " io.github.MasonChow/source-map-parser-mcp" ,
67 "main" : " index.js" ,
78 "scripts" : {
89 "build" : " bash build.sh" ,
1617 },
1718 "files" : [
1819 " dist" ,
20+ " server.json" ,
1921 " LICENSE" ,
2022 " README.md" ,
2123 " README.zh-CN.md"
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json" ,
3+ "name" : " io.github.MasonChow/source-map-parser-mcp" ,
4+ "description" : " Parse JavaScript error stack traces back to original source code using source maps" ,
5+ "status" : " active" ,
6+ "repository" : {
7+ "url" : " https://github.com/MasonChow/source-map-parser-mcp" ,
8+ "source" : " github"
9+ },
10+ "version" : " 1.3.2" ,
11+ "packages" : [
12+ {
13+ "registry_type" : " npm" ,
14+ "registry_base_url" : " https://registry.npmjs.org" ,
15+ "identifier" : " source-map-parser-mcp" ,
16+ "version" : " 1.3.2" ,
17+ "transport" : {
18+ "type" : " stdio"
19+ },
20+ "environment_variables" : [
21+ {
22+ "description" : " Context lines around error locations in source code" ,
23+ "is_required" : false ,
24+ "format" : " string" ,
25+ "is_secret" : false ,
26+ "name" : " SOURCE_MAP_PARSER_CONTEXT_OFFSET_LINE"
27+ },
28+ {
29+ "description" : " Maximum memory cache size in MB for source maps" ,
30+ "is_required" : false ,
31+ "format" : " string" ,
32+ "is_secret" : false ,
33+ "name" : " SOURCE_MAP_PARSER_RESOURCE_CACHE_MAX_SIZE"
34+ }
35+ ]
36+ }
37+ ]
38+ }
You can’t perform that action at this time.
0 commit comments