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.
Files changed (75) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +87 -0
  3. package/content/fiches/.gitkeep +0 -0
  4. package/content/fiches/ACF-00.en.md +59 -0
  5. package/content/fiches/ACF-00.fr.md +59 -0
  6. package/content/fiches/ACF-01.en.md +32 -0
  7. package/content/fiches/ACF-01.fr.md +32 -0
  8. package/content/fiches/ACF-02.en.md +32 -0
  9. package/content/fiches/ACF-02.fr.md +32 -0
  10. package/content/fiches/ACF-03.en.md +78 -0
  11. package/content/fiches/ACF-03.fr.md +78 -0
  12. package/content/fiches/ACF-04.en.md +32 -0
  13. package/content/fiches/ACF-04.fr.md +32 -0
  14. package/content/fiches/ACF-05.en.md +32 -0
  15. package/content/fiches/ACF-05.fr.md +32 -0
  16. package/content/fiches/ACF-06.en.md +32 -0
  17. package/content/fiches/ACF-06.fr.md +32 -0
  18. package/content/fiches/ACF-07.en.md +32 -0
  19. package/content/fiches/ACF-07.fr.md +32 -0
  20. package/content/fiches/ACF-08.en.md +32 -0
  21. package/content/fiches/ACF-08.fr.md +32 -0
  22. package/content/fiches/ACF-09.en.md +32 -0
  23. package/content/fiches/ACF-09.fr.md +32 -0
  24. package/content/fiches/ACF-10.en.md +32 -0
  25. package/content/fiches/ACF-10.fr.md +32 -0
  26. package/content/fiches/ACF-11.en.md +32 -0
  27. package/content/fiches/ACF-11.fr.md +32 -0
  28. package/content/fiches/ACF-12.en.md +32 -0
  29. package/content/fiches/ACF-12.fr.md +32 -0
  30. package/content/fiches/ACF-13.en.md +32 -0
  31. package/content/fiches/ACF-13.fr.md +32 -0
  32. package/content/fiches/ACF-14.en.md +32 -0
  33. package/content/fiches/ACF-14.fr.md +32 -0
  34. package/content/fiches/ACF-15.en.md +32 -0
  35. package/content/fiches/ACF-15.fr.md +32 -0
  36. package/content/fiches/ACF-16.en.md +32 -0
  37. package/content/fiches/ACF-16.fr.md +32 -0
  38. package/content/framework/.gitkeep +0 -0
  39. package/content/framework/autonomy-levels.json +73 -0
  40. package/content/framework/ddao.json +16 -0
  41. package/content/framework/dimensions.json +83 -0
  42. package/content/framework/principles.json +77 -0
  43. package/content/glossary/.gitkeep +0 -0
  44. package/content/glossary/en.json +96 -0
  45. package/content/glossary/fr.json +96 -0
  46. package/content/guides/.gitkeep +0 -0
  47. package/content/manual/.gitkeep +0 -0
  48. package/content/meta.json +23 -0
  49. package/content/rules/.gitkeep +0 -0
  50. package/content/rules/ai-act-annex-i.json +54 -0
  51. package/content/rules/ai-act-annex-iii.json +165 -0
  52. package/content/rules/ai-act-roles.json +52 -0
  53. package/content/rules/autonomy-inference.json +38 -0
  54. package/content/rules/criticality-matrix.json +83 -0
  55. package/content/rules/ddao-controls-mapping.json +148 -0
  56. package/content/rules/gdpr-qualification.json +58 -0
  57. package/content/rules/gpai-triggers.json +41 -0
  58. package/content/rules/rules-meta.json +5 -0
  59. package/content/rules/sign-off-matrix.json +84 -0
  60. package/content/whitepaper/.gitkeep +0 -0
  61. package/dist/index.d.ts +30 -0
  62. package/dist/index.js +2898 -0
  63. package/dist/index.js.map +1 -0
  64. package/dist/lib/rate-limit.d.ts +24 -0
  65. package/dist/lib/rate-limit.js +89 -0
  66. package/dist/lib/rate-limit.js.map +1 -0
  67. package/dist/search-index.json +1 -0
  68. package/dist/server-DxztThU5.d.ts +931 -0
  69. package/dist/transport/http.d.ts +27 -0
  70. package/dist/transport/http.js +2908 -0
  71. package/dist/transport/http.js.map +1 -0
  72. package/dist/transport/stdio.d.ts +1 -0
  73. package/dist/transport/stdio.js +2907 -0
  74. package/dist/transport/stdio.js.map +1 -0
  75. 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
@@ -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 };