Productivity
The mkinf SDK is a powerful toolkit that allows you to easily integrate MCP servers into your applications. With mkinf, you can access a growing ecosystem of specialized AI capabilities through a simple, unified interface.
Follow these steps to start using mkinf in your projects:
Sign up for a free account at hub.mkinf.io/signup.
.env
file:MKINF_API_KEY=sk-org-...
Install the mkinf SDK using pip:
pip install mkinf
For specific versions, check the PyPI repository.
Browse available AI Agents at mkinf hub and select an agent that matches your use case
Check the "Use Agent" section of your chosen repository for import instructions
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.
[!WARNING] Currently, mkinf tools are compatible with LangChain chains and graphs. Support for other frameworks like CrewAI, AutoGen, and SmolAgents is coming soon.
You can run the included Streamlit example to see mkinf in action:
uv run sync --dev
uv run example