-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 4.66 KB
/
package.json
File metadata and controls
155 lines (155 loc) · 4.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "mcp-portal-transparencia-brasil",
"version": "1.0.5",
"description": "MCP Server for Portal da Transparência API - Multi-step Call Planner. Provides intelligent query planning, data aggregation, and comprehensive API interaction capabilities for the Brazilian Government Transparency Portal, enabling efficient access to public expenditure data, government contracts, and transparency information via MCP protocol.",
"main": "dist/src/index.js",
"bin": {
"mcp-portal-transparencia-brasil": "bin/mcp-portal-transparencia.js"
},
"types": "dist/src/index.d.ts",
"type": "module",
"scripts": {
"build": "tsc",
"dev": "npx ts-node -r tsconfig-paths/register src/index.ts",
"start": "node dist/src/index.js",
"mcp-server": "node dist/src/mcp-server.js",
"inspector": "npx @modelcontextprotocol/inspector --config mcp-inspector-config.json --server portal-transparencia",
"inspector:direct": "npm run build && npx @modelcontextprotocol/inspector node dist/src/mcp-server.js",
"test": "jest",
"test:unit": "jest --testMatch='**/tests/unit/**/*.test.ts'",
"test:integration": "jest --testMatch='**/tests/integration/**/*.test.ts'",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"typecheck": "tsc --noEmit",
"format": "prettier --write \"src/**/*.{ts,js,json}\"",
"format:check": "prettier --check \"src/**/*.{ts,js,json}\"",
"clean": "rm -rf dist coverage temp_build",
"docs": "typedoc",
"prepublishOnly": "npm run build && npm run test:unit && npm run lint",
"publish:patch": "npm version patch && npm publish",
"publish:minor": "npm version minor && npm publish",
"publish:major": "npm version major && npm publish",
"prepare": "husky install"
},
"keywords": [
"mcp",
"mcp-server",
"portal-da-transparencia",
"api",
"typescript",
"brasil",
"governo",
"transparency",
"government-api",
"brazil",
"openapi",
"swagger",
"api-client"
],
"author": "Lucas Dutra",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/dutradotdev/mcp-portal-transparencia.git"
},
"bugs": {
"url": "https://github.com/dutradotdev/mcp-portal-transparencia/issues"
},
"homepage": "https://github.com/dutradotdev/mcp-portal-transparencia#readme",
"files": [
"dist",
"bin",
"LICENSE",
"README.md"
],
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"@modelcontextprotocol/sdk": "^0.6.0",
"axios": "^1.10.0",
"dotenv": "^16.4.7",
"handlebars": "^4.7.8",
"node-fetch": "^3.3.2",
"openapi-types": "^12.1.3",
"openapi-typescript": "^7.4.2",
"openapi-typescript-codegen": "^0.29.0",
"swagger-parser": "^10.0.3",
"task-master-ai": "^0.19.0",
"winston": "^3.17.0"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^22.10.5",
"@types/node-fetch": "^2.6.12",
"@typescript-eslint/eslint-plugin": "^8.35.1",
"@typescript-eslint/parser": "^8.35.1",
"eslint": "^9.30.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^29.0.1",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.3.0",
"prettier": "^3.4.2",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.19.2",
"typedoc": "^0.25.13",
"typescript": "^5.7.3"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"testMatch": [
"**/__tests__/**/*.test.ts",
"**/tests/**/*.test.ts"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts",
"!src/**/index.ts",
"!src/tests/**/*.ts"
],
"coverageDirectory": "coverage",
"coverageReporters": [
"text",
"lcov",
"html"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1",
"^@/clients/(.*)$": "<rootDir>/src/clients/$1",
"^@/core/(.*)$": "<rootDir>/src/core/$1",
"^@/utils/(.*)$": "<rootDir>/src/utils/$1",
"^@/types/(.*)$": "<rootDir>/src/types/$1",
"^@/config/(.*)$": "<rootDir>/src/config/$1",
"^@/logging/(.*)$": "<rootDir>/src/logging/$1",
"^@/errors/(.*)$": "<rootDir>/src/errors/$1"
},
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"tsconfig": "tsconfig.test.json"
}
]
}
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
}
}