P

mkinf

...
Created 1/22/2025bymkinf-io

Categories

aillmmcpmodelcontextprotocolpythonsdk

Language:

Python

Stars:

50

Forks:

3

mkinf python SDK

Prerequisites

  • Python 3.9 or higher installed
  • Basic understanding of Python and LLM programming

1. Create a mkinf Account

Sign up for a free account at hub.mkinf.io/signup. During the beta period, all accounts receive unlimited free credits

2. Configure Your API Key

  1. Go to API Keys settings
  2. Create an organization if you haven't already
  3. Generate and copy your API key
  4. Add the key to your project's .env file:
MKINF_API_KEY=sk-org-...

3. Install the SDK

Install the mkinf SDK using pip:

pip install mkinf

For specific versions, check the PyPI repository.

4. Find an AI Agent

Browse available AI Agents at mkinf hub and select an agent that matches your use case

image

5. Import and Use the Agent

Check the "Use Agent" section of your chosen repository for import instructions

image

Import the agent into your code

from mkinf import hub as mh

tools = mh.pull(
    ["ScrapeGraphAI/scrapegraphai"],
    env={
        "SCRAPEGRAPH_LLM_MODEL": "openai/gpt-4o-mini",
        "SCRAPEGRAPH_LLM_API_KEY": os.getenv("OPENAI_API_KEY")
    }
)

[!NOTE] Remember to configure any required environment variables specified in the agent's documentation.

Current Limitations

[!WARNING] Currently, mkinf tools are compatible with LangChain chains and graphs. Support for other frameworks like CrewAI, AutoGen, and SmolAgents is coming soon.

Last updated: 3/17/2025

Publisher info

mkinf-io's avatar

Streamline deployment of AI agents

15
followers
0
following
6
repos

More MCP servers built with Python

MCP Server for Bing Webmaster Tools

An MCP (Model Context Protocol) server that provides access to Bing Webmaster Tools functionality

By isiahw1
usgs-water-mcp

This MCP server provides access to real-time water data from the USGS Water Services API. It allows you to fetch instantaneous water measurements including stream flow, gage height, temperature, and other water quality parameters from thousands of monitoring stations across the United States.

By pgiffy
screeny

Privacy-focused macOS MCP server for secure, user-approved window screenshots

By rohanrav