We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zouyingcao/agentskills-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
test_load_skill_metadata_op.py•671 B
"""Simple integration test for the LoadSkillMetadataOp operator."""
import sys
import asyncio
from mcp_agentskills import AgentSkillsMcpApp
from mcp_agentskills.core.tools import LoadSkillMetadataOp
async def main(skill_dir: str):
"""Execute the load_skill_metadata operation given a skill directory."""
async with AgentSkillsMcpApp(
f"metadata.skill_dir={skill_dir}",
):
op = LoadSkillMetadataOp()
await op.async_call()
print(op.output)
if __name__ == "__main__":
if len(sys.argv) != 2:
print("Usage: test_load_skill_metadata_op.py [skills directory]")
sys.exit(1)
asyncio.run(main(sys.argv[1]))