config server

In MongoDB sharded deployments, config servers store the metadata of a sharded cluster. The metadata includes the mapping of the data in the sharded cluster to the shard that holds that data. Query routers (mongos) use the metadata in a config server for targeting operations to the shards that contain the data relevant to the operation.