Skip to content

XxGerardxX/MCP_Pokemon_Connection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⭐ The MCP Server ⭐

  • MCP Server: A FastAPI-based server that exposes PokeAPI data as standardized MCP tools.
  • MCP Client: A FastAPI service running that coordinates between the user, the Google Gemini LLM, and the MCP tools.
  • PokeRepository: A central data access layer using aiohttp with persistent session management to ensure asynchronous data retrieval.
  • Models: Python Dataclass storage for Pokémon character stats, abilities, moves, and Berry data.

. Clone the repository: bash git clone https://github.com/XxGerardxX/Endeavour_Pokemon_API.git cd Endeavour_Pokemon_API

  1. Install dependencies:

    pip install -r requirements.txt
  2. Set up Environment Variables:

    • Create a file named .env in the root directory.
    • Add your Gemini API key:
      GEMINI_API_KEY=your_actual_key_here
      

Start both the MCP server and the MCP client. From there go to http://localhost:8001/docs#/ and fill in the text in the message area.

About

Creating and Testing an MCP database connection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages