England hope that a week's gap between the first and second Ashes Tests will enable their bowling attack time to recover ahead of back-to-back fixtures at Lord's and Headingley, following a heavy workload at Edgbaston this week.
"I told Mo to tell me if his finger was sore, and I'd sensed that it was even before that," Stokes said. "For him to come back into his first Test match and operate in the way that he did and really put himself through the pain barrier for the team [was great].
"You could see what it meant to him going out to play for England again with a huge smile on his face. I selected him for his match-winning moments. He had a few of them with the ball and nearly got us over the line... [The break] gives Mo a good chance for his finger to heal up."
Speaking before play started on Tuesday, Anderson admitted to Sky Sports that he was "still searching for a bit of rhythm" on his return from a groin niggle that kept him out for over a month, including England's 10-wicket win over Ireland.
"It's been difficult," Anderson added. "I feel like I do need a bit of game time to get back into it and it has been five-six weeks since I last played. I feel like I've bowled OK but I definitely feel like there's more there."
Stokes himself bowled seven overs in each innings and took two vital wickets, trapping Steven Smith lbw in the first innings and inducing a chop-on from Usman Khawaja in the second with a leg cutter. He hardly celebrated Khawaja's dismissal - "I was absolutely flying on caffeine," he explained - but said he saw his bowling workload as "a massive boost".
"I've put my body through more than it's actually been through over the last year, which is obviously great signs for myself and another confidence boost for me," Stokes said. "Getting through that, knowing we've still got four games coming up has given me a massive boost.
"I can't remember the last time I've sort of been able to continually bowl. I was just really happy that I was able to get a good long spell in, and I just love being in that situation. I love bowling long spells, especially when the game's on the line."
He explained that he had tried to "keep myself pretty level" after dismissing Khawaja, explaining that the match "wasn't done". Stokes said: "If you looked back two or three ago, it would have been a big celebration and all that kind of stuff.
"I just sort of sensed that was my time in the game to get myself on. It was obviously a big wicket to get, but the game wasn't done and I just had to try really hard to keep myself level - because I was flying high on caffeine."