# Smithery.ai configuration
name: docs-fetcher-mcp
description: MCP server that fetches library documentation
version: 1.0.0
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
properties:
cacheDirectory:
type: string
description: Directory to store cached documentation (optional)
required: []
commandFunction: |-
(config) => {
const env = {};
if (config.cacheDirectory) {
env.CACHE_DIR = config.cacheDirectory;
}
return {
command: 'node',
args: ['build/index.js'],
env
};
}