|
361 | 361 | │ │ ├── validation-engine.ts |
362 | 362 | │ │ ├── agent-validator.ts |
363 | 363 | │ │ ├── skill-validator.ts |
364 | | -│ │ ├── mcp-validator.ts |
365 | 364 | │ │ └── manifest-validator.ts |
366 | 365 | │ ├── namespace/ |
367 | 366 | │ │ ├── namespace-manager.ts |
|
376 | 375 | ├── schemas/ # Zod schemas |
377 | 376 | │ ├── agent.schema.ts |
378 | 377 | │ ├── skill.schema.ts |
379 | | -│ ├── mcp.schema.ts |
380 | 378 | │ ├── manifest.schema.ts |
381 | 379 | │ └── lockfile.schema.ts |
382 | 380 | │ |
@@ -509,11 +507,6 @@ export class DiscoveryEngine { |
509 | 507 | */ |
510 | 508 | private async discoverSkills(path: string): Promise<ConfigEntry[]> |
511 | 509 |
|
512 | | - /** |
513 | | - * Discover MCP servers (.json/.yaml in mcp/) |
514 | | - */ |
515 | | - private async discoverMCP(path: string): Promise<ConfigEntry[]> |
516 | | - |
517 | 510 | /** |
518 | 511 | * Parse and merge with manifest if present |
519 | 512 | */ |
@@ -860,15 +853,15 @@ function matchTags(configTags: string[], filterTags: string[]): boolean { |
860 | 853 | */ |
861 | 854 | export interface ConfigEntry { |
862 | 855 | path: string // Relative path in repo |
863 | | - type: ConfigType // agent | skill | mcp |
| 856 | + type: ConfigType // agent | skill |
864 | 857 | name: string // Derived from filename/directory |
865 | 858 | hash: string // SHA-256 hash of content |
866 | 859 | tags: string[] // Associated tags |
867 | 860 | content?: string // Actual file content |
868 | 861 | syncedAt?: string // ISO timestamp |
869 | 862 | } |
870 | 863 |
|
871 | | -export type ConfigType = 'agent' | 'skill' | 'mcp' |
| 864 | +export type ConfigType = 'agent' | 'skill' |
872 | 865 |
|
873 | 866 | /** |
874 | 867 | * Lockfile structure |
@@ -965,35 +958,6 @@ export const SkillFrontmatterSchema = z.object({ |
965 | 958 | compatibility: z.string().optional(), |
966 | 959 | metadata: z.record(z.string()).optional() |
967 | 960 | }) |
968 | | - |
969 | | -/** |
970 | | - * MCP local server schema |
971 | | - */ |
972 | | -export const MCPLocalSchema = z.object({ |
973 | | - type: z.literal('local'), |
974 | | - command: z.array(z.string()), |
975 | | - environment: z.record(z.string()).optional(), |
976 | | - enabled: z.boolean().optional(), |
977 | | - timeout: z.number().optional() |
978 | | -}) |
979 | | - |
980 | | -/** |
981 | | - * MCP remote server schema |
982 | | - */ |
983 | | -export const MCPRemoteSchema = z.object({ |
984 | | - type: z.literal('remote'), |
985 | | - url: z.string().url(), |
986 | | - enabled: z.boolean().optional(), |
987 | | - headers: z.record(z.string()).optional(), |
988 | | - oauth: z.union([z.boolean(), z.object({ |
989 | | - clientId: z.string().optional(), |
990 | | - clientSecret: z.string().optional(), |
991 | | - scope: z.string().optional() |
992 | | - })]).optional(), |
993 | | - timeout: z.number().optional() |
994 | | -}) |
995 | | - |
996 | | -export const MCPSchema = z.union([MCPLocalSchema, MCPRemoteSchema]) |
997 | 961 | ``` |
998 | 962 |
|
999 | 963 | --- |
@@ -1183,8 +1147,7 @@ describe('Init and Sync Integration', () => { |
1183 | 1147 | beforeEach(async () => { |
1184 | 1148 | testRepo = await createTestRepository({ |
1185 | 1149 | agents: ['frontend-dev.md', 'backend-api.md'], |
1186 | | - skills: ['git-release/SKILL.md'], |
1187 | | - mcp: ['jira.json'] |
| 1150 | + skills: ['git-release/SKILL.md'] |
1188 | 1151 | }) |
1189 | 1152 | tempDir = await createTempDir() |
1190 | 1153 | }) |
|
0 commit comments