PhotoPrism MCP Server for AutoGenGive AutoGen instant access to 7 tools to Create Oauth Token, Get Oauth Authorize, Get Oauth Userinfo, and more
Microsoft AutoGen enables multi-agent conversations where agents negotiate, delegate, and execute tasks collaboratively. Add PhotoPrism as an MCP tool provider through Vinkius and every agent in the group can access live data and take action.
Ask AI about this MCP Server for AutoGen
The PhotoPrism MCP Server for AutoGen is a standout in the Productivity category — giving your AI agent 7 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from autogen_agentchat.agents import AssistantAgent
from autogen_ext.tools.mcp import McpWorkbench
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
async with McpWorkbench(
server_params={"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"},
transport="streamable_http",
) as workbench:
tools = await workbench.list_tools()
agent = AssistantAgent(
name="photoprism_agent",
tools=tools,
system_message=(
"You help users with PhotoPrism. "
"7 tools available."
),
)
print(f"Agent ready with {len(tools)} tools")
asyncio.run(main())
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About PhotoPrism MCP Server
Connect your self-hosted PhotoPrism instance to any AI agent to interact with your personal media collection through natural language.
AutoGen enables multi-agent conversations where agents negotiate, delegate, and collaboratively use PhotoPrism tools. Connect 7 tools through Vinkius and assign role-based access. a data analyst queries while a reviewer validates, with optional human-in-the-loop approval for sensitive operations.
What you can do
- Advanced Search — Query your library using keywords, colors, or dates with the
search_photostool. - Visual Previews — Generate direct URLs for thumbnails in various sizes using
get_thumbnail_url. - Video Streaming — Access streaming links for your stored videos with
get_video_url. - OAuth Management — Handle authentication tokens and user information securely with
create_oauth_tokenandget_oauth_userinfo.
The PhotoPrism MCP Server exposes 7 tools through the Vinkius. Connect it to AutoGen in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 7 PhotoPrism tools available for AutoGen
When AutoGen connects to PhotoPrism through Vinkius, your AI agent gets direct access to every tool listed below — spanning media-management, photo-library, metadata-search, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Create oauth token on PhotoPrism
Create an OAuth2 token
Get oauth authorize on PhotoPrism
Get OAuth2 Authorization
Get oauth userinfo on PhotoPrism
Get OAuth2 UserInfo
Get thumbnail url on PhotoPrism
Get a thumbnail image URL for a photo
Get video url on PhotoPrism
Get a video streaming URL
Revoke oauth token on PhotoPrism
Revoke an OAuth2 token
Search photos on PhotoPrism
Search for photos in PhotoPrism
Connect PhotoPrism to AutoGen via MCP
Follow these steps to wire PhotoPrism into AutoGen. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install AutoGen
pip install "autogen-ext[mcp]"Replace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenIntegrate into workflow
Explore tools
Why Use AutoGen with the PhotoPrism MCP Server
AutoGen provides unique advantages when paired with PhotoPrism through the Model Context Protocol.
Multi-agent conversations: multiple AutoGen agents discuss, delegate, and collaboratively use PhotoPrism tools to solve complex tasks
Role-based architecture lets you assign PhotoPrism tool access to specific agents. a data analyst queries while a reviewer validates
Human-in-the-loop support: agents can pause for human approval before executing sensitive PhotoPrism tool calls
Code execution sandbox: AutoGen agents can write and run code that processes PhotoPrism tool responses in an isolated environment
PhotoPrism + AutoGen Use Cases
Practical scenarios where AutoGen combined with the PhotoPrism MCP Server delivers measurable value.
Collaborative analysis: one agent queries PhotoPrism while another validates results and a third generates the final report
Automated review pipelines: a researcher agent fetches data from PhotoPrism, a critic agent evaluates quality, and a writer produces the output
Interactive planning: agents negotiate task allocation using PhotoPrism data to make informed decisions about resource distribution
Code generation with live data: an AutoGen coder agent writes scripts that process PhotoPrism responses in a sandboxed execution environment
Example Prompts for PhotoPrism in AutoGen
Ready-to-use prompts you can give your AutoGen agent to start working with PhotoPrism immediately.
"Search for photos of 'mountains' taken in 2023."
"Get a high-resolution thumbnail for the photo with hash 7af8b9c0."
"Show me my PhotoPrism account information."
Troubleshooting PhotoPrism MCP Server with AutoGen
Common issues when connecting PhotoPrism to AutoGen through Vinkius, and how to resolve them.
McpWorkbench not found
pip install "autogen-ext[mcp]"PhotoPrism + AutoGen FAQ
Common questions about integrating PhotoPrism MCP Server with AutoGen.
How does AutoGen connect to MCP servers?
Can different agents have different MCP tool access?
Does AutoGen support human approval for tool calls?
Explore More MCP Servers
View all →
Bilibili Live
10 toolsAutomate VTuber interaction parsing via Bilibili Live — monitor super-chats, extract danmaku streams, and manage host rooms natively from any AI agent.

Censys
9 toolsSearch internet-connected hosts, SSL certificates and attack surface — discover exposed services and vulnerabilities.

Omie ERP
16 toolsManage your Omie ERP data via API — list clients, products, sales orders, financial accounts, and inventory directly from any AI agent.

Coder (Remote Dev)
84 toolsManage Coder remote development environments, monitor deployment stats, and interact with AI Bridge sessions directly from your AI agent.
