Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed examples/anyagent/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions examples/anyagent/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Example demonstrating mcpd SDK integration with AnyAgent framework."""

import os

import requests
Expand Down
Empty file removed examples/manual/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions examples/manual/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Example demonstrating manual tool execution with mcpd SDK."""

import json
import os

Expand Down
Empty file removed examples/pydantic-ai/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions examples/pydantic-ai/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Example demonstrating mcpd SDK integration with Pydantic AI framework."""

import os

import requests
Expand Down
11 changes: 8 additions & 3 deletions examples/readme_maker/readme_maker.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Example demonstrating README generation using mcpd SDK with AI agents."""

from dotenv import load_dotenv
from mcpd import McpdClient
from pydantic_ai import Agent
Expand All @@ -21,7 +23,8 @@
)

input_repo_readme = input(
"(Optional) Enter the GitHub repository (in the format owner/repo-name) to use its README as a template (press Enter to let the LLM define the structure): "
"(Optional) Enter the GitHub repository (in the format owner/repo-name) to use its README "
"as a template (press Enter to let the LLM define the structure): "
)

prompt = f"""
Expand Down Expand Up @@ -62,8 +65,10 @@
When providing code snippets for this task, follow the guidelines for code modifications:

- Always specify the language and file name in the info string of code blocks (e.g., python src/main.py).
- For code modifications, use concise snippets that highlight the necessary changes, with abbreviated placeholders for unmodified sections.
- When editing existing files, restate the relevant function or class and use 'lazy' comments to omit unmodified portions.
- For code modifications, use concise snippets that highlight the necessary changes, with abbreviated
placeholders for unmodified sections.
- When editing existing files, restate the relevant function or class and use 'lazy' comments to omit
unmodified portions.

Please provide a concise explanation of the changes made unless explicitly asked for code only
"""
Expand Down