import { type XmcpConfig } from "xmcp";
const config: XmcpConfig = {
// http: {
// cors: {
// origin: "*",
// methods: ["GET", "POST"],
// allowedHeaders: [
// "Content-Type",
// "Authorization",
// "mcp-session-id",
// "mcp-protocol-version",
// ],
// exposedHeaders: ["Content-Type", "Authorization", "mcp-session-id"],
// credentials: false,
// maxAge: 86400,
// },
// port: 3001,
// host: "127.0.0.1",
// endpoint: "/mcp",
// bodySizeLimit: 10, // 10 MB
// debug: false
// },
http: true,
paths: {
tools: "./src/tools",
prompts: "./src/prompts",
// prompts: false,
resources: "./src/resources",
// resources: false
}
};
export default config;