File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 "command" : " npx" ,
55 "args" : [" api-docs-mcp" ],
66 "env" : {
7- "MCP_API_SOURCES " : " [{\" name\" :\" GitHub\" ,\" type\" :\" gql\" ,\" url\" :\" https://docs.github.com/public/fpt/schema.docs.graphql\" }]"
7+ "API_SOURCES " : " [{\" name\" :\" GitHub\" ,\" type\" :\" gql\" ,\" url\" :\" https://docs.github.com/public/fpt/schema.docs.graphql\" }]"
88 }
99 }
1010 }
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ import { SchemaSource } from "src/utils/source";
22
33export const loadConfig = ( ) : { sources : SchemaSource [ ] } => {
44 try {
5- return { sources : JSON . parse ( process . env . MCP_API_SOURCES as string ) } ;
5+ return { sources : JSON . parse ( process . env . API_SOURCES as string ) } ;
66 } catch ( error ) {
7- throw new Error ( `Failed to parse MCP_API_SOURCES : ${ error } ` ) ;
7+ throw new Error ( `Failed to parse API_SOURCES : ${ error } ` ) ;
88 }
99}
You can’t perform that action at this time.
0 commit comments