@identitate-md/mcp 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +143 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# @identitate-md/mcp
|
|
2
|
+
|
|
3
|
+
> MCP server for IdentitateMD — query Moldovan government institution logos and brand colors from AI coding assistants
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@identitate-md/mcp)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
Use Moldovan government brand assets directly from Claude, Cursor, Windsurf, and any other MCP-compatible AI assistant.
|
|
9
|
+
|
|
10
|
+
## Setup
|
|
11
|
+
|
|
12
|
+
### Claude Desktop
|
|
13
|
+
|
|
14
|
+
Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
|
|
15
|
+
|
|
16
|
+
```json
|
|
17
|
+
{
|
|
18
|
+
"mcpServers": {
|
|
19
|
+
"identitate-md": {
|
|
20
|
+
"command": "npx",
|
|
21
|
+
"args": ["-y", "@identitate-md/mcp"]
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Claude Code (CLI)
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
claude mcp add identitate-md -- npx -y @identitate-md/mcp
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Cursor / Windsurf
|
|
34
|
+
|
|
35
|
+
Add to your MCP settings:
|
|
36
|
+
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"mcpServers": {
|
|
40
|
+
"identitate-md": {
|
|
41
|
+
"command": "npx",
|
|
42
|
+
"args": ["-y", "@identitate-md/mcp"]
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Tools
|
|
49
|
+
|
|
50
|
+
### `search_institutions`
|
|
51
|
+
|
|
52
|
+
Search institutions by name, keyword, or category.
|
|
53
|
+
|
|
54
|
+
| Parameter | Type | Description |
|
|
55
|
+
|-----------|------|-------------|
|
|
56
|
+
| `query` | string (optional) | Name, keyword, or partial ID |
|
|
57
|
+
| `category` | string (optional) | Filter by category ID (see below) |
|
|
58
|
+
| `limit` | number (default: 10) | Max results (1–50) |
|
|
59
|
+
|
|
60
|
+
**Category IDs:** `guvern`, `minister`, `directie`, `agentie`, `primarie`, `institutie-cultura`, `consilii`, `servicii`, `parlament`, `altele`
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
### `get_institution`
|
|
65
|
+
|
|
66
|
+
Get full brand data for an institution by ID.
|
|
67
|
+
|
|
68
|
+
| Parameter | Type | Description |
|
|
69
|
+
|-----------|------|-------------|
|
|
70
|
+
| `id` | string | Institution ID, e.g. `md-guvern` |
|
|
71
|
+
|
|
72
|
+
Returns name, description, colors, logo URLs, typography, contact info, and social media.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
### `get_logo`
|
|
77
|
+
|
|
78
|
+
Get a logo URL (and optionally SVG content) for a specific institution, layout, and variant.
|
|
79
|
+
|
|
80
|
+
| Parameter | Type | Default | Description |
|
|
81
|
+
|-----------|------|---------|-------------|
|
|
82
|
+
| `id` | string | — | Institution ID |
|
|
83
|
+
| `layout` | `main` \| `horizontal` \| `vertical` \| `symbol` | `main` | Logo layout |
|
|
84
|
+
| `variant` | `color` \| `white` \| `black` \| `monochrome` \| `dark_mode` | `color` | Color variant |
|
|
85
|
+
| `fetch_svg` | boolean | `false` | Include raw SVG content in response |
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
### `get_brand_colors`
|
|
90
|
+
|
|
91
|
+
Get brand colors for an institution, formatted as hex, RGB, or CSS custom properties.
|
|
92
|
+
|
|
93
|
+
| Parameter | Type | Default | Description |
|
|
94
|
+
|-----------|------|---------|-------------|
|
|
95
|
+
| `id` | string | — | Institution ID |
|
|
96
|
+
| `format` | `hex` \| `rgb` \| `css` | `hex` | Output format |
|
|
97
|
+
| `usage` | `primary` \| `secondary` \| `accent` \| `neutral` | — | Filter by color role |
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
### `list_categories`
|
|
102
|
+
|
|
103
|
+
List all institution categories with their labels and institution counts. No parameters.
|
|
104
|
+
|
|
105
|
+
## Example Prompts
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
What are the brand colors of the Ministerul Justiției?
|
|
109
|
+
|
|
110
|
+
Get me the logo URL for Guvernul Republicii Moldova — horizontal, color variant.
|
|
111
|
+
|
|
112
|
+
Search for all institutions in the "minister" category.
|
|
113
|
+
|
|
114
|
+
Show me the SVG content of the Parlamentul Republicii Moldova symbol logo.
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
## Institutions
|
|
118
|
+
|
|
119
|
+
24 Moldovan government institutions are available, including:
|
|
120
|
+
|
|
121
|
+
- `md-guvern` — Guvernul Republicii Moldova
|
|
122
|
+
- `md-parlament` — Parlamentul Republicii Moldova
|
|
123
|
+
- `md-mj` — Ministerul Justiției
|
|
124
|
+
- `md-mec` — Ministerul Educației și Cercetării
|
|
125
|
+
- `md-mf` — Ministerul Finanțelor
|
|
126
|
+
- `md-ms` — Ministerul Sănătății
|
|
127
|
+
- `md-mae` — Ministerul Afacerilor Externe
|
|
128
|
+
- `md-age` — Agenția de Guvernare Electronică
|
|
129
|
+
- `md-primaria-chisinau` — Primăria Municipiului Chișinău
|
|
130
|
+
- `md-stema` — Stema Republicii Moldova
|
|
131
|
+
- and more...
|
|
132
|
+
|
|
133
|
+
Full list: [identitate.md](https://identitate.md)
|
|
134
|
+
|
|
135
|
+
## Links
|
|
136
|
+
|
|
137
|
+
- **Website**: [identitate.md](https://identitate.md)
|
|
138
|
+
- **Logos package**: [@identitate-md/logos](https://www.npmjs.com/package/@identitate-md/logos)
|
|
139
|
+
- **GitHub**: [github.com/identitate-md/identitate-md](https://github.com/identitate-md/identitate-md)
|
|
140
|
+
|
|
141
|
+
## License
|
|
142
|
+
|
|
143
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@identitate-md/mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "MCP server for IdentitateMD — query Moldovan government institution logos and brand colors from AI coding assistants",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "IdentitateMD Contributors",
|