import os
from fastlanepy import SolanaAgentKit
from fastlanepy.mcp.mcp_server import start_mcp_server, ALL_ACTIONS
def main():
agent = SolanaAgentKit(
private_key=os.getenv("SOLANA_PRIVATE_KEY"),
rpc_url=os.getenv("RPC_URL"),
)
# Use all available actions or specify a subset
selected_actions = ALL_ACTIONS
start_mcp_server(agent, selected_actions)
if __name__ == "__main__":
main()
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/FastlanePython/fastlanepy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server