agentic_actions_mcp
## Agentic Actions
- A Python implementation of agentic actions for the MCP protocol.
## HOW TO USE THIS MCP PACKAGE?
# EXAMPLE:
```
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain.agents import create_agent
import asyncio
import os
async def main():
client = MultiServerMCPClient(
{
"agentic_actions_mcp": {
"transport": "stdio",
"command": "uvx",
"args": ["agentic_terminal"]
}
}
)
tools = await client.get_tools()
print("\nAvailable tools:")
for tool in tools:
print(tool.name)
agent = create_agent(
model="ollama:llama3.2:latest",
tools=tools,
system_prompt='''
You are a helpful assistant.
You have access to the tools that helps you to perform various File IO operations.
you can manage files, read and write data, and perform other file-related tasks.
''',
)
response = await agent.ainvoke(
{"messages": [
{
"role": "user",
"content": "hii, what can you do for me?"
}
]}
)
print("\n\nResponse:")
print(response["messages"][-1].content)
if __name__ == "__main__":
asyncio.run(main())
```
TDQS
Scored across 9 tools
Each tool has a distinct purpose: python_code, bash, and python_file are clearly separated by execution type; glob and grep handle search; read_file and write_file handle file I/O; create_folder and delete_folder handle directory operations. The descriptions make these boundaries explicit, so an agent can reliably disambiguate.
The tool names mix conventions: some are bare commands (bash, glob, grep), some are noun phrases (python_code, python_file), and some follow a verb_noun pattern (read_file, write_file, create_folder, delete_folder). While all use lowercase with underscores, the inconsistency in structure makes the set less predictable.
The server has 9 tools, which is a well-scoped size for a development utility. Each tool covers a separate need—execution, search, reading/writing files, and folder management—without unnecessary overlap or bloat.
The toolset provides execution, search, read/write, and folder lifecycle operations, but it lacks a delete_file tool. This is a notable gap: users can create and modify files but cannot remove them, which creates a dead end for file management workflows.