Skip to main content

Agent documentation

Explore the CV and publications with an agent

Explore the CV and publications with MCP or A2A. Ready-to-use Python and TypeScript examples.

View examples

Share this documentation

Share these MCP and A2A examples on social media or copy the link.

Your first request

Discover the shared card: it describes both CV and publication skills. Use a specialized card to explore a single catalogue.

  1. Choose a catalogue: cv or publications.
  2. Save a Python or TypeScript example using the filename shown.
  3. Run the matching command: the examples search the CV for Azure and publications for NLP.

Current server : https://mteprojet.fr. Endpoints and examples use the server on which this page is open.

Cards and endpoints

Each card describes the available skills and the URL of its A2A interface.

Shared card : https://mteprojet.fr/.well-known/agent-card.jsonThe /api/agents/portfolio/a2a interface searches both catalogues. Results include their public sources.

Python and TypeScript examples

MCP discovers and calls named tools. A2A receives a message and returns matching public entries.

Python MCP uses FastMCP; TypeScript MCP uses the official MCP SDK. A2A examples use Strands through a dedicated A2A 0.3 compatibility interface, separate from the A2A 1.0 endpoints listed above. No local model or API key is required.

Python 3.11 or newer, in a virtual environment. Install the dependencies listed below. Save the code as mcp_demo.py.

MCP prints tools and search results. A2A prints titles and source links. An empty list means no entries match the search.

Understanding messages

FieldUsage
jsonrpc / idVersion 2.0 and a request identifier used to match the response.
tools/callMCP: the tool name and its query and limit arguments.
SendMessageA2A: a ROLE_USER message with one data or text part.
sourcePublic entry URL for verifying the result.
View a syntax-highlighted JSON example

Public access and administration

Public interfaces are read-only and expose published content only. Do not send administrator credentials to run these examples.

Creation, editing and editorial assistance require an administrator login. Review and explicitly apply assistant suggestions in the form; suggestions do not automatically publish content. Never share credentials, session cookies or keys in public requests.

Using public data

These interfaces provide access to published content. The examples do not require an API key. They do not grant permission to modify data.

Send only public search terms. Check the sources before reusing a result.

If a request fails, check the endpoint, JSON format and arguments. If the service asks you to wait, follow the delay indicated by Retry-After.