acf-mcp 1.0.0
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/LICENSE +21 -0
- package/README.md +87 -0
- package/content/fiches/.gitkeep +0 -0
- package/content/fiches/ACF-00.en.md +59 -0
- package/content/fiches/ACF-00.fr.md +59 -0
- package/content/fiches/ACF-01.en.md +32 -0
- package/content/fiches/ACF-01.fr.md +32 -0
- package/content/fiches/ACF-02.en.md +32 -0
- package/content/fiches/ACF-02.fr.md +32 -0
- package/content/fiches/ACF-03.en.md +78 -0
- package/content/fiches/ACF-03.fr.md +78 -0
- package/content/fiches/ACF-04.en.md +32 -0
- package/content/fiches/ACF-04.fr.md +32 -0
- package/content/fiches/ACF-05.en.md +32 -0
- package/content/fiches/ACF-05.fr.md +32 -0
- package/content/fiches/ACF-06.en.md +32 -0
- package/content/fiches/ACF-06.fr.md +32 -0
- package/content/fiches/ACF-07.en.md +32 -0
- package/content/fiches/ACF-07.fr.md +32 -0
- package/content/fiches/ACF-08.en.md +32 -0
- package/content/fiches/ACF-08.fr.md +32 -0
- package/content/fiches/ACF-09.en.md +32 -0
- package/content/fiches/ACF-09.fr.md +32 -0
- package/content/fiches/ACF-10.en.md +32 -0
- package/content/fiches/ACF-10.fr.md +32 -0
- package/content/fiches/ACF-11.en.md +32 -0
- package/content/fiches/ACF-11.fr.md +32 -0
- package/content/fiches/ACF-12.en.md +32 -0
- package/content/fiches/ACF-12.fr.md +32 -0
- package/content/fiches/ACF-13.en.md +32 -0
- package/content/fiches/ACF-13.fr.md +32 -0
- package/content/fiches/ACF-14.en.md +32 -0
- package/content/fiches/ACF-14.fr.md +32 -0
- package/content/fiches/ACF-15.en.md +32 -0
- package/content/fiches/ACF-15.fr.md +32 -0
- package/content/fiches/ACF-16.en.md +32 -0
- package/content/fiches/ACF-16.fr.md +32 -0
- package/content/framework/.gitkeep +0 -0
- package/content/framework/autonomy-levels.json +73 -0
- package/content/framework/ddao.json +16 -0
- package/content/framework/dimensions.json +83 -0
- package/content/framework/principles.json +77 -0
- package/content/glossary/.gitkeep +0 -0
- package/content/glossary/en.json +96 -0
- package/content/glossary/fr.json +96 -0
- package/content/guides/.gitkeep +0 -0
- package/content/manual/.gitkeep +0 -0
- package/content/meta.json +23 -0
- package/content/rules/.gitkeep +0 -0
- package/content/rules/ai-act-annex-i.json +54 -0
- package/content/rules/ai-act-annex-iii.json +165 -0
- package/content/rules/ai-act-roles.json +52 -0
- package/content/rules/autonomy-inference.json +38 -0
- package/content/rules/criticality-matrix.json +83 -0
- package/content/rules/ddao-controls-mapping.json +148 -0
- package/content/rules/gdpr-qualification.json +58 -0
- package/content/rules/gpai-triggers.json +41 -0
- package/content/rules/rules-meta.json +5 -0
- package/content/rules/sign-off-matrix.json +84 -0
- package/content/whitepaper/.gitkeep +0 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +2898 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/rate-limit.d.ts +24 -0
- package/dist/lib/rate-limit.js +89 -0
- package/dist/lib/rate-limit.js.map +1 -0
- package/dist/search-index.json +1 -0
- package/dist/server-DxztThU5.d.ts +931 -0
- package/dist/transport/http.d.ts +27 -0
- package/dist/transport/http.js +2908 -0
- package/dist/transport/http.js.map +1 -0
- package/dist/transport/stdio.d.ts +1 -0
- package/dist/transport/stdio.js +2907 -0
- package/dist/transport/stdio.js.map +1 -0
- package/package.json +81 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2026-06",
|
|
3
|
+
"last_update": "2026-06-07",
|
|
4
|
+
"rules": [
|
|
5
|
+
{
|
|
6
|
+
"criticality": "low",
|
|
7
|
+
"personal_data_level": "none",
|
|
8
|
+
"financial_exposure": "none",
|
|
9
|
+
"required": {
|
|
10
|
+
"security": false,
|
|
11
|
+
"privacy": false,
|
|
12
|
+
"compliance": false,
|
|
13
|
+
"legal": false,
|
|
14
|
+
"business_sponsor": true,
|
|
15
|
+
"board": false
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"criticality": "medium",
|
|
20
|
+
"personal_data_level": "standard",
|
|
21
|
+
"financial_exposure": "low_operation",
|
|
22
|
+
"required": {
|
|
23
|
+
"security": true,
|
|
24
|
+
"privacy": true,
|
|
25
|
+
"compliance": false,
|
|
26
|
+
"legal": false,
|
|
27
|
+
"business_sponsor": true,
|
|
28
|
+
"board": false
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"criticality": "high",
|
|
33
|
+
"personal_data_level": "standard",
|
|
34
|
+
"financial_exposure": "high_corporate",
|
|
35
|
+
"required": {
|
|
36
|
+
"security": true,
|
|
37
|
+
"privacy": true,
|
|
38
|
+
"compliance": true,
|
|
39
|
+
"legal": true,
|
|
40
|
+
"business_sponsor": true,
|
|
41
|
+
"board": false
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"criticality": "high",
|
|
46
|
+
"personal_data_level": "sensitive_special",
|
|
47
|
+
"financial_exposure": "none",
|
|
48
|
+
"required": {
|
|
49
|
+
"security": true,
|
|
50
|
+
"privacy": true,
|
|
51
|
+
"compliance": true,
|
|
52
|
+
"legal": true,
|
|
53
|
+
"business_sponsor": true,
|
|
54
|
+
"board": false
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"criticality": "critical",
|
|
59
|
+
"personal_data_level": "sensitive_special",
|
|
60
|
+
"financial_exposure": "high_corporate",
|
|
61
|
+
"required": {
|
|
62
|
+
"security": true,
|
|
63
|
+
"privacy": true,
|
|
64
|
+
"compliance": true,
|
|
65
|
+
"legal": true,
|
|
66
|
+
"business_sponsor": true,
|
|
67
|
+
"board": true
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"criticality": "critical",
|
|
72
|
+
"personal_data_level": "sensitive_special",
|
|
73
|
+
"financial_exposure": "medium_contract",
|
|
74
|
+
"required": {
|
|
75
|
+
"security": true,
|
|
76
|
+
"privacy": true,
|
|
77
|
+
"compliance": true,
|
|
78
|
+
"legal": true,
|
|
79
|
+
"business_sponsor": true,
|
|
80
|
+
"board": true
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
File without changes
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { A as AcfLocale } from './server-DxztThU5.js';
|
|
2
|
+
export { a as ACF_MCP_NAME, b as AcfLocaleSchema, c as AcfRegistry, d as ApplicableDateSchema, e as AutonomyLevel, f as AutonomyLevelSchema, C as CreateAcfServerOptions, D as Ddao, g as DdaoSchema, h as Dimension, i as DimensionSchema, F as FicheDocument, j as FicheFrontmatter, k as FicheFrontmatterSchema, G as GlossaryEntry, l as GlossaryEntrySchema, m as GuideDocument, n as GuideFrontmatter, o as GuideFrontmatterSchema, L as LocalizedString, p as LocalizedStringSchema, M as Meta, q as MetaSchema, P as Principle, r as PrincipleSchema, R as RelatedArticleSchema, s as ResolvedContent, S as SUPPORTED_LOCALES, W as WhitepaperDocument, t as WhitepaperSection, u as WhitepaperSectionSchema, v as createAcfServer } from './server-DxztThU5.js';
|
|
3
|
+
import '@modelcontextprotocol/sdk/server/index.js';
|
|
4
|
+
import 'zod';
|
|
5
|
+
|
|
6
|
+
interface LocaleNegotiationInput {
|
|
7
|
+
explicit?: string | undefined;
|
|
8
|
+
acceptLanguage?: string | undefined;
|
|
9
|
+
envLocale?: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
declare const DEFAULT_FALLBACK_LOCALE: AcfLocale;
|
|
12
|
+
declare const AUTHORITY_SOURCE_LOCALE: AcfLocale;
|
|
13
|
+
/**
|
|
14
|
+
* Locale negotiation per spec §8.1:
|
|
15
|
+
* 1. Explicit param (URI ?lang= or tool argument)
|
|
16
|
+
* 2. HTTP Accept-Language
|
|
17
|
+
* 3. ACF_MCP_LOCALE env var (stdio only)
|
|
18
|
+
* 4. DEFAULT_FALLBACK_LOCALE ('en')
|
|
19
|
+
*/
|
|
20
|
+
declare function negotiateLocale(input: LocaleNegotiationInput): AcfLocale;
|
|
21
|
+
/**
|
|
22
|
+
* Fallback chain used by ContentLoader:
|
|
23
|
+
* requested → DEFAULT_FALLBACK_LOCALE ('en') → AUTHORITY_SOURCE_LOCALE ('fr')
|
|
24
|
+
* Deduplicated.
|
|
25
|
+
*/
|
|
26
|
+
declare function fallbackChain(requested: AcfLocale): AcfLocale[];
|
|
27
|
+
|
|
28
|
+
declare const ACF_MCP_VERSION = "1.0.0";
|
|
29
|
+
|
|
30
|
+
export { ACF_MCP_VERSION, AUTHORITY_SOURCE_LOCALE, AcfLocale, DEFAULT_FALLBACK_LOCALE, type LocaleNegotiationInput, fallbackChain, negotiateLocale };
|