File tree Expand file tree Collapse file tree 4 files changed +27
-10
lines changed Expand file tree Collapse file tree 4 files changed +27
-10
lines changed Original file line number Diff line number Diff line change 35
35
- name : Install Dependencies
36
36
run : bun install
37
37
38
- - name : Build
39
- run : bun run build
40
-
41
38
- name : Publish
42
39
if : ${{ !github.event.release.prerelease }}
43
40
env :
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @geocoding-ai/mcp" ,
3
+ "type" : " module" ,
4
+ "version" : " 0.3.0" ,
5
+ "description" : " Model Context Protocol CLI" ,
6
+ "keywords" : [
7
+ " mcp-server" ,
8
+ " mcp" ,
9
+ " geocoding" ,
10
+ " reverse-geocoding" ,
11
+ " geocoding-ai" ,
12
+ " nominatim" ,
13
+ " openstreetmap" ,
14
+ " osm" ,
15
+ " geojson" ,
16
+ " geocodejson"
17
+ ],
18
+ "author" : {
19
+ "name" : " Srihari Thalla" ,
20
+
21
+ },
3
22
"main" : " ./dist/index.js" ,
4
23
"module" : " ./dist/index.js" ,
5
- "type" : " module" ,
6
- "version" : " 0.1.0" ,
24
+ "bin" : " ./dist/index.js" ,
7
25
"files" : [
8
26
" dist"
9
27
],
15
33
},
16
34
"scripts" : {
17
35
"build" : " tsc" ,
36
+ "dev" : " tsc --watch" ,
18
37
"inspect" : " bunx @modelcontextprotocol/inspector node dist/index.js" ,
19
- "watch " : " tsc --watch " ,
20
- "lint " : " eslint src "
38
+ "lint " : " eslint src " ,
39
+ "prepublishOnly " : " bun run build && chmod 755 dist/index.js "
21
40
},
22
41
"devDependencies" : {
23
42
"@eslint/js" : " ^9.28.0" ,
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env node
2
+
1
3
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"
2
4
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
3
5
import { registerGeocodeTool } from "./tools/geocode.js"
Original file line number Diff line number Diff line change 25
25
"noUnusedParameters" : false ,
26
26
"noPropertyAccessFromIndexSignature" : false
27
27
},
28
- "include" : [
29
- " src"
30
- ]
28
+ "include" : [" src/**/*" ],
29
+ "exclude" : [" node_modules" ]
31
30
}
You can’t perform that action at this time.
0 commit comments